"umask 002" for Samba ?
Reuben D. Budiardja
techlist at voyager.phys.utk.edu
Wed Dec 8 15:41:45 UTC 2004
Hello,
I have a directory (let's call it devel) that I want all the files and
directories under it to have 775 permission (readable and writable by owner
and group), so that I can just assign people under a group to have read/write
access to anything under that directory. So I set up the directory, chmod 775
it, and "chmod g+s devel".
Files and directory created under "devel" with linux commandline have the
correct permissions (I put umask 002 in .bashrc to be explicit). Group has
read/write access to files/dirs.
"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 ?
Thanks a lot in advance.
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