Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

use system umask instead of hard-coding file+dir permissions #117

Open
cweiske opened this issue Dec 20, 2012 · 1 comment
Open

use system umask instead of hard-coding file+dir permissions #117

cweiske opened this issue Dec 20, 2012 · 1 comment

Comments

@cweiske
Copy link
Contributor

cweiske commented Dec 20, 2012

Pyrus often uses mkdir($foo, 0755), which is not always wanted.

In our company, we have many people using the same pyrus installation on the same machine with different users. We need 0775 as permissions.

Pyrus should either use the umask, or have a configuration option to modify.

@phaidros7
Copy link

I agree, explicit 0755 prevents ACLs from working: with default ACLs for e.g. a group all files inherit those, but with explicit 0755, or better g-w the POSIX permissions are stronger than the ACLs and the whole multiuser problem is unsolved again :/

I second cweiske's proposal: either umask or config option!

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

No branches or pull requests

2 participants