-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02-Jul-2002/14:50 +0000, Tyler Durdin <[EMAIL PROTECTED]> wrote:
>if I am creating a group share, for the ownership how do i tell it all
>users of this group? Right now i have just created this directory and the
>ownership box (kde user manager) says User: root Group: root. I am
>assuming a change the group to whatever my group share, but user would
>have to be all of the members of that group, is this correct? how do i do
>this?

Edit /etc/group to create a new group and add members to it. The line
might look like this:

  mygroup:x:200:user1,user2,user3

Then change the group ownership of the directory:

  chown root.mygroup /path/to/directory

Make sure your group can read/write the files and that they will have the
same ownsership and permissions on any subdirectories they create:

  chmod g+rwxs /path/to/directory

There are some settings in Samba (smb.conf) that will need to reflect the
ownership and permission inheritance:

  force group mygroup
  inherit permissions = yes



man 5 group
man chown
man chmod
man smb.conf


Tony
- -- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05    HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D

iD8DBQE9ImhfpCpg3WyUI50RAhJ4AJsHUbGuC0QEKsoc+W2qWqYLKnkIJgCghwEm
opci8utuGj3eNZ8wvAIv6qc=
=BY4A
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to