Andreas Schwab wrote:
> Pádraig Brady <p...@draigbrady.com> writes:
> 
>> So would this simplification be appropriate, which just handles systems
>> where utime("file", &ut); is OK while utime("file", NULL); is not?
> 
> Note that utime(,0) requires less privileges than utime(,&ut).  For the
> latter you need to be owner, whereas the former only requires write
> access.

Ah right. I think that deserves a comment.

So in the utime("file", NULL) emulation,
should we only be handling S_ISREG?

cheers,
Pádraig.


Reply via email to