LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-06-2010, 10:03 AM   #1
gw1500se
Member
 
Registered: Mar 2004
Distribution: Mandriva 2010.0
Posts: 223

Rep: Reputation: 30
Directory Ownership on Samba Shares [SOLVED]


I have 2 identically configured directories (in Webmin) that I am sharing out via Samba. One works RW and the other works RO. The only difference I can find so far is that the RW directory is owned by 'root', while the RO directory, is owned by another user (permissions are the same, 777). Why does the directory owner have to be 'root' for RW? Is there another configuration parameter that I need to add so that the non-root owned directory can be shared RW? TIA.

Last edited by gw1500se; 05-07-2010 at 09:43 AM.
 
Old 05-07-2010, 09:42 AM   #2
gw1500se
Member
 
Registered: Mar 2004
Distribution: Mandriva 2010.0
Posts: 223

Original Poster
Rep: Reputation: 30
I figured out how to fix the problem, however, I don't really understand why Samba was implemented this way. It seems that even though the Samba server is running as 'root', the Unix directory permissions override the Samba permissions. I had to add RW permissions to the directory's group and then add the non-root user to that group. It seems to me the Samba permissions should determine access as now I have permissions set less secure as result.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Active Directory integration on Samba shares Ziggie Linux - Enterprise 7 10-22-2007 07:58 AM
Files created with root ownership on SAMBA Windows shares sixerjman Linux - Software 5 03-08-2007 08:39 AM
/mnt directory stalls because of samba shares quantum10 Linux - Software 0 05-14-2004 10:41 AM
samba directory ownership problems in domain mode calpha Linux - Networking 0 01-09-2004 07:42 PM
samba home directory shares walewis Linux - Software 8 09-28-2003 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration