public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* fallocate() on XFS clobbers S*ID-bits
@ 2010-10-07 18:34 Andreas Wiese
  2010-10-07 23:24 ` Dave Chinner
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Wiese @ 2010-10-07 18:34 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Ciaran McCreesh

Hello.

I (with support from Cc'ed Ciaran) just noticed some odd behaviour with
fallocate() on XFS.  After open()ing some file and setting it S*ID via
fchmod(), S*ID bits vanish after calling fallocate() — as supposed to
for non-root users, but it also happens for root.

Is this intended behaviour or did we spot a bug here?

At least on ext2 it works as expected, thus I guess it's the latter one.

I'm running v2.6.35.7 vanilla-kernel, but diffing fs/xfs to master
doesn't seem to address this issue.

HAND & LG -- aw
-- 
This signature is intentionally left blank.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-08  9:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07 18:34 fallocate() on XFS clobbers S*ID-bits Andreas Wiese
2010-10-07 23:24 ` Dave Chinner
2010-10-08  9:26   ` Andreas Wiese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox