Forum Moderators: bakedjake

Message Too Old, No Replies

chmod setting permissions for UNIX server

need major help

         

nojoke

1:28 am on Jun 22, 2004 (gmt 0)

10+ Year Member



hi im a major noob at programming but I have been given the task to get a password unit on webpage. I need a way to set permissions for a file. it's name is setup.cgi and I am finding great difficulty in "setting the permissions" i have the exact permission code to set for but I want to know if there is a specific way to change the permissions. the webpage is a subfolder of the original domain; the server is not manually run, run by company

if this is not enough information i will gladly explain anything
thanks for help and thanks for reading

PS. IF YOU HAVE ANY KNOWLEDGE OF GOOD MULTIPLE USER PASSWORD SCRIPTS THAT ARENT JAVASCRIPT (for obvious reasons) PLEASE TELL ME!

"remember its nojoke"

Birdman

1:55 am on Jun 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You should be able to change file perms with your ftp client. Many hosting providers also provide a control panel that will offer the ability to do it as well.

Usually, with ftp you simply right-click on the file and you will see "permissions" or something similar. If you can't find it, just use the help menu of the ftp client.

nojoke

2:09 am on Jun 22, 2004 (gmt 0)

10+ Year Member



alright thanks

moltar

2:09 am on Jun 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you have access to shell you could use a chmod command:

chmod NNN filename.cgi

Where NNN is your permission code.