Re: utimes() with vfat is problematic

From: Pawel Dziepak
Date: Tue Jul 10 2007 - 12:54:50 EST


On 7/10/07, Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> wrote:
Linux does check for write permission, but _only_ for time=NULL.
Hence it would be helpful if someone knows the exact SUS text,
or whether this is not explicitly specified in SUS, leaving room
for interpretation.
I have already checked it strictly. This "problem" occurs not only on
vfat partitions. You can *not* do uptime() for time!=NULL if you are
not a file owner. So, everything in Linux is correct.
It is not possible to solve your problem without changing SUS, it is
not even a problem...
I made mistake in my first post, because I was too implied by piece of
code that you've quoted.

Pawel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/