Jump to content

Why execution permission is required for Samba sharing?

Go to solution Solved by Kilrah,

Recommended Posts

Maybe it's too basic... I fixed the issue but just don't understand why.


I put my sharing folder to 644(chmod to grant only read/write permission to the owner, , just ignore later 2 bits) and use the exact same user to which I chown to access the Samba folder remotely. The issue appears that I can only see the first level parent folder content and can't navigate to the child folders. (On windows, it just return empty folders. On Mac, it reports permission deny explictly)


BTW, I have set the share to private in unraid and set the specific user have read/write permission(unraid permission,not linux) to the share.


Again I chmod all files to 755 by using chmod -R 755 *(Surely under the sharing folder), and the Samba sharing is OK now.


But why? Isn't that read and write permission(644, just ignore later 2 bits) enough? Why the execution bit is required to make SMB share functional?

Link to comment

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

  • Create New...