CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
File permissions



Oct 24, 2000, 9:47 AM

Post #1 of 2 (336 views)
File permissions Can't Post

After copying my perl files to the server, I have log into the server and set file permissions on each file. Is there a way to set the file permission in the file itself?

User / Moderator

Oct 25, 2000, 11:12 AM

Post #2 of 2 (336 views)
Re: File permissions [In reply to] Can't Post

Create one script that does chmod 0755 on all your scripts in your cgi-bin directory or
allows you to pass a name and permission parameter to the script. This one should be the last you have to chmod to when you upload. Then, each time you upload a new script, go to a web page and run the script or telnet in and run it from the command line.




Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives