bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: touch gets stuck for named pipes


From: Pádraig Brady
Subject: Re: touch gets stuck for named pipes
Date: Thu, 9 Apr 2009 10:16:45 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Andreas Schwab wrote:
> Pádraig Brady <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]