[Bugs] [Bug 1176011] Client sees duplicated files

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 31 06:57:04 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1176011



--- Comment #16 from Nithya Balachandran <nbalacha at redhat.com> ---
>From https://www.freebsd.org/cgi/man.cgi?query=chmod&sektion=2

The FreeBSD VM system totally ignores the sticky bit (S_ISVTX) for executables.
   On UFS-based file systems (FFS,    LFS) the sticky    bit may    only be   
set upon directories.

This does seem like we cannot support UFS for Glusterfs bricks.


However, from my tests:

I was able to set the T bit if I built and ran the attached test file as root.


I wanted to try the same thing in the gluster code but I couldn't get it to
build after I made the changes in
/usr/ports/net/glusterfs/work/glusterfs-3.7.6/xlators/storage/posix/src/posix.c

If you can let me know how to do that, I can try it out anyway.

However, we do rely heavily on the sticky bit for some of our internal ops so I
would not recommend that UFS be used for the bricks if this is the expected
behaviour. Can you please try the same with XFS bricks and see if the problem
exists?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=3HzNh4apHg&a=cc_unsubscribe


More information about the Bugs mailing list