[Bugs] [Bug 1444537] Chmod of 7777 and 3777 not working

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 24 05:34:30 UTC 2017


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

Pranith Kumar K <pkarampu at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nbalacha at redhat.com,
                   |                            |pkarampu at redhat.com,
                   |                            |rgowdapp at redhat.com



--- Comment #1 from Pranith Kumar K <pkarampu at redhat.com> ---
This is a bug in dht it seems like. It is stripping PHASE1 flags
unconditionally.

(gdb)
1212                    DHT_STRIP_PHASE1_FLAGS (&local->stbuf);
(gdb) p local->stbuf.ia_prot
$18 = {
  suid = 1 '\001',
  sgid = 1 '\001', <-------
  sticky = 1 '\001', <-------
.........
}
(gdb) n
1213                    dht_set_fixed_dir_stat (&local->postparent);
(gdb) p local->stbuf.ia_prot
$19 = {
  suid = 1 '\001',
  sgid = 0 '\000', <-------
  sticky = 0 '\000', <-------
...

This is leading to 7777-->4777

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list