LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-28-2008, 09:24 AM   #1
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Rep: Reputation: 30
small samba question


Okay, I know how to use create mask and directory mask, but is their a way to make folders that are created by users automatically belong to a set group ?
 
Old 08-28-2008, 09:32 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
force group = blahfasel
is the option I guess you're looking for.
Needs to be applied to [global] or to the designated [share] in the smb.conf
 
Old 08-28-2008, 09:33 AM   #3
CRC123
Member
 
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Rep: Reputation: 32
the 'force user = <username>' option will force all file creation/modification to be done under the <username> account. I don't know if there is one to do groups.

EDIT: odcheck solved it above
 
Old 08-28-2008, 09:35 AM   #4
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by odcheck View Post
force group = blahfasel
is the option I guess you're looking for.
Needs to be applied to [global] or to the designated [share] in the smb.conf


Thanks, you probably saved me an hour and a 1/2 of looking though samba files. You would think after reading the manual a thousand times I would have all of it memorized by now


Thanks again.
 
  


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
Small question about /etc/rc.local - Symbolic link question Arodef Linux - General 4 05-13-2006 02:29 AM
small samba question Gortex Linux - Networking 2 04-27-2006 07:50 AM
A very small, noobish Samba question Panzerfrost Linux - Networking 11 09-03-2003 04:18 AM
Small Samba Question! kith Linux - General 75 08-12-2003 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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