[Samba] Fileshare - how to enable Modify permission for an rwx-enabled file

Mgr. Peter Tuharsky tuharsky at misbb.sk
Fri Nov 16 12:28:54 UTC 2018


Thank You again, I'll give xattr a try again (last time I switched it
off because of problems).

Dňa 16. 11. 2018 o 12:42 Rowland Penny via samba napísal(a):
> On Fri, 16 Nov 2018 12:16:15 +0100
> "Mgr. Peter Tuharsky via samba" <samba at lists.samba.org> wrote:
>
>> Thank You, Rowland.
>>
>> I have already read that. According to chapter File System Support,
>> does that imply, that Samba could also well never grant Modify
>> permission for linux ACLs? Do I need extended ACLs on filesystem in
>> order to do that? I thought, that write permission on filesystem
>> should be sufficient for Samba to grant Modify for Windows...
> Linux has nothing that compares to 'modify' directly, it has 'rwx' or
> 'read, write and enter/execute', for what you want, you need to use
> Windows ACL's and these will be stored in an EA.
>
>> As of smb.conf, here is snippet
> Posting parts of a smb.conf without the [global] section is like
> posting just one page of a book, you do not get the full context ;-)
>
>> [pripomienkovanie]
>>
>>    path = /mnt/data_disk/www/pripomienkovanie/
>>     dos filetime resolution = yes
>>     writable = yes
>>     read only = no
> The above two lines are interesting, if something is writable, this
> means it isn't just readable, or to put it another way, they both mean
> the same so why have both ?
>
>>     preserve case = yes
>>     create mask = 775
>>     directory mask = 2775
>>
>>     oplocks = false
>>     level2oplocks = false
> Why don't you want oplocks ?
>
> To be honest, I would replace all of the above with this:
>
> [pripomienkovanie]
>     path = /mnt/data_disk/www/pripomienkovanie/
>     read only = no
>
> Then follow the wikipage I point you to earlier.
>
> Rowland
>
>



More information about the samba mailing list