Click to See Complete Forum and Search --> : Help me CHMOD


Duke Will
08-15-2005, 12:01 PM
I have a guestbook that the view.php is not working, it's just like stuck in a loop. Permissions is problem, I think. I am trying to change permission on db.php to read, write, execute for everyone, I think that will work. I am using ftpcommander and I get into the directory and to the file db.php and try to execute the CHMOD but it says the command is invalid or something like that.

CHMOD A=RWX db.php

Is there a syntax error? Does it all have to be caps? Or not caps or what? Is this bad command or is it something else?

EDIT: I changed to all lower case, still says "command not understood."

What if I am not set up to have permission granting? I think I am but is there a way I can tell once I log in?

bokeh
08-15-2005, 12:23 PM
What you need to do is FTP to the server and check what permissions are set for that file. Don't change anything unless you know it is causing a problem.

Duke Will
08-15-2005, 05:13 PM
I already did that before I posted and I think that is the problem. I think when admin did a server upgrade, permissions got changed, maybe. To change permission for db.php, did i use correct syntax with --

CHMOD A=RWX db.php

???

bokeh
08-15-2005, 05:15 PM
If you have already checked, what permission settings do you have currently.

Duke Will
08-15-2005, 05:21 PM
rw-r--r--

bokeh
08-15-2005, 05:26 PM
That is 0644. For rwx rwx rwx you need 0777 (are you sure that's what you want). How you implement that is dependant on you FTP client and nothing to do with PHP.