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

Home » Imported messages » comp.lang.php » Having trouble writing/copying/renaming file to sub-directory
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Having trouble writing/copying/renaming file to sub-directory [message #170969 is a reply to message #170968] Mon, 13 December 2010 08:12 Go to previous messageGo to previous message
alvaro.NOSPAMTHANX is currently offline  alvaro.NOSPAMTHANX
Messages: 277
Registered: September 2010
Karma:
Senior Member
El 13/12/2010 7:28, Robert Maas, http://tinyurl.com/uh3t escribió/wrote:
>> From: Jerry Stuckle<jstuck...@attglobal.net>
>> What's the userid php is running under?
>
> Trying to find that info...
[...]
> $uid = posix_getuid(); var_dump($uid);
> int(2001)
> Is that what you wanted to know?

Then it's clear why you can't write on it:

drwxr-xr-x 2 3237 vhosts 4096 Dec 11 02:10 RepSOAP

You need to set the "w" (write) permission for other users. You can
probably do it with your FTP client.


--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to generate cryptographically-secure random big-integers?
Next Topic: PHP Guestbook list on PHPKode.com
Goto Forum:
  

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

Current Time: Wed Nov 27 09:02:06 GMT 2024

Total time taken to generate the page: 0.07038 seconds