[Samba] ACL and delete files
Doug VanLeuven
roamdad at sonic.net
Fri Apr 15 16:47:17 GMT 2005
Peter Kruse wrote:
> John H Terpstra wrote:
>
>> Please file this as a bug report on https://bugzilla.samba.org if you
>> want this to be dealt with. All Samba bug related issues are dealt
>> with via bugzilla.
>>
>
> The closed bug #2521 looks like related to this, and I was thinking to
> reopen it if I can.
>
> Ptr
>
>> - John T.
>>
>> On Friday 15 April 2005 08:59, Peter Kruse wrote:
>>
>>> Hello,
>>>
>>> Here's a way to force the error. Please try it.
>>> To summarize: Create a file with permission bits set to 470, owned by
>>> root. With setfacl give write permission to a group. Users in that
>>> group will not be able to modify the file when accessing the share
>>> from a windows client. This is true for smbclient as well.
>>> Modifying the file under Linux works as expected.
>>
Check out the "delete readonly" option in smb.conf.
Since the owner does not have write permission it shows as read only.
You'll get what you want by setting "delete readonly = yes" on the share.
Regards, Doug
More information about the samba
mailing list