Samba permissions from Windows clients

Asked by P. Handoko

How do i correctly set a Share service such that a non-admin can read and write over current files?

Right now I have to place a user name on all 4 (Valid users, Admin Users, Read & Write lists) so that they can read and write over current files. But I am uncomfortable that they are Admin for that share.

If i removed them from the Admin Users but retain them on Write list, they are only able to open files as "read only"

FYI, the users are opening the files from a Windows 7 workstation and my Samba is installed on Ubuntu 10.04.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you run:

sudo smbpasswd -a $USER

You can then authenticate as the user and get write access.

Revision history for this message
P. Handoko (phandoko) said :
#2

I have already set it at $USER log-in.

However my problem is that despite having a user on a Write List, they are still unable to write on the files unless they are added to the Admin User's List.

        valid users = s08, s13,
 admin users = s13,
 write list = s08, s13,

In the above situation, user s08 is still unable to write-over current files in the share.

I would need to amend to the following before s08 can write-over but it would mean giving Admin powers to the user.

        valid users = s08, s13,
 admin users = s08, s13,
 write list = s08, s13,

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.