Samba permissions issue

Questions about applications and software
Forum rules
Before you post please read this

Samba permissions issue

Postby RedWagon on Thu Aug 06, 2009 6:06 pm

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?
User avatar
RedWagon
Level 5
Level 5
 
Posts: 644
Joined: Tue May 26, 2009 6:41 pm

Linux Mint is funded by ads and donations.
 

Re: Samba permissions issue

Postby RedWagon on Thu Aug 06, 2009 6:28 pm

Here is the servers smb.conf file:
Code: Select all
lakeview@mitx:~/md0/Pictures$ cat /etc/samba/smb.conf
[global]
netbios name = mitx
workgroup = LAKEVIEW
encrypt passwords = true

wins support = yes
os level = 33

security = user

browsable = yes

[raid]
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

[TimeMachine]
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.
User avatar
RedWagon
Level 5
Level 5
 
Posts: 644
Joined: Tue May 26, 2009 6:41 pm


Return to Software & Applications

Who is online

Users browsing this forum: krow7 and 14 guests