motiejus

permission synchronization

Recommended Posts

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 777

Name 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!

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.