S
S
SmilTM2016-07-27 14:50:26
linux
SmilTM, 2016-07-27 14:50:26

Samba write permissions for non-admins?

Tell me what to fix in the samba config so that all Windows 7 users have write permissions? Those users who work under the admin account can safely write to the folder, and those who work under the account of a simple user can only view the contents of folders and that's it.
[global]
workgroup = SVETOFOR
security = user
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
[BackUP]
path = /home/srv/BackUP
writeable = yes
read only = no
guest ok = yes
guest only = yes
public = yes

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
SmilTM, 2016-07-27
@SmilTM

Thanks to Yuri Chudnovsky for the tip. The problem was in the rights to the folder.
Solution:
# view the rights to the folder
ls -l /home/srv/BackUP
And then manually RMB on each problematic folder Properties - Rights - others - read and write.
The only thing I didn't understand was why users with "admin" did everything without any problems, while simple plugs.

Y
Yuri Chudnovsky, 2016-07-27
@Frankenstine

Most likely you need to allow everyone to write to the folder:
sudo chmod +w /path/to/dir

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question