LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 11-25-2005, 01:37 PM   #1
ZeroFill
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, 08:13 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
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.
 
  


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


All times are GMT -5. The time now is 11:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration