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

Umask not honoured #1623

Closed
christophlehmann opened this Issue Feb 3, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@christophlehmann

In a multi-user environment others can't delete the .sass-cache folder since files created with 0600.

Please remove ', 0600' in lib/sass/cache_stores/filesystem.rb on line 39.

Thanks!

@chriseppstein

This comment has been minimized.

Show comment
Hide comment
@chriseppstein

chriseppstein Feb 4, 2015

Member

The umask is honored in that the permissions will not be more permissive than the umask.

Reading the comments for my commit that fixed this it does seem that 0600 was not the desired behavior. Please submit a pull request that fixes this and we'll merge it in.

Member

chriseppstein commented Feb 4, 2015

The umask is honored in that the permissions will not be more permissive than the umask.

Reading the comments for my commit that fixed this it does seem that 0600 was not the desired behavior. Please submit a pull request that fixes this and we'll merge it in.

ralinc pushed a commit to ralinc/sass that referenced this issue Apr 29, 2016

Ralin Chimev
Use the default umask (0666) when creating cache files
Issue description: in a multi-user environment others
cannot delete the .sass-cache folder since files are
created with umask 0600.

Fixes #1623.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment