Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/usr/share/geni-ch/chapi should be owned by root #2

Closed
ahelsing opened this issue May 20, 2015 · 2 comments
Closed

/usr/share/geni-ch/chapi should be owned by root #2

ahelsing opened this issue May 20, 2015 · 2 comments
Assignees
Milestone

Comments

@ahelsing
Copy link
Member

The install_chapi script installs /usr/share/geni-ch/chapi and its contents as owned by whatever user ran the script. This should instead be owned by root --- nothing centrally installed should depend on a particular Unix user.

Imported from trac ticket #2, created by chaos on 11-07-2013 at 11:35, last modified: 11-08-2013 at 14:37

@ahelsing ahelsing added this to the 1.0 milestone May 20, 2015
@ahelsing
Copy link
Member Author

I believe this is installed by making and unpacking a tarball. If that's true, and assuming root unpacks the tarball, this may be as simple as running the tar extract with the o flag:

       -o, --no-same-owner
              do not attempt to restore ownership when extracting; -o exhibits
              this behavior when extracting an archive

Trac comment by chaos on 11-07-2013 at 11:36

@tcmitchell
Copy link
Member

Added the '-o' option to tar on both the chapi and abac extractions.

Trac comment by tmitchel (github user: tcmitchell) on 11-08-2013 at 14:37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants