<div dir="ltr"><div>Hi Saravana,</div><div><br></div><div>I submitted just now.<br></div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1444537">https://bugzilla.redhat.com/show_bug.cgi?id=1444537</a><br></div><div><br></div><div>Cw</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 21, 2017 at 8:15 PM, Saravanakumar Arumugam <span dir="ltr"><<a href="mailto:sarumuga@redhat.com" target="_blank">sarumuga@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi,<div><div class="h5"><br>
<br>
<div class="m_-2192535834837976473moz-cite-prefix">On 04/20/2017 08:58 PM, qingwei wei
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><span style="font-size:12.8px">Hi,</span><br style="font-size:12.8px">
<br>
Posted this in gluster-user mailing list but got no response so
far, so i post in gluster-devel.
<div><br>
<span style="font-size:12.8px">I found this test suite (</span><a href="https://github.com/Hnasar/pjdfstest" style="font-size:12.8px" target="_blank"></a><a class="m_-2192535834837976473moz-txt-link-freetext" href="https://github.com/Hnasar/" target="_blank">https://github.com/Hnasar/</a>pjd<wbr>fstest<span style="font-size:12.8px">) for me to test fuse mount gluster
and there is some reported issue from the test. One of the
error is as follow.</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">When i chmod 7777 to a file in
fuse mounted gluster volume. the return stat value for the
file is not 7777 instead of 4777.</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<font style="font-size:12.8px" face="monospace, monospace">root@ubuntu16d:/mnt/g310mp#
touch test<br>
root@ubuntu16d:/mnt/g310mp# chmod 7777 test<br>
root@ubuntu16d:/mnt/g310mp# stat test<br>
File: 'test'<br>
Size: 0 Blocks: 0 IO Block: 131072
regular empty file<br>
Device: 29h/41d Inode: 9618589997017543511 Links: 1<br>
Access: (4777/-rwsrwxrwx) Uid: ( 0/ root) Gid: (
0/ root)<br>
Access: 2017-11-30 14:21:23.374871207 +0800<br>
Modify: 2017-11-30 14:21:16.974871000 +0800<br>
Change: 2017-11-30 14:21:23.374871207 +0800<br>
Birth: -</font><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">Performing this operation in
normal ext4 system produce correct result.</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<font style="font-size:12.8px" face="monospace, monospace">root@ubuntu16d:/mnt/g310mp#
touch ~/testfile<br>
root@ubuntu16d:/mnt/g310mp# chmod 7777 ~/testfile<br>
root@ubuntu16d:/mnt/g310mp# stat ~/testfile<br>
File: '/home/ubuntu/testfile'<br>
Size: 0 Blocks: 0 IO Block: 4096
regular empty file<br>
Device: fc00h/64512d Inode: 662649 Links: 1<br>
Access: (7777/-rwsrwsrwt) Uid: ( 0/ root) Gid: (
0/ root)<br>
Access: 2017-11-30 14:23:00.518867795 +0800<br>
Modify: 2017-11-30 14:23:00.518867795 +0800<br>
Change: 2017-11-30 14:23:08.742867507 +0800<br>
Birth: -</font><br style="font-size:12.8px">
<span style="font-size:12.8px"> </span><br style="font-size:12.8px">
<span style="font-size:12.8px">Besides 7777, 3777 also an
issue. The stat return is 0777.</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">My OS is Ubuntu 16.04 and my
gluster version is 3.10.1 and the it is a simple volume with
default parameter.</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">root@ubuntu16d:/mnt/g310mp#
gluster volume info</span><br style="font-size:12.8px">
<br style="font-size:12.8px">
<span style="font-size:12.8px">Volume Name: g310</span><br style="font-size:12.8px">
<span style="font-size:12.8px">Type: Distribute</span><br style="font-size:12.8px">
<span style="font-size:12.8px">Volume ID:
114666c6-4884-436a-81a8-</span><span style="font-size:12.8px">2deb3c<wbr>0923ba</span><br style="font-size:12.8px">
<span style="font-size:12.8px">Status: Started</span><br style="font-size:12.8px">
<span style="font-size:12.8px">Snapshot Count: 0</span><br style="font-size:12.8px">
<span style="font-size:12.8px">Number of Bricks: 1</span><br style="font-size:12.8px">
<span style="font-size:12.8px">Transport-type: tcp</span><br style="font-size:12.8px">
<span style="font-size:12.8px">Bricks:</span><br style="font-size:12.8px">
<span style="font-size:12.8px">Brick1:
192.168.36.130:/mnt/g310brick</span><br style="font-size:12.8px">
<span style="font-size:12.8px">Options Reconfigured:</span><br style="font-size:12.8px">
<span style="font-size:12.8px">transport.address-family: inet</span><br style="font-size:12.8px">
<span style="font-size:12.8px">nfs.disable: on</span><br style="font-size:12.8px">
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">for me, i seldom use those mode
(3777 & 7777) but i cannot say for sure for others. So
is this something i should be concerned about?</div>
<div style="font-size:12.8px"><br>
</div>
</div>
</div>
</blockquote>
<br></div></div>
This looks like a bug and needs to be verified.<br>
<br>
Please raise a bug here:<br>
<a class="m_-2192535834837976473moz-txt-link-freetext" href="https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS&version=mainline&component=core" target="_blank">https://bugzilla.redhat.com/<wbr>enter_bug.cgi?product=<wbr>GlusterFS&version=mainline&<wbr>component=core</a><br>
<br>
- Saravana<br>
</div>
</blockquote></div><br></div>