"umask 002" for Samba ?

Reuben D. Budiardja techlist at voyager.phys.utk.edu
Wed Dec 8 16:00:47 UTC 2004


On Wednesday 08 December 2004 10:45, Ed Wilts wrote:
> On Wed, Dec 08, 2004 at 10:41:45AM -0500, Reuben D. Budiardja wrote:

> > "devel" is also a samba shares, and people map it from their win
> > machines. This is where problem happens. When directory are created under
> > 'devel' via Samba, the permission is wrong. Group no longer has write
> > access. The same fo files. Any idea how I fix this ?
>
> In smb.conf, add a share like the following:
> [devel]
>         comment = Shared devel area
>         path = /home/devel
>         writeable = Yes
>         create mask = 02770
>         directory mask = 02770
>         inherit permissions = Yes
>
> You'd probably want a mask of 02775.
>
>         .../Ed

Thanks Ed. That does it.

RDB
-- 
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennesse, Knoxville, TN

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++ 
N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+ 
b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++
------END GEEK CODE BLOCK------




More information about the redhat-list mailing list