[PHP] Mkdir!

2002-08-04 Thread Georgie Casey
When I create directories in PHP through the mkdir() command, what number should I set the mode so I have the priveleges to delete the directory through FTP? I used to always set them to 777 but then when I try to delete the directories in FTP, it doesnt let me, and I have to write a PHP script

[PHP] mkdir()

2001-11-28 Thread Christoph Starkmann
Hi there! I got the following problem: I want to mirror a complete directory tree. Now I traverse the original tree, do changes to some of the files and want to write the resulting files to a parallel directory. Lets say $INPUT_PATH is the source path and $OUTPUT_PATH is where I want to put

Re: [PHP] mkdir()

2001-11-28 Thread Andrey Hristov
28, 2001 12:32 PM Subject: [PHP] mkdir() Hi there! I got the following problem: I want to mirror a complete directory tree. Now I traverse the original tree, do changes to some of the files and want to write the resulting files to a parallel directory. Lets say $INPUT_PATH is the source

[PHP] MKDIR Permission Denied

2001-10-25 Thread Jeff Gannaway
? $GalleryPHPName = Pins; mkdir (../$GalleryPHPName, 0775); ? Results in... MkDir failed (Permission denied) Any thoughts? -Jeff Gannaway ___ Save 15% on 2002 Calendars and Holiday Cards! http://www.AvantGifts.com Discount Code:

Re: [PHP] MKDIR Permission Denied

2001-10-25 Thread Kurt Lieber
On Thursday 25 October 2001 10:08, you wrote: ? $GalleryPHPName = Pins; mkdir (../$GalleryPHPName, 0775); ? Results in... MkDir failed (Permission denied) When you use a file-related command (fopen, mkdir, etc.) you're executing that command under the same user-context that apache runs

Re: [PHP] MKDIR Permission Denied

2001-10-25 Thread Mike Eheler
a) check to see if the user that apache is running as has access to the directory you're trying to write to. b) try removing the quotes around 0775 Mike Jeff Gannaway wrote: ? $GalleryPHPName = Pins; mkdir (../$GalleryPHPName, 0775); ? Results in... MkDir failed (Permission denied) Any

Re: [PHP] MKDIR Permission Denied

2001-10-25 Thread Chuck Theobald
Jeff, If this script is running as nobody, or some other low-class user, and the permissions on the directory in which you are attempting to create a sub-directory do not allow the creation of the sub-directory by this user, then mkdir will fail. Say your script resides in 'php-stuff' with

Re: [PHP] MKDIR Permission Denied

2001-10-25 Thread Jeff Gannaway
How do I set permissions for a certain user (ie nobody) for a directory? If I do this, won't anyone on teh server be able to write to that directory? Thanks, Jeff At 10:39 AM 10/25/01 -0700, Kurt Lieber wrote: On Thursday 25 October 2001 10:08, you wrote: ? $GalleryPHPName = Pins; mkdir

Re: [PHP] MKDIR Permission Denied

2001-10-25 Thread Kurt Lieber
On Thursday 25 October 2001 11:41, you wrote: How do I set permissions for a certain user (ie nobody) for a directory? If I do this, won't anyone on teh server be able to write to that directory? If you're going to start messing around with *nix permissions, you really, really need to have a

[PHP] mkdir failed

2001-08-28 Thread Christian Darsow
hi everybody! i have an account at strato (german provider) who hosts my php-scripts. now i want to make a dir with mkdir(../tmp/$id, 0777) it doesn't work at all eventhough the rights of tmp are set to 777. the script also doesn't alert anything, not a failed or anything.. does

[PHP] mkdir Question

2001-08-26 Thread Jeff Oien
When using this command: mkdir (/usr/www/users//blah/blah/$username, 0777); it sets it to nobody instead of my username. I'm then unable to delete or modify files in that directory. Is there a way around this? Thanks. Jeff Oien -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] mkdir Question

2001-08-26 Thread Gianluca Baldo
Jeff JO mkdir (/usr/www/users//blah/blah/$username, 0777); JO it sets it to nobody instead of my username. Nobody is the user runng the Apache process that's why it is the owner of the directory. You can chown the direcotry from your PHP script after you create it or chmod the files you copy

RE: [PHP] mkdir Question

2001-08-26 Thread Jeff Oien
However even the permission of 0777 doesn't let me do anything to the directory or files in it. I can't even chown or chmod anything in it using Telnet once it's created. Jeff Oien Jeff JO mkdir (/usr/www/users//blah/blah/$username, 0777); JO it sets it to nobody instead of my username.

RE: [PHP] mkdir Question

2001-08-26 Thread Javi - NeoDigit
] WhiteCrown Networks - More Than White Hats Web Application Security - www.whitecrown.net */ - Original Message - From: Jeff Oien [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Sunday, August 26, 2001 4:41 PM Subject: RE: [PHP] mkdir Question | However even the permission of 0777

RE: [PHP] mkdir

2001-07-30 Thread Jerry Lake
-Original Message- From: mike cullerton [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 28, 2001 7:31 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] mkdir On Sat, 28 Jul 2001, Jerry Lake wrote: when using mkdir I cant seem to make subdirectories ? $oldumask = umask(0); mkdir('test/test

Re: [PHP] mkdir

2001-07-28 Thread Michael Hall
This type of problem usually turns out to be a permissions issue. Can Apache/nobody write to the parent directory? Mick On Sat, 28 Jul 2001, Jerry Lake wrote: when using mkdir I cant seem to make subdirectories ? $oldumask = umask(0); mkdir('test/test', 0777); umask($oldumask); ? is

Re: [PHP] mkdir

2001-07-28 Thread mike cullerton
On Sat, 28 Jul 2001, Jerry Lake wrote: when using mkdir I cant seem to make subdirectories ? $oldumask = umask(0); mkdir('test/test', 0777); umask($oldumask); ? is there any way to do this ? does the first test directory already exist? you may need to make them in two steps. i believe

[PHP] mkdir

2001-07-27 Thread Jerry Lake
when using mkdir I cant seem to make subdirectories ? $oldumask = umask(0); mkdir('test/test', 0777); umask($oldumask); ? is there any way to do this ? Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com --

[PHP] MkDir failed (Permission denied)

2001-03-10 Thread Dan Pupek
I am pretty new to PHP but have used other scripting languages. I am trying to use to mkdir() function on an apache server and keep getting this error MkDir failed (Permission denied). I don't have physical access to the server. What's up? Thanks in advance for any help. Dan Pupek On the Web:

Re: [PHP] MkDir failed (Permission denied)

2001-03-10 Thread Colin May
Quoting Dan Pupek (Sat, Mar 10, 2001 at 02:49:40PM -0600) I am pretty new to PHP but have used other scripting languages. I am trying to use to mkdir() function on an apache server and keep getting this error MkDir failed (Permission denied). I don't have physical access to the server.

<    1   2