Guest Posted April 14, 2004 Posted April 14, 2004 I am unable to use my FTP to change the permissions... Is there another way or another FTP I could use to do this procedure?
danielford99 Posted April 14, 2004 Posted April 14, 2004 Hi, Although outdated I use Leech FTP. Really easy to use and set permissions. Have you tried right-clicking on the file? usually this brings up a short menu where you should see something like 'Set Attributes'. Dan
bluepony Posted April 14, 2004 Posted April 14, 2004 Create a php file named "secure.php" or whatever. Put the following code in it: <?php chmod('includes/configure.php', 0644); ?> Upload this file to your server in the Catalog folder. Then run it in your browser: http://www.yourwebsite.com/catalog/secure.php Although nothing will show on the screen when you run the file, it will set the permissions correctly. You can pass in any valid chmod values, I just used 644 as an example. I'd rather be flying!
Guest Posted April 14, 2004 Posted April 14, 2004 Dan, (Have you tried right-clicking on the file? usually this brings up a short menu where you should see something like 'Set Attributes'.) Yep tried right clicking and nothing No menu. The only thing I can do is modify, rename, view, delete. Modify brings up the html But I don't think I can do the change in that can I? I've already tried this Henry <?php chmod('includes/configure.php', 0644); ?> This gives me an error message... It does this no matter what attribute I use 0444, 0706, 0777, 0644 etc.. In my installation it says to change them to 706 or 777 I have been stuck here for 3 days trying to get answers... Moving on to download WS- FTP PRO to see if this will help. If not I'll try leech ftp... Thanks if you have any more ideas I'd appreciate it. Jodi
Guest Posted April 14, 2004 Posted April 14, 2004 Great News Downloaded WS-FTP Pro and it worked just fine!
oog Posted April 14, 2004 Posted April 14, 2004 I have the same prob, have just installed wsftppro, connect to site when I click on chmod I dont have the chancve to type in 0706 etc allk I get is a box that says owner, group, other and the boxes read, write and execute does anyone know what 706 translates to help.......... peter
milarepa Posted April 14, 2004 Posted April 14, 2004 This means the file permissions in a *nix file systems. I try to give you an idea of how it works in a code box : You have four groups of three bits. These bits set the file permissions for a given class of users : owner of the file group other users (the whole world) The order of the bits is : Read / Write / Execute The position of the bit gives its binary value, from the right to the left : 1st bit : 1 - x (execute) 2nd bit : 2 - w (write) 3rd bit : 4 - r (read) The octal value represented in the 0766 form is the addition of the value of each bit set as seen above : suid/sgid owner group others | | | | | | | | | +----++----+ | +---------------+||+---------------+ |||| 0766 This means (I let aside suid/sgid) : suid/sgid owner group others | | | | | | | | | +--+ +--+ | +---------+ | | +---------+ | | | | binary 000 111 110 110 permission rwx rwx rwx value/bit 000 421 420 420 added -> octal 7 6 6 I hope it's clear... not easy to explain. You can have an explanation at www.zzee.com/solutions/unix-permissions.shtml Norbert
Recommended Posts
Archived
This topic is now archived and is closed to further replies.