[Samba] Re: can I configure smb.conf to always publish share
files with -rw-rw-rw- permission ?
KLEIN Stéphane
stephane at harobed.org
Mon Oct 15 14:53:22 GMT 2007
Le Mon, 15 Oct 2007 13:51:57 +0000, KLEIN Stéphane a écrit :
> Le Mon, 15 Oct 2007 11:31:12 +0200, Greg Byshenk a écrit :
>
>> On Mon, Oct 15, 2007 at 07:25:08AM +0000, KLEIN St?phane wrote:
>>> Le Mon, 15 Oct 2007 00:03:25 +0200, Greg Byshenk a ??crit??:
>>> > On Sun, Oct 14, 2007 at 09:30:19PM +0000, KLEIN Stephane wrote:
>>
>>> >> I use samba to share some files between some clients. I would like
>>> >> than these files are always view with -rw-rw-rw- rights by all
>>> >> clients event if someone change file access permissions.
>>> >
>>> >> Can I configure smb.conf to do that ?
>>
>>> > I don't think that you can force Samba to have them "view"ed that
>>> > way, as the permissions in Samba are dependent upon the permissions
>>> > on the files themselves (on the server).
>>
>>> > But you can force the permissions to be set in a given way by Samba
>>> > when files are created or modified. Look at 'force create mode' in
>>> > the smb.conf man page.
>>
>>> I know force create mode, force directory mode parameters but how can
>>> I force permission when one user launch "chmod" ?
>
>> If you mean 'change permissions from windows', then 'force create mode'
>> should do what you want.
>
> I mean 'change permissions from GNU/Linux samba client'. I don't mean :
> 'actually running "chmod" on the server'.
>
> In this instance, 'force create mode' work also ?
Well, it's work !
More information about the samba
mailing list