Page 1 of 1

Samba permissions issue

Posted: Thu Aug 06, 2009 6:06 pm
by RedWagon
I recently upgraded the server at our photography studio. We have a dedicated server running Ubuntu that does nothing but share files through Samba to the rest of the studio. All the computers that connect to it run Windows, except for my workstation which is running Mint 6/7 64 bit.

To access the old server I just logged everything in using the default user name and password I created on install. This time around I created a new user just for accessing Samba shares in order to tighten security a little, the only problem is that my Linux workstation is throwing permission fits because the new files are owned by user id 1001 instead of 1000. Windows of course barges on ahead since everything is running as admin anyways.

new vs old:

Code: Select all

drwxr-xr-x  2 root     1001      0 2009-07-31 14:48 Heaven Hill picnic 2009 2009-07-08
drwxr-xr-x  2 verdow verdow      0 2009-06-29 17:35 Heaven Hill website corporate
Is there some way I can tell Linux that 1001 is not root and it's ok for me to edit 1001's files?

Re: Samba permissions issue

Posted: Thu Aug 06, 2009 6:28 pm
by RedWagon
Here is the servers smb.conf file:

Code: Select all

lakeview@mitx:~/md0/Pictures$ cat /etc/samba/smb.conf 
netbios name = mitx
workgroup = LAKEVIEW
encrypt passwords = true

wins support = yes
os level = 33

security = user

browsable = yes

vfs object = recycle
recycle:repository = /home/lakeview/md0/RecycleBin
recycle:keeptree = yes
recycle:touch = yes
recycle:versions = yes
path = /home/lakeview/md0
read only = no
admin users = suser

path = /home/lakeview/backup/inc/
read only = yes
I forgot the admin users line was in there, but no matter what I do I can't get write permissions for suser without it.