And take the space out of the directory name.

-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Richard 
Gasiorowski
Sent: Wednesday, April 27, 2011 8:59 AM
To: [email protected]
Subject: Re: Samba authorization

Most likely the parent directory is 740

Richard (Gaz) Gasiorowski
Solution Architect
CSC
3170 Fairview Park Dr., Falls Church, VA 22042
845-889-8533|Work|845-392-7889 Cell|[email protected]|www.csc.com




This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.



From:
"van Sleeuwen, Berry" <[email protected]>
To:
[email protected]
Date:
04/27/2011 08:55 AM
Subject:
Samba authorization



Hi Listers,

On SLES10 SP2 we are running a samba. We would like to have shares for
specific groups. For instance we have a group zlinux that would get access
into the "PL Linux" directory and they must be able to read and write into
this directory. Several resources on the net give us the configuration for
this but so far we were not able to get the results we expected.

The /etc/smb.conf contains:
[PL Linux]
        # Identification
        comment = PL Linux

        # Management
        path        = /srv/smb/shares/MFPL/PL Linux
        writable    = yes
        force group = zlinux
        valid users = @zlinux

        # Access set up
        create mask          = 0770
        directory mask       = 0770
        force create mode    = 0660
        force directory mode = 0770

According to the config a new file should be created with group zlinux and
mask 770. But when we create a document we see:

-rwxr--r-- 1 nl12237 users 0 Apr 27 13:45 New (10) Text Document.txt

So, in the group users and mask 744.

What can we do to get the samba to create the file under group zlinux and
with 770 instead of 744?

Met vriendelijke groet/With kind regards,
Berry van Sleeuwen
Flight Forum 3000 5657 EW Eindhoven
* +31 (0)6 22564276


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/



----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/
-----------------------------------------------------
Please see the following link for the BlueCross BlueShield of Tennessee E-mail 
disclaimer:  http://www.bcbst.com/email_disclaimer.shtm

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to