"Stephen P. Molnar, Ph.D." wrote:
>
> After using Linux for about five years now I finally have to throw myself
> on the mercy of the group. I am at a complete loss as how to use
> permissions. I am currently running Mandrake/Venus.
>
> As root I have added a new user, smolnar, and made him a member of the
> group users in /etc/group:
>
> users::100:smolnar
>
> When I do a listing of / I find that most of the subdirectories are
> accessable, however some are not. For example I have an entry:
>
> msdos drwx------ root root 1024 19:43 09.12.1999
>
> If I understand 'Linux: Getting Started' correctly, the directory msdos
> belongs to root and may be accessed by root and no one else.
>
> I want to give access to msdos to the new user, smolnar.. What command(s)
> do I issue, and what is the syntax, while logged in as su?
>
> Thanks in advance.
if you want the new user to own the dir then you would do a
chown -R newuser dir
if you just want the newuser to have access you could go about it this
way
1) change the group of the dir to user (chgrp -R thegroup dir)
2) change the perms on the dir to give the group access
if you want the group to have full access you could do a
chmod -R 770 dir
that would allow root and the group to read/write and execute files in
that dir
are thier other ways? well of course thier, but to me this would be the
easiest route