<div dir="ltr">Hi,<br><br>below is an excerpt of &#39;man creat&#39;<br><br><font size="2"> O_CREAT<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If the file does not exist it will be created.&nbsp; The owner (user ID) of the file is set to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the effective user ID of the process.&nbsp; <b>The group ownership (group ID) is&nbsp; set&nbsp; either&nbsp; to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the effective group ID of the process or to the group ID of the parent directory</b> (depend-<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ing on filesystem type and mount options, and the mode of the parent directory, see,&nbsp; for<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; example,&nbsp; the mount options bsdgroups and sysvgroups of the ext2 filesystem, as described<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; in mount(8)).<br><br>glusterfs is setting the group ownership to effective group id of the process.<br><br>regards,<br><br></font><div class="gmail_quote">On Tue, Aug 26, 2008 at 5:51 AM, Dai, Manhong <span dir="ltr">&lt;<a href="mailto:daimh@umich.edu">daimh@umich.edu</a>&gt;</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;">






<div>


<p><font size="2">Hi,<br>
<br>
<br>
This test is done under ext3 file system<br>
[root@bass1 ~]# id<br>
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)<br>
[root@bass1 ~]# ll -d a<br>
drwxr-sr-x 2 root allusers 4096 Aug 25 21:44 a<br>
[root@bass1 ~]# touch a/b<br>
[root@bass1 ~]# ll a/b<br>
-rw-r--r-- 1<br>root allusers 0 Aug 25 21:44 a/b<br>
<br>
<br>
This test is done under glusterfs file system<br>
[root@bass1 home]# ll -d a<br>
drwxr-sr-x 2 root allusers 6 Aug 25 21:45 a<br>
[root@bass1 home]# touch a/b<br>
[root@bass1 home]# ll a/b<br>
-rw-r--r-- 1 root root 0 Aug 25 21:46 a/b<br>
<br>
<br>
As we see here, the file b should belong to group allusers.<br>
<br>
Doesn&#39;t gluster support this feature? which could make group sharing easy. I would rather I did something wrong, please tell me how to fix this problem.<br>
<br>
<br>
Best,<br>
Manhong<br>
</font>
</p>

</div>
<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Raghavendra G<br><br>A centipede was happy quite, until a toad in fun,<br>Said, &quot;Prey, which leg comes after which?&quot;,<br>This raised his doubts to such a pitch,<br>
He fell flat into the ditch,<br>Not knowing how to run.<br>-Anonymous<br>
</div>