Re: "umask 002" for Samba ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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------

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux