[Samba] Users can create, but not delete files.

Nathan Sinton nathansinton at gmail.com
Tue Nov 11 18:09:12 GMT 2008


Oops, I meant to send this to the samba list.

On Tue, Nov 11, 2008 at 11:06 AM, Nathan Sinton <nathansinton at gmail.com> wrote:
> I got excited for a second because I hadn't tried this, but it didn't
> work unfortunately.
>
> Another thing that I forgot to mention is that when viewing the
> permissions of a file from a windows box  "Everyone" has read access
> and there is a null SID (S-1-0-0) that has full control.  There are no
> other users listed regardless of the user and group ownership of the
> file.  Is this normal?
>
>
> On Tue, Nov 11, 2008 at 10:28 AM, Dale Schroeder
> <> wrote:
>> Nathan
>>
>> Adding
>>     dos filemode = Yes
>> to the share should allow this.
>>
>> Dale
>>
>> From SWAT:
>>
>> dos filemode (S)
>>
>> The default behavior in Samba is to provide UNIX-like behavior where only
>> the owner of a file/directory is able to change the permissions on it.
>> However, this behavior is often confusing to DOS/Windows users. Enabling
>> this parameter allows a user who has write access to the file (by whatever
>> means, including an ACL permission) to modify the permissions (including
>> ACL) on it. Note that a user belonging to the group owning the file will not
>> be allowed to change permissions if the group is only granted read access.
>> Ownership of the file/directory may also be changed.
>>
>> Default: dos filemode = no
>


More information about the samba mailing list