hello i would like to set premission for share like this: user can: -create new file -read file user cant: -delete file -modify file is it posible? i really dont know how to do it, but i relly need it. ..and another thing if i set create mask = 0740 and force user = root why can another user still delete this file, although root is the owner with 740 mask can someone help? bye bye rado.
Lozej Radovan wrote:> hello > > i would like to set premission for share like this: > user can: > -create new file > -read file > user cant: > -delete file > -modify fileWell, since an owner can always change files owned, that's going to be tough. Maybe if cron did a chown -R root to the directory every few minutes, it might achieve your goal> > is it posible? i really dont know how to do it, but i relly need it. > > ..and another thing > if i set create mask = 0740 and force user = rootBeacause all users are mapped to root with force user = root.> why can another user still delete this file, although root is the > owner with 740 mask > > can someone help? > > bye bye > rado. >
Lozej Radovan wrote:> hello > > i would like to set premission for share like this: > user can: > -create new file > -read file > user cant: > -delete file > -modify file > > is it posible? i really dont know how to do it, but i relly need it. > > ..and another thing > if i set create mask = 0740 and force user = root > why can another user still delete this file, although root is the > owner with 740 mask > > can someone help? > > bye bye > rado. >i solve the problem :) ..its working [archive] comment = ARCHIVE path = /home/archive read only = yes writable = yes create mask = 0440