-
Notifications
You must be signed in to change notification settings - Fork 508
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
How to prevent executable flag setting for new files? #209
Comments
Did you check the permissions on the original files within the container? I guess it is a mounting problem. For me, the mounted files all have executable bit sit, while the files in the volume don't. |
I'm not seeing the execute bit being set on files created on the share... |
I have experienced this too. Fresh install of Ubuntu 18.04 and docker. MacOS as a client.
I believe these are more or less tied to default configs that you generate in
So at least it now respects the create mask on the file, but not the directories. Maybe this is as intended but there's a lot of configs that are hidden in |
Setting the following param
But I can't see to rename folders on the fly from the client |
@asgillmor Thank you so much! I was pulling my hair out for this problem. Just one comment is that you've also removed environment:
GLOBAL: vfs objects = catia fruit recycle streams_xattr
# ... |
Just for the record, in case anyone else hits this issue, having the Removing it as per #209 (comment) fixed this issue for me. |
Hmm, scratch my last comment. I have since found that my issue was caused by connecting to the share via the Finder window "Locations" section (which results in a connection |
Hello! I try all options from official samba docs, but none works.
and it seems ok for my case
but it not works
I tried readonly = yes + writelist
I tried readonly = no
In all cases every new file, created with samba (both from Linux and Windows clients), creates file executable. I need all files 0644 only. How to fix it?
The text was updated successfully, but these errors were encountered: