Previous Thread
Next Thread
Print Thread
Rate Thread
#101710 11/13/2000 8:29 PM
Joined: Feb 2000
Posts: 15
Junior Member
Junior Member
Offline
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?

Sponsored Links
#101711 11/13/2000 9:01 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
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

#101712 11/13/2000 9:21 PM
Joined: Oct 2000
Posts: 76
Member
Member
Offline
Joined: Oct 2000
Posts: 76

#101713 11/14/2000 8:07 AM
Joined: Feb 2000
Posts: 15
Junior Member
Junior Member
Offline
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.

#101714 11/14/2000 4:50 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
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

Sponsored Links
#101715 11/14/2000 6:59 PM
Joined: Feb 2000
Posts: 15
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 15
Well, for example, I can't access the directory /cgi-bin/rushbb/Members/memlett.

#101716 11/15/2000 1:59 AM
Joined: Aug 2000
Posts: 13
Junior Member
Junior Member
Offline
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

#101717 11/15/2000 7:57 AM
Joined: Feb 2000
Posts: 15
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 15
Sounds like a good idea. I'll tell ya how it goes.

#101718 11/15/2000 8:03 AM
Joined: Feb 2000
Posts: 15
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 15
Code
code:

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).

#101719 11/15/2000 9:10 AM
Joined: May 2000
Posts: 243
Member
Member
Offline
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

Sponsored Links
#101720 11/15/2000 12:59 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Maybe this before the CHMOD command:

Code
code:

------------------
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

#101721 11/15/2000 1:03 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
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

#101722 11/15/2000 1:09 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
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

#101723 11/15/2000 9:20 PM
Joined: Feb 2000
Posts: 15
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 15
Putting "print ("Content-type: text/htmlnn");" & making it .pl worked just fine. Thanks!

#101724 11/15/2000 9:28 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
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

#101725 11/16/2000 2:38 AM
Joined: Aug 2000
Posts: 13
Junior Member
Junior Member
Offline
Joined: Aug 2000
Posts: 13
Glad I helped you.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)