Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-25-2005, 12:37 PM   #1
LQ Newbie
Registered: Sep 2003
Distribution: FC4, RHEL4
Posts: 2

Rep: Reputation: 0
User owns everything in samba share

I've tried to search for this but couldn't come up with a solution. The closest I've come across is switching to NFS to retain file permissions/ownership leading me to believe this is by design.

Anyways, whenever I smbmount the Samba shares on my desktop, the user that performed the mount will get total ownership. The mounted Samba share doesn't show owner/group as it shows on the server itself. Is there a way around this?

Using Samba v3.0.14a-2
Both computers FC4
Old 11-26-2005, 07:13 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
The smb protocol doesn't account for posix style permissions. On the samba side you can keep the permissions consistent by setting the sticky bit on the directories and setting the appropriate masks in smb.conf for files and directories.


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
samba security: user vs share jiml8 Linux - Security 4 03-01-2005 06:12 AM
Samba :share files from home directory to an other user flashdelux Linux - Software 0 11-29-2004 12:57 PM
samba user and share access? Moebius Linux - Software 3 08-30-2004 02:09 PM
Samba - Combination of user and share level security? kleptophobiac Linux - Software 0 07-20-2004 02:15 PM
XP user can't access samba share atp777 Linux - Software 0 03-30-2004 05:33 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:01 PM.

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