Results 1 to 2 of 2
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 ...
- 11-06-2006 #1Just Joined!
- Join Date
- Mar 2006
- Posts
- 82
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
/home/user1
/home/user2
How do I do that?
Thanks.
- 11-07-2006 #2Just Joined!
- Join Date
- Nov 2006
- Posts
- 3
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.
[sharename]
comment = Insert a comment here
valid users = @user2


Reply With Quote