Another way that you might approach this is to create a special group
associated with that directory (using mkgroup) and the files in it. Then you
simply make the user a member of that group in the /etc/group file.

Loot at http://nscp.upenn.edu/aix4.3html/files/aixfiles/group_security.htm
for detailed information.

Hope this helps! =:-)
Christopher Jordan
National DCS Support
[EMAIL PROTECTED]
'If you have the right attitude, interesting problems will find you.'

-----Original Message-----
From: Richard Adams [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 2:46 PM
To: Diana Moreland
Cc: [EMAIL PROTECTED]
Subject: Re: User rights to one directory


On Tue, 18 Jul 2000,  Diana Moreland wrote about,  User rights to one
directory:
> How can I give one user rights to one particular directory?  For
> example, I need to give one user rights to see the htdocs directory (in
> addition to his home directory) when he logs in via ftp.

I normally NEVER give anyone rights to anything else than what Linux finds
nessacary, however a way around your question without comprimising your
system is to copy those needed files to HIS /home dir and change
permissions for those files copied to HIS home dir to his user account.

mkdir /home/user/new_files_dir
cp -R /whatever/path/what/ever/files/ /home/user/new_files_dir
cp -R is recursive (be carefull).
chown -R user /home/user/new_files_dir/
Where "user" is the name of the account.

That way all permissions stay the same "except" what you change for that
user.
Of course there are more ways than one, this would be mine.

> 
> Thanks in advance
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to