Please don't reply to lustre-devel. Instead, comment in Bugzilla by using the
following link:
https://bugzilla.lustre.org/show_bug.cgi?id=11463
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
Created an attachment (id=9366)
Please don't reply to lustre-devel. Instead, comment in Bugzilla by using the
following link:
--> (https://bugzilla.lustre.org/attachment.cgi?id=9366&action=view)
patch for bug11463
root cause:
In normal situation, code path won't go into the kernel if chown to the same id
as before. That means chown will go to the kernel and change relative S_ISUID
and S_ISGID only if chown to different id.
But lfs quotachown call syscall directly and chown to the same id as before, it
is the cause.
solution:
Only when the id of chown is different from the former, S_ISUID and S_ISGID can
be changed.
_______________________________________________
Lustre-devel mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-devel