try this

as root or su make a group called "your group name"
then
create a directory in /home doesn't matter what it is called
next
chgrp "your group name here" /home/"your directory name here"
now
chmod 770 /home/"your directory name here"
chmod g+s /home/"your directory name here"

Then go to your smb.conf file and add this example

[workgroup]<--- Call this whatever you want

      comment = Public Share Directory
        path = /home/"your directory name here"
        writeable = yes
        valid users = @group<--- Your group name here
        create mode = 0660
        directory mode = 0770

That should do it. Just assign the users that need access to this directory
to the "group" name you created


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
Sent: Friday, September 29, 2000 12:31 PM
To: [EMAIL PROTECTED]
Subject: [newbie] Re rights


I just wanted to know if there is a way to change a dir and all sub dir to
give rights to everyone.(I have a public folder in a samba network and the
rights are all screwed up)

I want to be able to add, remove and modify in this directory tree and have
someone else be able to see use and modify it afterwords.

Eg.  i create a directory or file in the public folder that everyone can see
and use (right now if I do it I get ownership and me only)

regards

Mike



....................................
Get your own free email account from
http://www.popmail.com



Reply via email to