<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
<div class="moz-cite-prefix">On 04/20/2017 08:58 PM, qingwei wei
wrote:<br>
</div>
<blockquote
cite="mid:CAGjEAhu2UDZwBC9YWd1EBixCJk5eOOshy4Pn0aM3br3w9ksF8w@mail.gmail.com"
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
moz-do-not-send="true"
href="https://github.com/Hnasar/pjdfstest" target="_blank"
style="font-size:12.8px"><a class="moz-txt-link-freetext" href="https://github.com/Hnasar/">https://github.com/Hnasar/</a><wbr>pjdfstest</a><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><wbr style="font-size:12.8px"><span
style="font-size:12.8px">2deb3c0923ba</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>
This looks like a bug and needs to be verified.<br>
<br>
Please raise a bug here:<br>
<a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS&version=mainline&component=core">https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS&version=mainline&component=core</a><br>
<br>
- Saravana<br>
</body>
</html>