homepage Welcome to WebmasterWorld Guest from 54.226.10.234
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Samba permissions
Mareq

5+ Year Member



 
Msg#: 1730 posted 9:25 pm on May 12, 2006 (gmt 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!

 

MattyMoose

10+ Year Member



 
Msg#: 1730 posted 10:17 pm on May 16, 2006 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved