Sender: news@cc.umontreal.ca (Administration de Cnews)
Organization: Universite de Montreal
Lines: 25
In article <1992Dec28.214356.28364@netcom.com> data1@netcom.com (Adam Shiffman) writes:
>Hi,
>
>I would like to be able to use the CHMOD command to allow a specific individual to access my home directory - can this be done easily? I did have some troublewith the CHMOD command, even after reading the manual pages - any info on how to
>do this would be greatly appreciated!
>
>Thanks in advance....
>
I dont think you can change the access rights for a specific individual using
chmod. This command is for setting access rights for groups(or for the owner). I
think you should use the chacl command. Using this command you could do
chacl <LOGIN_NAME>+<RIGHTS> ~
to grant the <RIGHTS> access modes to <LOGIN_NAME> in your home directory.
But this only sets rights for your HOME directory. If you want this user to
have accec rights to specific files, you have to use the same command and
replace '~' with '~/FILE_NAME'.
Read the chacl manual pages for creating files with specific rights for
specific users (or contact me via e-mail for more information).