Re: [Samba] create mask not fully working?

2010-05-07 Thread Mike
Hi

I have the same entries in smb.conf and a similar behaviour here, on a
CentOS 5.4 x64 box running Samba 3.0.33-3.15.el5_4.1 (rpm installation
out of the box). Although it's a bit different with directories as with
directories the w-flag for the group isn't set:

drwxr-xr-x  4 smg domain users4096 May  6 17:22 Allworx Phone system
-rwxrw  1 smg domain users 3436377 Apr  1 11:42 IMG0024.JPG
-rwxrw  1 smg domain users 4538950 Apr  1 11:42 IMG0025.JPG
-rwxrw  1 smg domain users 3416192 Apr  1 11:43 IMG0026.JPG
-rwxrw  1 smg domain users  143240 Apr 23 08:31 Protec flyer.pdf
drwxr-xr-x  4 smg domain users4096 May  6 18:12 R960 Printer Drivers

I figure, I don't have an issue, until my users want to delete or rename
their directories, right? :)

--
Rgds
Mike


On Thu, 2010-05-06 at 15:17 +0200, Piotr Legiecki wrote:
> Hi
> 
> I have Debian/stable and samba 3.2.5.
> 
> I have set this (smb.conf):
> ...
> create mode = 0770
> directory mask = 0770
> ...
> 
> and the files created have those permissions:
> drwxrwx--- 2 piotrlg piotrlg 22 2010-05-06 14:51 nowy3
> -rwxrw 1 piotrlg piotrlg 10752 2010-05-06 14:51 nowy3.doc
> 
> please note the lack of x bit for group file permission (for directory 
> it works as expected).
> 
> I have to use force create mode = 0770 to set x for groups.
> 
> What is going on?
> 
> Regards
> P.

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


[Samba] create mask not fully working?

2010-05-06 Thread Piotr Legiecki

Hi

I have Debian/stable and samba 3.2.5.

I have set this (smb.conf):
...
create mode = 0770
directory mask = 0770
...

and the files created have those permissions:
drwxrwx--- 2 piotrlg piotrlg 22 2010-05-06 14:51 nowy3
-rwxrw 1 piotrlg piotrlg 10752 2010-05-06 14:51 nowy3.doc

please note the lack of x bit for group file permission (for directory 
it works as expected).


I have to use force create mode = 0770 to set x for groups.

What is going on?

Regards
P.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba