[jira] [Commented] (CASSANDRA-13782) Cassandra RPM has wrong owner for /usr/share directories
[ https://issues.apache.org/jira/browse/CASSANDRA-13782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156678#comment-16156678 ] ASF GitHub Bot commented on CASSANDRA-13782: Github user spodkowinski commented on the issue: https://github.com/apache/cassandra/pull/144 PR has been merged, thank you! > Cassandra RPM has wrong owner for /usr/share directories > > > Key: CASSANDRA-13782 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13782 > Project: Cassandra > Issue Type: Sub-task > Components: Packaging >Reporter: Hannu Kröger >Assignee: Sasatani Takenobu > Labels: lhf > Fix For: 2.2.11, 3.0.15, 3.11.1, 4.0, 2.1.19 > > > Some Cassandra RPM directories are owned by cassandra user against the fedora > package guidelines. > Offending lines: > https://github.com/apache/cassandra/blob/trunk/redhat/cassandra.spec#L135-L136 > "Permissions on files MUST be set properly. Inside of /usr, files should be > owned by root:root unless a more specific user or group is needed for > security." > - > https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#File_Permissions -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-13782) Cassandra RPM has wrong owner for /usr/share directories
[ https://issues.apache.org/jira/browse/CASSANDRA-13782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156675#comment-16156675 ] ASF GitHub Bot commented on CASSANDRA-13782: Github user asfgit closed the pull request at: https://github.com/apache/cassandra/pull/144 > Cassandra RPM has wrong owner for /usr/share directories > > > Key: CASSANDRA-13782 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13782 > Project: Cassandra > Issue Type: Sub-task > Components: Packaging >Reporter: Hannu Kröger >Assignee: Sasatani Takenobu > Labels: lhf > > Some Cassandra RPM directories are owned by cassandra user against the fedora > package guidelines. > Offending lines: > https://github.com/apache/cassandra/blob/trunk/redhat/cassandra.spec#L135-L136 > "Permissions on files MUST be set properly. Inside of /usr, files should be > owned by root:root unless a more specific user or group is needed for > security." > - > https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#File_Permissions -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-13782) Cassandra RPM has wrong owner for /usr/share directories
[ https://issues.apache.org/jira/browse/CASSANDRA-13782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16155445#comment-16155445 ] Michael Shuler commented on CASSANDRA-13782: Yes, for packaging related fixes like this permissions one, we should push to all active branches. {{9369db1dfd}} looks like it was committed to the {{cassandra-2.2+}} branches, so I backported those to 2.1. There may be version-specific packaging commits, but generally, yes. > Cassandra RPM has wrong owner for /usr/share directories > > > Key: CASSANDRA-13782 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13782 > Project: Cassandra > Issue Type: Sub-task > Components: Packaging >Reporter: Hannu Kröger >Assignee: Sasatani Takenobu > Labels: lhf > > Some Cassandra RPM directories are owned by cassandra user against the fedora > package guidelines. > Offending lines: > https://github.com/apache/cassandra/blob/trunk/redhat/cassandra.spec#L135-L136 > "Permissions on files MUST be set properly. Inside of /usr, files should be > owned by root:root unless a more specific user or group is needed for > security." > - > https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#File_Permissions -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-13782) Cassandra RPM has wrong owner for /usr/share directories
[ https://issues.apache.org/jira/browse/CASSANDRA-13782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16155419#comment-16155419 ] Stefan Podkowinski commented on CASSANDRA-13782: [~mshuler], looking at 9369db1dfd I assume we should commit any packaging related changes to all active branches, regardless if critical or not. > Cassandra RPM has wrong owner for /usr/share directories > > > Key: CASSANDRA-13782 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13782 > Project: Cassandra > Issue Type: Sub-task > Components: Packaging >Reporter: Hannu Kröger >Assignee: Sasatani Takenobu > Labels: lhf > > Some Cassandra RPM directories are owned by cassandra user against the fedora > package guidelines. > Offending lines: > https://github.com/apache/cassandra/blob/trunk/redhat/cassandra.spec#L135-L136 > "Permissions on files MUST be set properly. Inside of /usr, files should be > owned by root:root unless a more specific user or group is needed for > security." > - > https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#File_Permissions -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-13782) Cassandra RPM has wrong owner for /usr/share directories
[ https://issues.apache.org/jira/browse/CASSANDRA-13782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16146499#comment-16146499 ] ASF GitHub Bot commented on CASSANDRA-13782: GitHub user sasayabaku opened a pull request: https://github.com/apache/cassandra/pull/144 [CASSANDRA-13782] RPM has wrong owner for /usr/share directories Some Cassandra RPM directories are owned by "cassandra" user against the fedora package guidelines. I changed redhat/cassandra.spec for giving the directories and files to appropriate owner. $ls -l /usr/share | grep cassandra [Before] drwxr-xr-x 3 cassandra cassandra86 Aug 30 10:46 cassandra [After] drwxr-xr-x 3 root root86 Aug 29 18:03 cassandra $ls -l /usr/share/cassandra/ [Before] -rwxr-xr-x 1 cassandra cassandra 6406219 Aug 30 10:44 apache-cassandra-4.0.jar -rwxr-xr-x 1 cassandra cassandra 742 Aug 30 10:22 cassandra.in.sh drwxr-xr-x 4 cassandra cassandra4096 Aug 30 10:46 lib -rwxr-xr-x 1 cassandra cassandra 505000 Aug 30 10:44 stress.jar [After] -rwxr-xr-x 1 root root 6405131 Aug 29 18:01 apache-cassandra-4.0.jar -rwxr-xr-x 1 root root 742 Aug 29 17:12 cassandra.in.sh drwxr-xr-x 4 root root4096 Aug 29 18:03 lib -rwxr-xr-x 1 root root 505000 Aug 29 18:01 stress.jar You can merge this pull request into a Git repository by running: $ git pull https://github.com/sasayabaku/cassandra trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cassandra/pull/144.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #144 commit 04bf41ad514860f8025030017e8682a25e2639d0 Author: sasayabaku Date: 2017-08-29T05:20:52Z chenge owner to root > Cassandra RPM has wrong owner for /usr/share directories > > > Key: CASSANDRA-13782 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13782 > Project: Cassandra > Issue Type: Sub-task > Components: Packaging >Reporter: Hannu Kröger > Labels: lhf > > Some Cassandra RPM directories are owned by cassandra user against the fedora > package guidelines. > Offending lines: > https://github.com/apache/cassandra/blob/trunk/redhat/cassandra.spec#L135-L136 > "Permissions on files MUST be set properly. Inside of /usr, files should be > owned by root:root unless a more specific user or group is needed for > security." > - > https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#File_Permissions -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org