LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-12-2003, 08:14 AM   #1
jmarsh
Member
 
Registered: Dec 2002
Posts: 129

Rep: Reputation: 15
Post file permissions in samba


i have set up a samba server. the directory structure looks like this:

main directory - everybody can read this directory but cant change anything

subdirectory1 - everybody can read but only the group can write and
execute in it

subdirectory2 - same as subdirectory1

here is my problem. when people who are in the group subdirectory1 create a new folder or file, or move a folder or file to the samba box only they have a right to make changes to that folder or file, not everybody in the group. i need everybody in that group to be able to read, write and execute any file or folder created by anybody in the group. i have read about forced group and forced user but i believe that would only apply to the share, which is the main directory. please help if you can. thank you.
 
Old 02-12-2003, 08:30 AM   #2
Wolven
Member
 
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
force create mode = 770

in your

smb.conf

file.
This would allow anyone in the group to RWX the files created.

I'm not sure this is *exactly* the answer you're looking for... let me know, and I'll do what I can.


Edit:

Take a look at this..

http://daniel.fiser.cz/?go=samba


It's a tutorial for setting up a PDC with Samba, but it has some information that might apply to your situation.

Last edited by Wolven; 02-12-2003 at 08:40 AM.
 
Old 02-12-2003, 08:48 AM   #3
jmarsh
Member
 
Registered: Dec 2002
Posts: 129

Original Poster
Rep: Reputation: 15
do i put that in the global or share settings? and that seems like what i am looking for. thanks
 
Old 02-12-2003, 10:44 AM   #4
Wolven
Member
 
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
I'd try it in the share settings, and if it doesn't work, move it to global...
 
Old 02-12-2003, 10:51 AM   #5
jmarsh
Member
 
Registered: Dec 2002
Posts: 129

Original Poster
Rep: Reputation: 15
got it to work,, thanks
 
Old 09-07-2006, 09:35 AM   #6
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Rep: Reputation: 32
Quote:
got it to work,, thanks
so how about sharing your solution with us?
 
  


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 file permissions technochef Linux - Networking 1 09-25-2004 01:59 PM
Samba - File Permissions eklug Linux - Newbie 1 10-09-2003 05:28 PM
samba and file permissions jkraeger Linux - General 2 02-24-2003 02:06 PM
samba and linux file permissions? gene12 Linux - Networking 1 08-05-2002 02:58 PM
Changing file permissions on a SAMBA file share apenney Linux - Software 0 02-11-2002 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:32 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
Open Source Consulting | Domain Registration