473,796 Members | 2,788 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

folder created, but no access

Hi there,

thats an error i try to solve for quite a while already but didn't find a
solution yet.
My problem: I'm writing a little cms, that should create a folderstructure ,
so that you can put files in via ftp.

My script (simplified):
mkdir("00000031 ",0777); // creates a folder named with the id of a
database-record e.g. 00000031
chmod("00000031 ",0777); // sets the rights again to be sure, because i
experienced problems with mkdir not doing it sometimes in the past
chdir("00000031 "); // should change to the folder but leads to:

Warning: SAFE MODE Restriction in effect. The script whose uid is 611 is not
allowed to access 00000035 owned by uid 60000 in /[...]/admin/admin.php on
line 85

Its clear, the script belongs to me (user 611) but the folder belongs to the
PHPuser 60000.
The Trial to solve this using mit (chown("0000003 1",611); ) unfortunately
leads to:

Warning: chown failed: Operation not permitted in /[...]/admin/admin.php on
line 84

What can i do in order to get access to the folder, for putting more folders
and files inside?
Thanks in advance,

Christopher
Jul 16 '05 #1
1 2159
"christophe r vogt" <ch************ **@rwth-aachen.de> wrote in message
news:bi******** **@nets3.rz.RWT H-Aachen.DE...
Hi there,

thats an error i try to solve for quite a while already but didn't find a
solution yet.
My problem: I'm writing a little cms, that should create a folderstructure , so that you can put files in via ftp.

My script (simplified):
mkdir("00000031 ",0777); // creates a folder named with the id of a
database-record e.g. 00000031
chmod("00000031 ",0777); // sets the rights again to be sure, because i
experienced problems with mkdir not doing it sometimes in the past
chdir("00000031 "); // should change to the folder but leads to:

Warning: SAFE MODE Restriction in effect. The script whose uid is 611 is not allowed to access 00000035 owned by uid 60000 in /[...]/admin/admin.php on
line 85

<snip>

This seems to be a case (as displayed in the clever error message) of php
being run in safe mode. Look that up and you'll have your answer and
possibly a solution if it is within your grasp (ie: you have access to the
server in question).
Jul 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1611
by: Eike | last post by:
Hi, I am unable to delete a subfolder that I have created programatically. I am using a modification of the apiSHFileOperation by Dev Ashish (http://www.mvps.org/access/api/api0026.htm) to copy the files. A File Copy function is called as part of a loop to copy a series of files from a variety of locations that are stored in the database. All the files are copied to a folder specified by the user. Once the user has used this folder (to...
1
2024
by: bcanavan | last post by:
I'm trying to link a remote client Access app (through the internet) to an mdb in a web folder on my web server. The idea is to give users readOnly access to the web folder mdb, which itself links to SQL Server 2000. Users are not permitted to connect directly to SQL Server because it's outside our dmz. I have succesfully created a WebDAV on our Win2003 Server web server and granted readOnly permission to the users, who are listed in...
2
2107
by: | last post by:
Let me explain step wise. 1.. I have a site running on port 5555 2.. If contains web.config file with contains <Forms> authentication. 3.. The site contains a sub-folder named "MembersArea" which contains ss.aspx 4.. ss.aspx contains page_load event which prints Response.Write(Page.User.Identity.Name); 5.. Everything work proper untill here 6.. Now i want to have one more web.config file for folder "MembersArea" , I know i just...
1
2211
by: Tai Ming | last post by:
Hi I am trying to create an asp.net application (using Visual Studio.net 2002 on an xpPro machine). However, I need the application to be created in a folder somewhere other than in wwwroot (this is very important as some sometimes we have to install our software in specific places Is there any way to set VS to do this automatically? I have been trying for hours now to do this. I have created a virtual directory in IIS and pointed it to a...
6
3934
by: jzdeng | last post by:
Hi, All I use VS 2005 to create a web service. The web service is used to create a sheared folder. It works fine we I run it from VS 2005. But, when I move it to inetpub, it does not work (folder is created but is not shared). Does anyone know how to solve this problem? Thanks.
17
3154
by: rdemyan via AccessMonster.com | last post by:
With A2003, I'm having trouble accessing files in a folder on another computer where back-end files, update files, etc are located. Here's the scenario: 1) Computer #1 - A2003 2) Computer #2 - Access 2000; folder with back-ends for both computers and 'Update' folder. I have a launcher program that launces my application (MyApp). The launcher program also checks for updates to MyApp located in 'Update' folder (on
4
5773
by: tommaso.gastaldi | last post by:
If one does not configure a virtual dir as an IIS application, he/she receives the common error: ---------------------------------------- Server Error in '/' Application. .... This error can be caused by a virtual directory not being configured as an application in IIS. ---------------------------------------- Assume that I have a remote site: http://Mysite/MyApps/MyAppDir
8
3873
by: paquer | last post by:
Database Users need to have Read/Write etc... permissions to the folder where the Database resides in order to create the lock file. I have read only users. I have set up the Shortcut that links to the 'Workgroup Info File' with permissions for said database. Within this 'WIF' File I have "Read Only" user's who are only provided access to the DB only so they can view the data. Now if I give them full permissions to the folder where...
6
4350
by: ManagedCoder | last post by:
Hi, My requirement is as follows: I need to set the HttpExpires (enable content expiration - set to 7 days) on a folder within a virtual directory. I have been able to set the HttpExpires property on a virtual directory using the following code: DirectoryEntry myVdPath = new
9
2920
by: Keith G Hicks | last post by:
I'm having a lot of trouble with "file in use" errors in my "folder watcher" project. Starting and stopping the watcher and reading my XML file work fine. Once the watcher is started, I'm reading the text files from the watched folder line by line into variables and then posting them to a SQL table. All of the code for the form is shown below. And it works fine except for 2 issues. First issue: In the Finally of the Try for teh SQL...
1
10190
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10019
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9057
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7555
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6796
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4122
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.