Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
help with file rights & php
Old 05-04-2005, 07:09 AM help with file rights & php
Junior Talker

Posts: 2
Trades: 0
Hi.

I got a big problem (or maybe im just lame) with file rights ...
I mean i cant delete/add any files from a server - in any possible way (ftp, php script) and dunno why :/ Maybe i did sth wrong but i dont think so ...
Did anyone have that kind of problem ?
Any help welcome.

Thx.
_sid is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-04-2005, 02:48 PM
Skorch1's Avatar
Super Talker

Posts: 115
Location: California
Trades: 0
Check your file perms (listed after your file name in your online firectory) 644 means that only the server is allowed to delete or modify it. You could be set to 444 meaning noone can alter the file. 755 is what most php scripts run with it means the same thing as 644 so if the perms are 555 you won't delete anything. Just click update perms or the triple number and use 755 or 644 (666 & 777 gives anyone the right to changge, move or delete the improperly permed file.) Most ftp servers have a built-in file "permer" meaning you can specify a default perm( again use 644 or 755, there are exceptions but these are very limited, like a guestbook temp folder needs 777 so anyone can alter this file or in this case leave a message!)

hope it helped!

http://12feetunder.com
Skorch1 is offline
Reply With Quote
View Public Profile Visit Skorch1's homepage!
 
Old 05-04-2005, 06:12 PM
Junior Talker

Posts: 2
Trades: 0
i forgot to add that files perms are set to 644 and directoris are 755 ...
_sid is offline
Reply With Quote
View Public Profile
 
Old 05-05-2005, 08:03 AM
Recrehal's Avatar
Experienced Talker

Posts: 39
Location: Aachen, Germany
Trades: 0
Is safemode activated? You should have a php_tmp directory to create files in. However you can only create files in directories not created by php. These restrictions result in you beeing forced to move around lots of file by hand O_o.
Recrehal is offline
Reply With Quote
View Public Profile Visit Recrehal's homepage!
 
Reply     « Reply to help with file rights & php
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28991 seconds with 12 queries