You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2010/02/22 23:56:28 UTC
[jira] Created: (TS-202) make install should install config files
as the same user as "runtime" will write them back as
make install should install config files as the same user as "runtime" will write them back as
----------------------------------------------------------------------------------------------
Key: TS-202
URL: https://issues.apache.org/jira/browse/TS-202
Project: Traffic Server
Issue Type: Bug
Reporter: Leif Hedstrom
Priority: Minor
Fix For: 2.0.0a
When doing a make install, it's confusing that the ownership of the config files are "root", while after running, they get rewritten as the "runtime" user (nobody by default). We should make sure install sets the owner properly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TS-202) make install should install config files
as the same user as "runtime" will write them back as
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837028#action_12837028 ]
Leif Hedstrom commented on TS-202:
----------------------------------
If there's no obvious of doing it via the "install" optoins, then the proposed patch seems good.
> make install should install config files as the same user as "runtime" will write them back as
> ----------------------------------------------------------------------------------------------
>
> Key: TS-202
> URL: https://issues.apache.org/jira/browse/TS-202
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Leif Hedstrom
> Assignee: George Paul
> Priority: Minor
> Fix For: 2.0.0a
>
> Attachments: 0001-TS202_patch1.diff.patch
>
>
> When doing a make install, it's confusing that the ownership of the config files are "root", while after running, they get rewritten as the "runtime" user (nobody by default). We should make sure install sets the owner properly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (TS-202) make install should install config files
as the same user as "runtime" will write them back as
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom reassigned TS-202:
--------------------------------
Assignee: George Paul
> make install should install config files as the same user as "runtime" will write them back as
> ----------------------------------------------------------------------------------------------
>
> Key: TS-202
> URL: https://issues.apache.org/jira/browse/TS-202
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Leif Hedstrom
> Assignee: George Paul
> Priority: Minor
> Fix For: 2.0.0a
>
>
> When doing a make install, it's confusing that the ownership of the config files are "root", while after running, they get rewritten as the "runtime" user (nobody by default). We should make sure install sets the owner properly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TS-202) make install should install config files
as the same user as "runtime" will write them back as
Posted by "George Paul (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Paul updated TS-202:
---------------------------
Attachment: 0001-TS202_patch1.diff.patch
This patch '0001-TS202_patch1.diff.patch' fixes the ownership permissions for the config files, etc.
-George
> make install should install config files as the same user as "runtime" will write them back as
> ----------------------------------------------------------------------------------------------
>
> Key: TS-202
> URL: https://issues.apache.org/jira/browse/TS-202
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Leif Hedstrom
> Assignee: George Paul
> Priority: Minor
> Fix For: 2.0.0a
>
> Attachments: 0001-TS202_patch1.diff.patch
>
>
> When doing a make install, it's confusing that the ownership of the config files are "root", while after running, they get rewritten as the "runtime" user (nobody by default). We should make sure install sets the owner properly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TS-202) make install should install config files
as the same user as "runtime" will write them back as
Posted by "George Paul (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Paul resolved TS-202.
----------------------------
Resolution: Fixed
> make install should install config files as the same user as "runtime" will write them back as
> ----------------------------------------------------------------------------------------------
>
> Key: TS-202
> URL: https://issues.apache.org/jira/browse/TS-202
> Project: Traffic Server
> Issue Type: Bug
> Components: Build
> Affects Versions: 2.0.0a
> Reporter: Leif Hedstrom
> Assignee: George Paul
> Priority: Minor
> Fix For: 2.0.0a
>
> Attachments: 0001-TS202_patch1.diff.patch
>
>
> When doing a make install, it's confusing that the ownership of the config files are "root", while after running, they get rewritten as the "runtime" user (nobody by default). We should make sure install sets the owner properly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TS-202) make install should install config files
as the same user as "runtime" will write them back as
Posted by "George Paul (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Paul updated TS-202:
---------------------------
Component/s: Build
Affects Version/s: 2.0.0a
> make install should install config files as the same user as "runtime" will write them back as
> ----------------------------------------------------------------------------------------------
>
> Key: TS-202
> URL: https://issues.apache.org/jira/browse/TS-202
> Project: Traffic Server
> Issue Type: Bug
> Components: Build
> Affects Versions: 2.0.0a
> Reporter: Leif Hedstrom
> Assignee: George Paul
> Priority: Minor
> Fix For: 2.0.0a
>
> Attachments: 0001-TS202_patch1.diff.patch
>
>
> When doing a make install, it's confusing that the ownership of the config files are "root", while after running, they get rewritten as the "runtime" user (nobody by default). We should make sure install sets the owner properly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TS-202) make install should install config files
as the same user as "runtime" will write them back as
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837024#action_12837024 ]
Leif Hedstrom commented on TS-202:
----------------------------------
hmmm, it feels that there ought to be an "install" argument specifying user, e.g. it ought to do
/usr/bin/install -c -o nobody -g nobody -m 644 'remap.config' '/opt/ats/etc/trafficserver/remap.config'
Is there no way to specify this to autoconf/automake?
> make install should install config files as the same user as "runtime" will write them back as
> ----------------------------------------------------------------------------------------------
>
> Key: TS-202
> URL: https://issues.apache.org/jira/browse/TS-202
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Leif Hedstrom
> Assignee: George Paul
> Priority: Minor
> Fix For: 2.0.0a
>
> Attachments: 0001-TS202_patch1.diff.patch
>
>
> When doing a make install, it's confusing that the ownership of the config files are "root", while after running, they get rewritten as the "runtime" user (nobody by default). We should make sure install sets the owner properly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.