Article 5GYDW Is there a was to prevent moving/deleting a directory within a Samba share?

Is there a was to prevent moving/deleting a directory within a Samba share?

by
mfoley
from LinuxQuestions.org on (#5GYDW)
I have a samba share defined on the sharing server as:
Code:[public]
path = /mnt/RAID/public

hide dot files = yes
hide files = /Outlook/outlook/~*/
readonly = no
locking = yes
public = yes
# writeable = yes
# browseable= yes
printable = no
create mask = 0660
force user = ohprso
force group = ohprs
force create mode = 0660
directory mask = 2771There are subdirectories under /mnt/RAID/public, e.g. /mnt/RAID/public/Staff/. Is there any way with the samba config to prevent these subdirectories from being moved off the samba share or otherwise deleted? Users still need access to create sub-sub folders which may be deleted or moved, e.g. /mnt/RAID/public/Staff/Jane/.latest?d=yIl2AUoC8zA latest?i=EPMP4btBq_8:Kwshay8Xbn0:F7zBnMy latest?i=EPMP4btBq_8:Kwshay8Xbn0:V_sGLiP latest?d=qj6IDK7rITs latest?i=EPMP4btBq_8:Kwshay8Xbn0:gIN9vFwEPMP4btBq_8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments