LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 12: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, 07:13 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:35 PM.

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
Open Source Consulting | Domain Registration