Note
This is the same as doing:
$
chown jack /foodbar
$
chgrp engr /foodbar
Now type:
$
chmod 6775 /foodbar
$
ls -al /foodbar/..
You should see:
drwsrwsr-x 2 jack engr 48 2003-02-04 09:55 foodbar
Now type:
$
su - jill
$
cd /foodbar
$
touch Afile
$
ls -al
You should see that the file Afile created by Jill will have ownership
and permissions of Jack, as follows:
-rw-r--r-- 1 jack engr 0 2003-02-04 09:57 Afile
Now in your smb.conf for the share add:
force create mode = 0775
|
force directory mode = 6775
|
|