home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / news / newusers / question / 5649 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.5 KB

  1. Path: sparky!uunet!munnari.oz.au!spool.mu.edu!olivea!charnel!sifon!CC.UMontreal.CA!guimona
  2. From: guimona@JSP.UMontreal.CA (Guimond Alexandre)
  3. Newsgroups: news.newusers.questions
  4. Subject: Re: Individual Directory Permissions
  5. Message-ID: <1992Dec30.085942.7047@cc.umontreal.ca>
  6. Date: 30 Dec 92 08:59:42 GMT
  7. References: <1992Dec28.214356.28364@netcom.com>
  8. Sender: news@cc.umontreal.ca (Administration de Cnews)
  9. Organization: Universite de Montreal
  10. Lines: 25
  11.  
  12. In article <1992Dec28.214356.28364@netcom.com> data1@netcom.com (Adam Shiffman) writes:
  13. >Hi,
  14. >
  15. >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
  16. >do this would be greatly appreciated!
  17. >
  18. >Thanks in advance....
  19. >
  20. I dont think you can change the access rights for a specific individual using 
  21. chmod. This command is for setting access rights for groups(or for the owner). I
  22. think you should use the chacl command. Using this command you could do
  23.  
  24.   chacl <LOGIN_NAME>+<RIGHTS> ~
  25.  
  26. to grant the <RIGHTS> access modes to <LOGIN_NAME> in your home directory. 
  27. But this only sets rights for your HOME directory. If you want this user to 
  28. have accec rights to specific files, you have to use the same command and 
  29. replace '~' with '~/FILE_NAME'. 
  30.  
  31. Read the chacl manual pages for creating files with specific rights for 
  32. specific users (or contact me via e-mail for more information). 
  33.  
  34. -- 
  35. Alexandre Guimond
  36. guimona@JSP.UMontreal.CA
  37.