Skip to main content

Thread: Samba Configuration Assistance


hey guys,

have samba working want to, sharing specific folders specific users on external hd on network.

tried doing same sequence of events add user , folder did few weeks ago, , "works" when user logs in , goes mount specific folder, goes planned except getting read permissions given folder.

nothing different user others. ideas?

code:
 # useradd resource  # smbpasswd -a resource
smb.conf entry:
code:
[test]     path = /media/slave/test     browseable = yes     read = no     guest ok = no     create mask = 0644     directory mask = 0755     valid users = resource     admin users = resource

this directory: /media/slave/test
doesn't have permissions allow user "resource" write linux user. can change permissions drwxrwxrwx or can change owner resource , group resource. either should work. there couple of other ways match permissions 2 enough give choice. i'd change owner.

in fact i'd make directory owned "resource" , share this:
code:
[test]      path = /media/slave/test      read = no      force user = resource      valid users = resource
and added security i'd chmod directory 750 (drwxr-x---) , chown resource:resource

more on crafting shares see linked sections in samba/ubuntu tutorial titled:
secure read-write shares; no guest access
and
special purpose modifications enhanced privacy and/or security


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Samba Configuration Assistance


Ubuntu

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO