|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
||||
|
||||
|
Samba permissions problem
Please help me .....
I have this issue on my hand, I'm trying to make a directory for my group that everyone can read write and modify eachothers files. But in order to access it you must be a user on the server. So this one works [PUBLIC] path =/fileshare public = yes only guest = yes writable = yes printable = no But problem with above config is that anyone can get to the directory with out authenecating, [PUBLIC] path = /fileshare valid users = user user public = no writable = yes printable = no create mask = 0765 This one creates file with user permissions as and we can not edit eachothers files... Any Ideas ??? |
|
#2
|
|||
|
|||
|
to edit each otherīs files, you need to setup group permissions. i.e. make a new group, add all users that share these files to this group ("netusers" from now on).
then chown -R .netusers /fileshare and setup two things for samba in /etc/smb.conf: - create mask should be 775 or 770 - force group = netusers this is untested, but should work.
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Samba permissions problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|