Le mar 01/07/2003 à 12:38, [EMAIL PROTECTED] a écrit :
> Hi there ....
> 
> Linux (redhat 9.0) does not set the execute-bits for new files, (even with
> umask set to 777) by default.
> 
> Why does samba ?
> 
> When default ACLs are set, samba explicitly sets the mode to 777 for new
> files and directories, and then somehow corrects them according to the
> default ACLs.
> As the default ACLs have to contain an executable bit to allow access to
> newly created directories, every new file will have this bit set, too.
> 
> Is it possible to tell samba to treat new files and new directories in
> different ways to reflect standard unix behavior ? ( i.e. set mode to 666
> for files and 777 for dirs)

in global section
directory mode = 0770
create mode = 0660

have you read the manual, or did i not understand your question properly
?

> BTW, even setting the force security to 666 does not prevent the file from
> beeing created with 777 ...
> 
> We use samba 2.2.8a on redhat 9.0 with XFS as a plattform for cross-system
> development.
> 
> Help is very much appreciated ...
> 
> Frank Pospischil
> Leiter IT
> Telenet AG Rhein-Main
> Darmstadt, Germany
> Web: http://www.telenet-ag.de
-- 
***********************************************
[EMAIL PROTECTED]
OpenPGP public key: http://www.amakuru.net/dmorel.asc
28192ef126bc871757cb7d97f4a44536


Attachment: signature.asc
Description: Ceci est une partie de message=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to