Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-20-2011, 01:00 PM   #1
Registered: Jun 2005
Location: Sacramento, CA
Distribution: Many, Old and New
Posts: 124

Rep: Reputation: 15
Ownership on new files in group samba share set badly

I have a samba share for the group "Founders", when a person in the founders group creates a file it is given the ownership of USERNAME:USERGROUP my own would be created as pentaliveentalive.. I need them to be created as pentalive:founders (i am a member of group founders)

How can this be accomplished?

The segment from my smb.conf

comment = Founders Only
path = /samba/founders
browsable = no
available = yes
writeable = yes
guest ok = no
valid users = +founders

founders is just one of many groups I and the other founders are in.

Last edited by pentalive; 08-20-2011 at 01:01 PM.
Old 08-26-2011, 03:03 AM   #2
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252

To cause all files henceforth created in /samba/founders to be owned by the "founders" group, do the following.
chgrp founders /samba/founders && chmod g+s /samba/founders
1 members found this post helpful.


ownership, permissions, samba

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
change samba share permissions using CLI that were initially set with Nautilus lupusyonderboy1 Linux - Server 2 05-27-2009 04:27 PM
creating files from windows on a samba share gives read-only permissions. lievendp Linux - General 5 12-17-2008 10:55 AM
Using a Windows XP client to set permissions on a Samba share Wendellz Linux - Software 2 02-09-2007 08:01 AM
how to set Samba directory / share permissions rwtreke Linux - General 2 02-16-2006 03:24 PM
files&folders permissions under SAMBA share shani Linux - Software 2 11-20-2003 11:48 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration