Originally Posted by
kc5hwb
I have other Ubuntu boxes, and a couple of Windows 7 boxes.
Mostly videos, but some documents too.
No programs.
Ok, perfect for samba. Those instructions are to share files read-only. It seems to be working.
For read-write access there are 2 additional things.
* smbpasswd
* correct file/group permissions on the Linux side.
So, every userid that you want to have with read-write access will need to be in the same Linux group (/etc/groups) AND each userid will need to have a passwd set using smbpasswd.
For documents, it is often best to place those under each user's HOME and use the special [homes] section.
For media, I prefer to have 1 read-write account and all the others are read-only. This way other members of the household don't accidentally delete everything. It is also easier to setup since you don't need to setup groups, since "other" permissions will be sufficient.
Code:
$ man smbpasswd
$ man smb.conf
$ man groups
will explain more - perhaps everything.
Of course, your specific needs could be more complex than my current needs. If you are stuck, post these:
* ls -al /path/to/dir
* relevant parts of /etc/samba/smb.conf
* explain which users and groups you want AND which sort of access they should have.
Testing from Linux will tell us if it is a Win7 specific issue or not. smbtree is a great tool for that.
BTW, I do not have **any** experience with Samba4, but plan to in the next year.
Bookmarks