<br><br><div class="gmail_quote">On Wed, Apr 8, 2009 at 2:59 PM, Bruno Pinto <span dir="ltr"><<a href="mailto:bpbroas@gmail.com">bpbroas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br>My issue is as follows:<br><br>1 - I have a up and runnig samba server with all permissions set<br><br>2 - I have a couple of root users that have full permissions to access all other users homes<br><br>3 - home permissions are set as 0770<br>

<br>the problem:<br><br>1 - when creating a file/folder with user B on user A home<br><br>2 - it gains permissions 0770 ( so far so good )<br><br>3 - but file is set as user=B group=B<br><br>what i want<br><br>1 - to force samba to save as user=A group=A<br>

<br>2 - i've tryed <b>force user = %u</b> but i only managed to block access to the folder lol<br><br>If anyone as an idea please let me know<br><br>Thanks all</blockquote><div><br>>>>>>>>><br>
>>>>>>>>>>>>>>>>>>><br>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><br><br>Found the solution...<br>
<br>chmod -R g+s /folder/location<br><br>Ido understand all except the +s wich i'll look up later...<br><br>Thank you all <br></div></div><br>