Jump to content

Chmod In Ftp


Recommended Posts

Guest Lady Sharisse
Posted

Erm...I'm a newbie..and I am in Starter Plan...I downloaded an FTP commander 5.90

then I bought my domain name in Namecheap.com ...

I have my site running smoothly...but then...I want to try to install greymatter,some sort like online Journal.

 

I downloaded the greymatter in cgi files..and in the installation page,they told me to transfer all the .cgi files to cgi bin in my ftp in ascii mode...

 

I found out that the ascii mode was in the connect drop down menu.

 

but then after I transfered all the files to the cgi bin in ftp...they asked me to highlight some files and CHMOD them to 666....they said I highlight and right click and there will be CHMOD...but when I did that...I dont see any CHMOD word.

 

is FTP COmmander 5.90 no CHMOD or my TCH package not provide it...or what?? I really not sure..

 

could anyone please help me with this???

thanks before that..

 

mylady_blink.gif

Posted

I don't use FTP COmmander, so I cannot tell you how to do it with their software. In general, though, most FTP client programs work the same way: once you get a list of your web site files and directories to appear in your FTP software, as you were told, you simply right click on the file, and a popup menu usually appears, and CHMOD is one of the options. At least, it works that way for CuteFTP and WsFTP.

 

But, not to worry, you have an alternative! You can do CHMOD instruction's via cPanel's File Manager.

1. Open up cPanel on your web site

2, click on File Manager (may be located under the Access Menu section of cPanel)

3. click on the folder icon next to public_html

4. locate the file or directory you wish to change permissions and click on the name of the file

5. on the right side of the screen you will find a list of options, including Change Permissions!

 

Hope this helps!

kw

Guest Thanks..but..
Posted

Thanks for the information..at least now I know something...

 

but when I tried to chmod the .cgi file to 755...the result is 600..how is that??

 

anyway...there when I click on the file...and on the right side appear the change permission menu..there is a box with the tick user/group/world...

 

which one I should fill in the value of chmod..let's say 755..is it in the user only??

 

one more question..is the cuteftp is free or one must pay??if lets say I want to switch to cuteftp..what happen to all my files that I already uploaded it to my current ftp??will they disappear if I delete my current ftp program or still stored in my cpanel??

 

sorry to trouble you...it might cenfused you..I am cenfused myself..LOL

Posted

First -- an FTP utility (whether FTP Commander or CuteFTP or Smart FTP), is onll a program. Uninstalling or installing any such program does NOTHING to your files on your web. You can have multiple FTP programs. I have both WsFTP and CuteFTP installed on my computer at home. CuteFTPhas a free 30 day trial. SmartFTP is free.

 

As to CHMOD ...

 

CHMOD is essentially a short hand numbering system for assigning permissions.

 

Example: chmod 755

 

The '7' says that the user (owner) of the file can read, write and execute the fie

The middle '5' says that users in the group can read & execute, but not write (modify) the file

The last '5' says that the world (others) can also read & execute, but not write (modify) the file

 

As you can see, what we are doing is assigning different permissions to different groups of users!

 

Where do these numbers come from:

Permission to 'read' a file is assigned the value of 4

Permission to 'write' (modify) a file is assigned a value of 2

Permission to execute (run) a file is assigned a value of 1

 

All you do is determine the permission required, and add up the values.

 

If we want to assign permission to read, write and execute, that would be 4+2+1 = 7

If we want to read and execute only, that would be 4+1 = 5

If we only wanted someone to read a file, that would be 4

If we only wanted to read or write but not execute, that would be 4+2 = 6

 

So if your instructions were to say CHMOD 644 -- can you figure out what permissions we are setting??

 

You have to work backwards.

6 = 4+2 ... 4=Read, 2=Write ... so we are saying that the owner (user) of the file can read & write (modify) the file inq uestion

 

the middle '4' (remember Read=4) says that other users in the group are allowed to only read the file

 

the last '4' says that anyone else in the world can only read the file

 

 

Hope this helps

kw

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...