Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    user rights to another directory

    I'm using Fedora 6 and have setup a samba share. I'm sharing out the /home directory. I want to give a user read/write access to another users folder:

    I want to give user1 access to user2 directory

    How do I do that?


  2. #2

    try out this

    In the samba server, pls change the permission of /home/user2 directory to 770

    chmod 770 /home/user2 ( do this as user2 )

    and as root, execute the command

    usermod -G user2 user1 --- This is for making user2 as a secondary group for user1 ( in other words user1 will be added as a member of group user2 )

    Now in samba share configuration, put the below mentioned entry.

    comment = Insert a comment here
    valid users = @user2

Posting Permissions

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