Results 1 to 8 of 8
hello,
I have three users in samba file user1
user2
user3
and I have share1 and its subfolder " subshare "
the thing i have to do is that, i ...
- 12-31-2009 #1Just Joined!
- Join Date
- Dec 2009
- Posts
- 13
creating subfolder permission through samba file (smb.conf)
hello,
I have three users in samba file user1
user2
user3
and I have share1 and its subfolder " subshare "
the thing i have to do is that, i have 2 assign user1 and user2 to share1
that means user1 and user2 can only access share1 through password
and user3 can access only its subfolder "subshare"
i have done this upto first level permission of share1 not able to do for its subfolder "subshare"
plz help ...its urgent
thankyou
- 12-31-2009 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
If you have two doors in sequence, how do you get to door #2 if you can't pass thru door #1?

Create another Samba share for "subshare" to give User3 access to it.
- 12-31-2009 #3Just Joined!
- Join Date
- Dec 2009
- Posts
- 13
its subfolder level permission
i have given first level permission to my share and its working ...
but i am not getting how to assaign second level (subfolder) permission.
Without listing that subfolder in samba home page. it should be inside its main folder
(1st level).
regards
himmat
- 12-31-2009 #4Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
How else can it be said?
If User3 cannot access the TOP LEVEL SHARE, how can it get to any subfolders???
** Just like in Windows filesharing, Samba *only* controls access to the SHARE. All other permissions (file or directory read/write) is controlled via filesystem permissions - NTFS permissions on Windows, RWX or ACL's on Linux.) **
- 12-31-2009 #5Just Joined!
- Join Date
- Dec 2009
- Posts
- 13
subfolder permission
i have accesed first level folder through user1 and user2 and thats working ...
but i have to assaign permission to user3 to access its subfolder... and dont know how to do this ???
if u have any other way to access this subfolder plz suggest.... rather than listing its subfolders in main samba home page.... bcoz there can num of subfolders and that will become too congested.....
thankyou
- 12-31-2009 #6Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
...if User3 cannot get into the Samba share (the TOP LEVEL SHARE), User3 cannot access any subfolders. PERIOD. Alternative to not giving User3 access to the share? Create another Samba share.i have accesed first level folder through user1 and user2 and thats working ...
...once IN THE SHARE, all file/folder permissions are managed by the filesystem. So on Linux, this means either RWX permissions or enabling ACL's.but i have to assaign permission to user3 to access its subfolder... and dont know how to do this ???
Then you have designed your share backwards. The "top level" should be what everyone has access to and subfolders become more restrictive based on user or group membership - again, managed by filesystem permissions.bcoz there can num of subfolders and that will become too congested.....
How else can it be said?
If User3 cannot access the TOP LEVEL SHARE, how can it get to any subfolders???
** Just like in Windows filesharing, Samba *only* controls access to the SHARE. All other permissions (file or directory read/write) is controlled via filesystem permissions - NTFS permissions on Windows, RWX or ACL's on Linux.) **
- 12-31-2009 #7Just Joined!
- Join Date
- Dec 2009
- Posts
- 13
subfolder permission
plz tell me the way to manage through filesystem pemission.The "top level" should be what everyone has access to and subfolders become more restrictive based on user or group membership - again, managed by filesystem permissions.
the thing i have to do is assaign permission 2 subfolders and hence it should allow only specified users to have access on other network through samba file sharing......
thankyou
- 12-31-2009 #8Just Joined!
- Join Date
- Dec 2009
- Posts
- 13
can we link ACL commands with samba file so that it should work on netwok too.????
ThankYou


Reply With Quote
