[Omake] FS case-sensitivity testing - if the name is non-alpha,
should we still test.
Jason Hickey
jyh at cs.caltech.edu
Mon Jun 4 11:29:57 PDT 2007
On Jun 4, 2007, at 9:37 AM, Aleksey Nogin wrote:
> So the question is - should OMake be changed to only resort to
> "invasive" testing (via the tmp file creation) when it actually
> cares? The issue here is that the "audit" of access failures is
> becoming more common (SELinux, etc, etc), so these tests are not
> always 100% harmless (as they cause people to start wondering what
> is going on)...
Hmm, could be. I don't quite understand your example, but in the end
it is the equality we care about. So, even if there is a numeric
name along the path, we still care, for example, if the following are
different.
/usr/kde/3.5/bin/KONSOLE
/usr/kde/3.5/BIN/konsole
Also, we should probably consider using access(2) (or similar, based
on stat) to detect the case where the directory is not writable.
This won't help if the directory looks writable but the fs is read-
only, but I think we would still catch the vast majority of cases.
Jason
--
Jason Hickey http://www.cs.caltech.edu/~jyh
Caltech Computer Science Tel: 626-395-6568 FAX: 626-792-4257
More information about the OMake-Devel
mailing list