Permissions?

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
Redcircle
Moderator
Moderator
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Sat Mar 01, 2003 1:17 pm

your script is fine it's the test.file that does not have the correct permissions. You are opening test.file to write to it. So test.file needs write permissions on it. if the file does not exist yet you will need to create it and change the permissions of the output file to 777. another thing you can do is chown the directory to use the webserver user. usually nobody.

Let me know if you don't understand

User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Sun Mar 02, 2003 12:33 am

Hi Etic!
permission 644 for root.....
for all different users 777 but some hakers may use this.
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider] and 6 guests