Find the answer to your Linux question:
Results 1 to 4 of 4
Gooday! Quick question on user permissions, I'm not even sure if this is possible but any help/opinions is greatly appreciated. I need to give one user full access to another ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    mjs
    mjs is offline
    Just Joined!
    Join Date
    Aug 2005
    Posts
    8

    giving a user access to another user's home directory


    Gooday!

    Quick question on user permissions, I'm not even sure if this is possible but any help/opinions is greatly appreciated.

    I need to give one user full access to another users home directory. How would I do that?

    I.E; user bob needs full read/write access to user bills home directory (/home/bill). How would a person grant that?

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    Put bob in bill's group and dole out permissions appropriately?

  3. #3
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    You could also create a group (example: homegroup), add the new user to it, use
    Code:
    chgrp homegroup <user's home directory>
    , then change the permissions to give the new group full access with
    Code:
    chmod 775 <user's home directory>
    .

    That way, if you wanted to give more users access, you could add them to that group and it would be easy to keep track of who had permissions to the directory.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  4. $spacer_open
    $spacer_close
  5. #4
    mjs
    mjs is offline
    Just Joined!
    Join Date
    Aug 2005
    Posts
    8
    Thanks very much for the help, I'd attempted to the group permission but was having difficulties getting it to work correctly. Turns out the chmod was wrong. Thanks again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •