Samba Share: how to make read only data by owner
hi to all
[test]
path=/apna/test
writable=yes
browsable=yes
force create mode = 0555
force directory mode = 0555
This is smb.conf file script to share a directory named as "test" . this is shared by Samba for Windows Machines.
there is a user "majid" . that is owner of that "test" directory, and the directory will be accessed from windows machine by using this login of "majid".
i want, the owner of that directory can only write/read/execute data but cant delete it. even he is owner of that directory.
i got an idea from my friend to use
force create mode = 0555
force directory mode = 0555
but this not working. when user write any data, he is deleting also.
please help me .
Best Regards:
Mian
|