> Hello:
>
> RedHat uses something called "private groups" to provide a bit more
> flexibility, security-wise. I'm just having trouble figuring out how to
> use it.
>
> What I want to do:
>
> Create a directory, /archive2/its_share, a common area for our department.
> Anybody can put files in here. Only the owner of a file can delete or
> rename them, however. (I'd also like to know how to let *anybody* delete
> or rename them).
Simple enough. What you want is for the owner to have write permission to the
directory and anyone else to have read and execute permission.
> I've created this directory. I've created a group in /etc/group called
> "its" as follows:
>
> its:x:499:frampton,mccready
>
> I've done: 'chown frampton.its /archive2/its_share' as well as
> 'chmod a-x,ug+x frampton.its'.
execute permission on a directory means you can "cd" into it. Read permission
means you can list (ls) it, and write means you can add/delete files to/from
it.
> I've then created a symbolic link to this
> directory in each applicable user's home directory (ln /archive2/its_share
> /home/frampton/its_share) -- an extra step but just something for added
> convenience.
>
> But ... things aren't working out the way I expected them to. I can't
> chdir to that directory nor can anyone else. What am I doing wrong? What
> should the umask be?
If you want the whole group to be able to see the directory, the world to not
have access to it, and the owner to have full permissions, you want:
rwxr-x---
on the directory. I think that's what you said you were after.
-Michael
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-- Benjamin Franklin, 1759
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.