battletoad
Expert Member
- Joined
- Mar 10, 2009
- Messages
- 1,451
If anyone can help it'd be much appreciated.
I want to setup an Ubuntu fileserver. Clients will be connecting to fileserver with windows XP and Ubuntu 10.
What I've done so far:
1. Ubuntu 11.04 "fileserver" on 192.168.0.10 (hereafter pc10)
2. Computers 192.168.0.1-9 (hereafter pc1-pc9) running either XP or ubuntu 10. Say users are Bob1 - Bob9
3. add users Bob1-Bob9 on pc10, added them as samba users (sudo smbpasswd -a BobX)
4. Share BobX's home folder on pc10
If I leave BobX's home folder permission as is (wrx-rx-rx), all of them can connect to any user's home folder (e.g. Bob1 can explore Bob2's home folder), but if I chmod 700 each folder, neither of them can connect to their own folders (Bob1 cant open his own home folder in windows).
I am thinking the problem lies with the permissions, but i cant track down where I should set the permissions explicitly. Shares-admin just lets me set permissions for all the shares, not for specific shares as far as I can tell. What am I doing wrong?
tl;dr: would like to set user accounts for each share folder for access, and only specific credentials open their corresponding shared folder
I want to setup an Ubuntu fileserver. Clients will be connecting to fileserver with windows XP and Ubuntu 10.
What I've done so far:
1. Ubuntu 11.04 "fileserver" on 192.168.0.10 (hereafter pc10)
2. Computers 192.168.0.1-9 (hereafter pc1-pc9) running either XP or ubuntu 10. Say users are Bob1 - Bob9
3. add users Bob1-Bob9 on pc10, added them as samba users (sudo smbpasswd -a BobX)
4. Share BobX's home folder on pc10
If I leave BobX's home folder permission as is (wrx-rx-rx), all of them can connect to any user's home folder (e.g. Bob1 can explore Bob2's home folder), but if I chmod 700 each folder, neither of them can connect to their own folders (Bob1 cant open his own home folder in windows).
I am thinking the problem lies with the permissions, but i cant track down where I should set the permissions explicitly. Shares-admin just lets me set permissions for all the shares, not for specific shares as far as I can tell. What am I doing wrong?
tl;dr: would like to set user accounts for each share folder for access, and only specific credentials open their corresponding shared folder