Give write-access to subfolder in read-only samba share

by Blop   Last Updated July 02, 2018 08:02 AM

I want to share one folder with specific access by users (one master with full and the others with read-only) and add subfolders in it which will be writeable by specific users.

Everyone is in the "users" group. So I did this:

[Share]
path = /media/Share
comment = Doc, pictures, movies...
valid users = Master, User1, User2
force group = users
guest ok = no
browseable = yes
read only = yes
write list = Master
create mask = 0770
directory mask = 0770
force create mode = 0770
force directory mode = 0770

[User1's folder]
path = "/media/Share/Other folder/User1"
comment = User1's folder
valid users = User1
force group = users
guest ok = no
browseable = yes
writeable = yes

But Windows doesn't want to mount it as one drive, I have to mount the Share folder on one letter and the User1's folder on another, because as User1, the personal directory is read-only in the Share drive and writeable in the other drive... Could you help me please ? I checked -stat folder and it's 777.



Related Questions



Permission to edit is not allowed

Updated September 03, 2018 12:02 PM

How to edit read-only file in /etc?

Updated January 09, 2017 08:00 AM

Why can I modify a read-only file?

Updated August 31, 2017 08:02 AM