LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-16-2008, 11:00 PM   #1
shebatuni
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
Cannot Shared Folders with different rights using samba


I am a new guy in Linux system. I have set up Fedora 7 and shared folders using Samba.For the first time , I can assign folder A with user John,Alice with read and write rights. Then I create another share folder with Baker with right of read only to the same folder(folder A).
1) Now I should have Share A Folder with John and Alice - read and write
2) Second Share A with Baker with read only rights

After a few secinds, the both share changes the rights to read only.I am puzzled by this. Can anyone help me in this.
Please help me...
 
Old 07-17-2008, 07:01 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
You cannot create a second share of the same folder. You must put all of the users in the configuration of one share per folder. Here is some code from my Samba template file that has parts that you could use to accomplish your goal.
Code:
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
;   comment = Public Stuff
;   path = /home/samba/public
;   public = yes
;   writable = no
;   write list = @staff
# Audited directory through experimental VFS audit.so module:
# Uncomment next line.
#   vfs object = /usr/lib/samba/vfs/audit.so
Instead of "staff" you could have a group that has John and Alice as members. If you think about it a little bit and experiment a little bit you should soon have a samba.conf section that will create the share with the characteristics that you want.
 
  


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
Canīt see shared folders using Samba al2 Linux - Server 2 08-25-2007 12:52 PM
Samba shows shared folders in Windows but a Guest login pops up when trying to access ciphe Linux - Software 4 08-20-2007 11:55 AM
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 06:14 AM
Samba not accessing my Windows Shared folders Felpipe Linux - Networking 3 08-04-2005 08:34 AM
using gui browser with samba turns up empty shared folders wlfdgcrkz Linux - Software 1 04-25-2003 01:56 AM


All times are GMT -5. The time now is 03:23 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