Re: [PHP] Permission Denied - Help Requested - Solved

2011-03-30 Thread Ethan Rosenberg
At 12:07 AM 3/30/2011, Adam Richardson wrote: On Tue, Mar 29, 2011 at 8:21 PM, Ethan Rosenberg wrote: > At 05:33 PM 3/29/2011, Adam Richardson wrote: > >> > >> > Thanks. >> > >> > What do you see if you run this? "Can't open or create file!" >> > >> > Ethan >> >> >> OK, >> >> If you're running

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Adam Richardson
On Tue, Mar 29, 2011 at 8:21 PM, Ethan Rosenberg wrote: > At 05:33 PM 3/29/2011, Adam Richardson wrote: > >> > >> > Thanks. >> > >> > What do you see if you run this? "Can't open or create file!" >> > >> > Ethan >> >> >> OK, >> >> If you're running PHP as an Apache module, by default it won't ha

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Ethan Rosenberg
At 05:33 PM 3/29/2011, Adam Richardson wrote: > > Thanks. > > What do you see if you run this? "Can't open or create file!" > > Ethan OK, If you're running PHP as an Apache module, by default it won't have permissions to write to the directory (this is by design to avoid security issues.) Yo

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Adam Richardson
> > Thanks. > > What do you see if you run this? "Can't open or create file!" > > Ethan OK, If you're running PHP as an Apache module, by default it won't have permissions to write to the directory (this is by design to avoid security issues.) You can do something like the following: 1. C

RE: [PHP] Permission Denied - Help Requested

2011-03-29 Thread HallMarc Websites
Have you checked ownership? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Ethan Rosenberg
At 03:49 PM 3/29/2011, Al wrote: On 3/29/2011 3:06 PM, Ethan Rosenberg wrote: At 01:40 PM 3/29/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <> eth.

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Al
On 3/29/2011 3:06 PM, Ethan Rosenberg wrote: At 01:40 PM 3/29/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <> eth...@earthlink.net>eth...@earthlink.n

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Ethan Rosenberg
At 01:40 PM 3/29/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <> eth...@earthlink.net>eth...@earthlink.net> wrote: >> At 01:32 AM 3/28/2011, Hans Åhlin

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Adam Richardson
On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <> eth...@earthlink.net>eth...@earthlink.net> wrote: >> At 01:32 AM 3/28/2011, Hans Ã…hlin wrote: >> Do you have SELinux installed? >> >>

Re: [PHP] Permission Denied - Help Requested

2011-03-28 Thread Ethan Rosenberg
At 11:14 PM 3/28/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <eth...@earthlink.net> wrote: At 01:32 AM 3/28/2011, Hans Åhlin wrote: Do you have SELinux installed? 2011/3/28 Ethan Rosenberg <eth...@eart

Re: [PHP] Permission Denied - Help Requested

2011-03-28 Thread Adam Richardson
On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg wrote: > At 01:32 AM 3/28/2011, Hans Ã…hlin wrote: > >> Do you have SELinux installed? >> >> 2011/3/28 Ethan Rosenberg : >> > Dear List - >> > >> > Thanks for all your help in the past. Â Here is another one... >> > >> > I am getting a Permission D

Re: [PHP] Permission Denied - Help Requested

2011-03-28 Thread Ethan Rosenberg
At 01:32 AM 3/28/2011, Hans Åhlin wrote: Do you have SELinux installed? 2011/3/28 Ethan Rosenberg : > Dear List - > > Thanks for all your help in the past.  Here is another one... > > I am getting a Permission Denied" message when I try to run a PHP script.  I > just changed the mode on the

Re: [PHP] Permission Denied

2011-03-28 Thread Ethan Rosenberg
At 01:32 AM 3/28/2011, Hans Åhlin wrote: Do you have SELinux installed? 2011/3/28 Ethan Rosenberg : > Dear List - > > Thanks for all your help in the past.  Here is another one... > > I am getting a Permission Denied" message when I try to run a PHP script.  I > just changed the mode on the

Re: [PHP] Permission Denied

2011-03-27 Thread Hans Åhlin
Do you have SELinux installed? 2011/3/28 Ethan Rosenberg : > Dear List - > > Thanks for all your help in the past.  Here is another one... > > I am getting a Permission Denied" message when I try to run a PHP script.  I > just changed the mode on the directory and the files to 777.  This problem >

Re: [PHP] Permission Denied

2003-01-13 Thread Stephen
alloy" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 10:40 PM Subject: RE: [PHP] Permission Denied : I'm assuming you are using IIS. : : If your harddrive is formatted using NTFS,

Re: [PHP] Permission Denied

2003-01-13 Thread Stephen
: "'PHP List'" <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 11:05 PM Subject: RE: [PHP] Permission Denied : Who owns the htdocs root (I know it is Windows) when you right click you : should should see sharing/security. : : Do you if not what OS Ver are you

RE: [PHP] Permission Denied

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
[EMAIL PROTECTED]] > Sent: Monday, 13 January 2003 1:36 PM > To: [EMAIL PROTECTED] > Cc: PHP List > Subject: Re: [PHP] Permission Denied > > > Yes, I just added it but same error: > > Warning: mkdir(c:\inetpub\wwwroot\phpiw\packs\bob) > [function.mkdir]: Permission d

RE: [PHP] Permission Denied

2003-01-12 Thread Sean Malloy
le sharing <-- untick -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Monday, 13 January 2003 2:36 PM To: [EMAIL PROTECTED] Cc: PHP List Subject: Re: [PHP] Permission Denied Yes, I just added it but same error: Warning: mkdir(c:\inetpub\wwwroot\phpiw\packs\bob) [f

Re: [PHP] Permission Denied

2003-01-12 Thread Stephen
y Hitchens (HiTCHO)" <[EMAIL PROTECTED]> To: "'Stephen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 6:33 PM Subject: RE: [PHP] Permission Denied : Did you use the umask(0) prior to the mkdir() in your script?? : : : Timothy Hitche

RE: [PHP] Permission Denied

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
. > > > - Original Message - > From: "Jason Wong" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, January 12, 2003 4:03 AM > Subject: Re: [PHP] Permission Denied > > > : On Sunday 12 January 2003 10:10, Stephen wrote: > : >

Re: [PHP] Permission Denied

2003-01-12 Thread Stephen
OTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 4:03 AM Subject: Re: [PHP] Permission Denied : On Sunday 12 January 2003 10:10, Stephen wrote: : > There's already a folder named packs but my problem was not having the / : > before it. One more question. How can

Re: [PHP] Permission Denied

2003-01-12 Thread Jason Wong
On Sunday 12 January 2003 10:10, Stephen wrote: > There's already a folder named packs but my problem was not having the / > before it. One more question. How can I dynamically get the path to the > current folder? Like your at http://www.bob.com/joe/index.php and you want > to get the http://www.b

Re: [PHP] Permission Denied

2003-01-11 Thread jacob
The user/group (commonly nobody.nogroup or nobody.nobody) that your web server runs under probably does not have the permissions necessary to chmod those directories (ie: they are owned by someone else). Quoting Stephen <[EMAIL PROTECTED]>: > Why do I get this error whenever I try to CHMOD some

Re: [PHP] Permission Denied

2003-01-11 Thread Stephen
ginal Message - From: "Chris Hayes" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Sent: Saturday, January 11, 2003 8:49 PM Subject: Re: [PHP] Permission Denied : At 02:40 12-1-2003, you wrote: : >Why do I get this error whenever I try to CHMOD somet

RE: [PHP] Permission denied

2001-03-23 Thread John Almberg
Whoopee!!! After two days of propeller-spinning, I finally uploaded a file successfully!!! I had to use an FTP connection to do it, because my PHP process didn't have permission to write files to my directory, but that's fine. Here's the code snippet that worked the trick, with my servername/us

Re: [PHP] Permission denied

2001-03-23 Thread Adam Wright
is server side, nothing you change locally can affect it. adamw - Original Message - From: "John Almberg" <[EMAIL PROTECTED]> To: "PHP General List" <[EMAIL PROTECTED]> Sent: Friday, March 23, 2001 3:27 PM Subject: RE: [PHP] Permission denied > Adam, &g

RE: [PHP] Permission denied

2001-03-23 Thread John Almberg
Adam, Just ran phpinfo and you are correct: the Apache User/Group is "nobody". H'. This sounds like a problem. Hope there is an answer! - John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] Permission denied

2001-03-23 Thread John Almberg
Hi Adam, thanks for your quick repsonse. I'm just renting space on a (Linux/Apache) server, so I don't have any control over how PHP is configured on the machine. Perhaps there is a way for me to change my 'local' PHP configuration? I don't know much about this aspect of PHP, obviously. I'm just

Re: [PHP] Permission denied

2001-03-23 Thread Adam Wright
Don't forget, PHP (in general) runs as the webserver (normally "nobody" or "apache" for Apache servers). Make sure your webserver has write access to /home/jalmberg/public_html/qiksys/images/ adamw - Original Message - From: "John Almberg" <[EMAIL PROTECTED]> To: "PHP General List" <[EMA