motiejus Posted April 25, 2013 Report Share Posted April 25, 2013 It seems like permissions in the destination are force-set to XX4 (where X = 6 or 7). My goal is to put "others" executable bit on directories, so it can be painlessly browsed by a web server, which is another user.Here are a few files:-rw-rw-r-- 1 motiejus motiejus 0 Apr 25 13:52 000-rw-rw-r-- 1 motiejus motiejus 0 Apr 25 13:53 600-rw-rw-r-- 1 motiejus motiejus 0 Apr 25 13:55 660-rwxrwxr-- 1 motiejus motiejus 0 Apr 25 13:55 700-rwxrwxr-- 1 motiejus motiejus 0 Apr 25 13:55 760-rwxrwxr-- 1 motiejus motiejus 0 Apr 25 13:52 777Name of the file corresponds to its permissions set by chmod in the original.Behavior of 660 and 760 is really strange.Why is the last executable bit not synchronized? Maybe it is possible to introduce some special 'umask' parameter to the config file to control this behavior?Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.