I wonder if it's possible to make files creatable, but not writable or removable. So that every file is created with
My current smb.conf:
[global] workgroup = WORKGROUP server string = Samba Server %v netbios name = ubuntu security = user map to guest = bad user dns proxy = no #=== Share Definitions === [Anonymous] path = /samba/anon browsable =yes writable = yes guest ok = yes read only = no force user = nobody create mask = 0444 force create mode = 0444 directory mask = 0444 force directory mode = 0444
I'm stuck with /samba/anon permissions being set to
drw-rw-rw-. If I remove the
w, users can't create files anymore, with it - files are removable. Can this dilemma be solved?
read only = nosetting? AFAIU, you want it set to
yes. mask/mode options would only affect newly-created files, not prior existing ones.
wfrom permissions. Again, I need users to be able to create files there, but not delete or edit them