[JIRA] Commented: (SSPCPP-353) Package the SP to run as non-root user
Kaspar Brand (JIRA)
noreply at shibboleth.net
Tue Aug 16 15:32:25 BST 2011
[ https://issues.shibboleth.net/jira/browse/SSPCPP-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485#comment-13485 ]
Kaspar Brand commented on SSPCPP-353:
-------------------------------------
Do you mean the permissions of the directories themselves (/var/log/shibboleth, /var/run/shibboleth), or the files contained therein? For the first case, %attr for the respective %dir should be sufficient; for the latter, perhaps some fiddling could be done in the init script? Or does SUSE disallow that, too?
> Package the SP to run as non-root user
> --------------------------------------
>
> Key: SSPCPP-353
> URL: https://issues.shibboleth.net/jira/browse/SSPCPP-353
> Project: Shibboleth SP - C++
> Issue Type: Improvement
> Components: Installation
> Affects Versions: 2.4, 2.4.1, 2.4.2, 2.4.3
> Environment: CentOS 5.5 / Shibboleth 2.3.1 from openSUSE repos
> Reporter: Takeshi NISHIMURA
> Assignee: Scott Cantor
> Priority: Minor
> Attachments: shibd-runuser.diff
>
> Original Estimate: 1 week
> Remaining Estimate: 1 week
>
> Updating Shibboleth SP by "yum update" changes owner:group and permissions of /var/{run,log}/shibboleth to the default (root:root and rwxrwxr-x) even if they already exist. Please preserve these permissions on updates if they already exist.
> I am running shibd with user "shibboleth".
> I am using those directories with following permissions:
> rwxrwxr-x root:shibboleth /var/log/shibboleth
> rwxrwxr-x root:shibboleth /var/run/shibboleth
> , and had troubles on every recent updates.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list