LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2005, 09:01 PM   #1
eagle63
LQ Newbie
 
Registered: Mar 2005
Posts: 29

Rep: Reputation: 15
setting permissions for samba share


Hi guys, I've got 2 Linux boxes - both running FC3. On box 1, I've created a samba share of my "music" folder. It has full read/write permissions for all users. On box 2, using the smbmount command, I create a mount point called /mnt/music. This all works just fine. However, the permissions for /mnt/music on box 2 are rwx only for the owner, which is root. I need to have write permissions for other users, but if I try to set the permissions by typing:
# chmod a+w /mnt/music
it doesn't change anything. (it doesn't give an error, but it also doesn't change any permissions)

I've tried using the rw option in smbmount, but that doesn't make a difference either. Any ideas?? I'm fairly new to Linux so I'm sure there's something obvious I'm missing. Thanks!
 
Old 12-23-2005, 09:22 PM   #2
DarkElf109
Member
 
Registered: Dec 2005
Location: Phoenix, AZ
Distribution: Ubuntu, Debian, Gentoo
Posts: 43

Rep: Reputation: 15
You have to set the username of the owning user and/or group on mount by appending:

Code:
-o uid=<username>,gid=<groupname>
So long as reading and writing are permitted on the share from the server side, you should be allowed to make whatever changes you want from the client side as the user or group member of the specified group.
 
Old 12-23-2005, 09:53 PM   #3
eagle63
LQ Newbie
 
Registered: Mar 2005
Posts: 29

Original Poster
Rep: Reputation: 15
That did it, thanks!
 
  


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 share permissions anorman Linux - Software 1 10-22-2005 03:49 AM
I need help setting samba share permissions. trilect Linux - Software 10 08-24-2004 08:56 AM
samba share permissions? psychomaniac Linux - Software 4 04-29-2004 03:22 PM
Samba Share Permissions stever Linux - Newbie 4 05-17-2003 03:26 AM
WinXP samba share - permissions? armstrj Linux - General 0 04-08-2002 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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