Welcome to WebmasterWorld Guest from 100.26.176.182

Forum Moderators: bakedjake

Message Too Old, No Replies

Samba permissions

     
9:25 pm on May 12, 2006 (gmt 0)

New User

10+ Year Member

joined:Dec 30, 2004
posts:12
votes: 0


I've set up samba server on my linux box, but I'm experiencing troubles with permissions. When I log in using ssh (user myusr, group mygrp)and I try to modify file with 060 (--- rw- ---) permissions, owner nobody and group mygrp, everything goes well. But it is impossible to modify this file through samba - I can only read that file, but can not modify it.

My smb.conf is written like this:
[dir]
comment = samba share
writable = yes
public = no
browsable = yes
path = /home/public/share

Please, help!

10:17 pm on May 16, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:Aug 28, 2003
posts:366
votes: 0


Most likely it's because the samba user runs typically as 'nobody' on the system. You can either change the user it runs as (not recommended), or change your permissions. You can do this through extended ACLs, if your filesystem supports it. (I don't think ext3 supports extended ACLs). Or you can change the permissions to be more permissive.

Matt

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members