[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: modify chmod
From: |
Paul Eggert |
Subject: |
Re: modify chmod |
Date: |
Sat, 30 Jan 2010 10:57:06 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Jim Meyering <address@hidden> writes:
> This new behavior could be useful...
> maybe noticeably more efficient in some cases, too.
> Perhaps worth a new option, if not the default.
In rereading the old bug report, I noticed that FreeBSD is listed as the
only OS that does things the more-efficient way. I looked at the
FreeBSD 8.0 chmod.c source, and what it actually does is apply the
optimization only if it knows that the file system does not have ACLs
(it calls something named "may_have_nfs4acl", because apparently NFSv4
ACLs might change even if you apply a mode that's the same as before).
I suggest that we do something similar.