Ask a Question related to PHP Development, Design and Development.
-
Kev #1
mkdir need help
Hello Everyone,
I am using mkDir on my local machine with PHP and everythign works
fine. When I upload the code to the production server which is unix I
keep getting permission denied error. Now if I make the folder the
php file is in 777 I can create directoies in that directory with out
a problem but I cannot create a directory up on level. I really need
to be able to create a directory anywhere in my web structure.
What am I doing wrong? Everything works fine on windows but as soon
as I move the exact same code to unix permission denied all day long.
I have been stuck on this for 3 days now and really could use some
help/
Thanks.
Kev
Kev Guest
-
php mkdir touch time-date problem
Dear all, I have a problem which I can not explain-understand. I hope someone can help me. I use php under WinXP. I want to copy a dir to... -
#25315 [Fbk->Bgs]: vulnerability in mkdir and other unix-commands!
ID: 25315 Updated by: sniper@php.net Reported By: info at flashman dot ru -Status: Feedback +Status: ... -
#25315 [NEW]: vulnerability in mkdir and other unix-commands!
From: info at flashman dot ru Operating system: Linux pr5 2.4.18-3 PHP version: 4.3.1 PHP Bug Type: Directory function... -
Help needed on mkdir
>> On Tue, 29 Jul 2003 10:41:08 +0800, You don't need the quotes, you're not interpolating anything. Also the permissions are most easily... -
mkdir permission denied
On 6 Jul 2003 08:12:29 -0700, skywalker2070@hotmail.com (sky2070) wrote: You may be the administrator of the system, but the web server won't be... -
Alvaro G Vicario #2
Re: mkdir need help
*** Kev wrote/escribió (Tue, 07 Sep 2004 00:11:31 -0700):
You already found the solution, didn't you? The Linux permission system is> I am using mkDir on my local machine with PHP and everythign works
> fine. When I upload the code to the production server which is unix I
> keep getting permission denied error. Now if I make the folder the
> php file is in 777 I can create directoies in that directory with out
> a problem but I cannot create a directory up on level. I really need
> to be able to create a directory anywhere in my web structure.
>
> What am I doing wrong? Everything works fine on windows but as soon
> as I move the exact same code to unix permission denied all day long.
> I have been stuck on this for 3 days now and really could use some
> help/
rather simple. Each file and folder has three groups of three bits that
tell whether user/group/others can read/write/access (if directory) or
read/write/execute (if file). You upload files with your own FTP account
(let's say "john") so files so other users (such as "apache") cannot modify
your files unless you change its permissions. If it works fine for you
under Windows it's because your Windows file system doesn't put any
restriction about who can modify stuff.
--
-- Álvaro G. Vicario - Burgos, Spain
-- Thank you for not e-mailing me your questions
--
Alvaro G Vicario Guest



Reply With Quote

