|
Joined: Feb 2000
Posts: 15
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 15 |
Some CGI scripts I have made files that I can't even do anything to (other than rename). I can't CHMOD them, look at them, delete them, nothing. When I try, it says 550 Permission denied. What do I do?
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Uhh. Why are you CHMODing them to 550
------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster.
Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.
Sincerely, MasterMind
This message has been edited by MasterMind on November 13, 2000 at 08:02 PM
|
|
|
|
Joined: Oct 2000
Posts: 76
Member
|
Member
Joined: Oct 2000
Posts: 76 |
|
|
|
|
Joined: Feb 2000
Posts: 15
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 15 |
Read my post again. I said some CGI programs I have created files that I can't to anything to & it says 550 permission denied when I try to.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
I know what you meant. lol Anyways, that is the permission denied error. Either you don't have owner permissions on that file, or the extenstion is not understood. (Which, for some CGI scripts, is very easy)
More details would be helpful.
------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster.
Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.
Sincerely, MasterMind
|
|
|
|
Joined: Feb 2000
Posts: 15
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 15 |
Well, for example, I can't access the directory /cgi-bin/rushbb/Members/memlett.
|
|
|
|
Joined: Aug 2000
Posts: 13
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 13 |
Try CHMODing them 777 from inside a script.
#!/usr/bin/perl
chmod (0777,"/cgi-bin/rushbb/Members/memlett");
exit(0);
This message has been edited by Dufus on November 15, 2000 at 01:00 AM
|
|
|
|
Joined: Feb 2000
Posts: 15
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 15 |
Sounds like a good idea. I'll tell ya how it goes.
|
|
|
|
Joined: Feb 2000
Posts: 15
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 15 |
I made a file that had that & put it in the /cgi-bin/rushbb/Members directory & ran it. I got a 500 error (the perl path is right).
|
|
|
|
Joined: May 2000
Posts: 243
Member
|
Member
Joined: May 2000
Posts: 243 |
Do you have telnet access, maybe you could CHMOD them from that. BTW What is your server? ------------------ Powered by ZCom Bulletin Boards
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Maybe this before the CHMOD command: ------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster. Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop Due to time limitation, I do not offer support Via. E-mail. Please post on the forums. Sincerely, MasterMind
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
I tried that simple CHMOD script with and without the print line. It works fine.
Did you CHMOD that script to 755 and make it .pl (not cgi)?
------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster.
Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.
Sincerely, MasterMind
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
nm.
------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster.
Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.
Sincerely, MasterMind
This message has been edited by MasterMind on November 15, 2000 at 08:26 PM
|
|
|
|
Joined: Feb 2000
Posts: 15
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 15 |
Putting "print ("Content-type: text/htmlnn");" & making it .pl worked just fine. Thanks!
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Your welcome...
------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster.
Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.
Sincerely, MasterMind
|
|
|
|
Joined: Aug 2000
Posts: 13
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 13 |
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 808
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|