FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Why would chmod( ... ) fail with "No such file or directory"
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Why would chmod( ... ) fail with "No such file or directory" [message #173165 is a reply to message #173161] Fri, 25 March 2011 14:14 Go to previous messageGo to previous message
Leonardo Azpurua is currently offline  Leonardo Azpurua
Messages: 46
Registered: December 2010
Karma:
Member
"Simon" <bad(at)example(dot)com> escribió en el mensaje
news:8v3gktFop0U1(at)mid(dot)individual(dot)net...
>
> I cannot add a file_exists(...) just before chmod(...) because
> between the call to file_exists(...) and chmod(...) I could loose
> ownership of the file.


Perhaps you should check for file_exists *before* fopen.

--
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cannot send emails
Next Topic: website developers requirements
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 22:44:46 GMT 2024

Total time taken to generate the page: 0.04204 seconds