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 cassandra 86 Aug 30 10:46 cassandra
[After]
drwxr-xr-x 3 root root 86 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 cassandra 4096 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 root 4096 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 <[email protected]>
Date: 2017-08-29T05:20:52Z
chenge owner to
root
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]