GNOME Bugzilla – Bug 709417
Use a consistent set of permissions to create the user's config, cache and data directories
Last modified: 2013-10-05 10:52:24 UTC
We are using a mix of 0700 and 0755 throughout the code to create the user's config, cache and data directories. I think we should be consistent. I don't know which is more correct, but a quick glance at my own system indicates that 0700 is more prevalent.
Created attachment 256454 [details] [review] Use a consistent set of permissions when creating directories
Review of attachment 256454 [details] [review]: I'd rather it was defined in config.h and used as a macro.
Created attachment 256455 [details] [review] Use a consistent set of permissions when creating directories
Review of attachment 256455 [details] [review]: Looks good, though USER_DIR_MODE is a bit vague, but I couldn't think of a better term.
Comment on attachment 256455 [details] [review] Use a consistent set of permissions when creating directories Thanks for the review.