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

Warning message about fixing "sensitive directory" permissions to 775 is erroneous #19

Closed
ericfranz opened this issue Aug 29, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@ericfranz
Copy link
Contributor

The directories for the shiny admin app are (mostly) correctly setup:

irb(main):003:0> Pathname.new("/users/PAS1203/bmiadmin/awesim/share").stat.mode.to_s(8)
=> "42775"
irb(main):004:0> Pathname.new("/users/PAS1203/bmiadmin/awesim").stat.mode.to_s(8)
=> "40775"
irb(main):005:0> Pathname.new("/users/PAS1203/bmiadmin").stat.mode.to_s(8)
=> "40775"

The bug: chmod 2775 /users/PAS1203/bmiadmin/awesim/share is necessary to ensure that files created under that directory have the correct group. chmod 775 would break that

Also: it is only necessary that the admin users have write permissions on /users/PAS1203/bmiadmin/awesim and /users/PAS1203/bmiadmin (i.e. 755 would be good enough) where-as /users/PAS1203/bmiadmin/awesim/share must be 2775.

@ericfranz ericfranz added the bug Something isn't working label Aug 29, 2018
@MorganRodgers MorganRodgers mentioned this issue Sep 4, 2018
@MorganRodgers
Copy link
Contributor

Added in #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants