[Samba] "attrib +R myowndir" fails to write-protect my own dir

Dragan Krnic dkrnic at lycos.com
Wed Nov 27 22:21:02 GMT 2002


 
--

On Wed, 27 Nov 2002 21:48:21  
 jra wrote:
>On Wed, Nov 27, 2002 at 10:33:11PM +0100, Dragan Krnic wrote:
>> I'm so glad there are kind souls at this time of night. Wait, it might
>> be day at your place. Good day!
>
>Yep, it's 1:30 in the afternoon here in California :-).
>
>> I don't see a contradiction in setting Readonly flag on one's own
>> directories and then creating files in them anyways. It's very much 
>> like any overruling root privilege. It's just a flag, Jeremy, it's 
>> not our saviour's gospel. Bill knows we don't march over dead bodies 
>> and he's taking unfair advantage of it.
>> 
>> I propose a new smb.conf feature for 3.0:
>> 
>>    [homes & especially profiles]
>>       overrule readonly dirs = Yes/No
>> 
>> Default is "No", but in exceptional cases, like on almost every samba
>> server, it may be enabled to write into one's own write-protected directories, salvation be damned.
>
>The flag "dos filemode" is usually used for this purpose, I'll
>investigate using it.
>
>Thanks,
>
>	Jeremy.
>
Yeah, it was deprecated and abolished somewhere between 2.0.7 and 
2.2.7, donno exactly. Resurrect it, please.


_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus



More information about the samba mailing list