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

Reply via email to