[Samba] share premissions help

Thomas M. Skeren III tms3 at fskklaw.com
Sun Dec 26 16:24:46 GMT 2004


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

Well, 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 = root

Beacause 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.
>




More information about the samba mailing list