Assigning Rights to directories in UNIX

I need to give a particular user access to delete files in a certain directory, one owned by root - how can I do this?

I am familiar with NetWare security where you can create a group that has certain access to a directory/directories and you then put users in the group(s) you want.  A user can belong to MANY groups.  If you can explain the UNIX security in relationship to how it works in NetWare feel free!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

1- Create a new group in /etc/group
2- Change the directory permission to 775
3- Change the group ownership of that directory
to the newgroup by using the chgrp command.
4- Create the new user and assign him to the
group you just created in /etc/group.

Now any users belonging to that group could remove files from that directory.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lphillips120898Author Commented:
How many groups can a user belong to?
Depending on the OS. He could belong to as much as 15. You'll just need to separate the group ID by
a comma in the /etc/passwd file.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.