Chmod Files - help me

free web hosting
Free Web Hosting > Astahost > Hosted Members Support > FTP

Chmod Files - help me

soleimanian
hi every one
how i can chmod my files to 666 via ftp program or ssh access
please help me
best regards
soleimanian

Reply

mastercomputers
QUOTE(soleimanian @ Oct 28 2004, 02:33 AM)
hi every one
how i can chmod my files to 666 via ftp program or ssh access
please help me
best regards
soleimanian
*



In an FTP Program like FileZilla, log into your FTP, browse to folders or files you want to chmod and right-click on them and select File Attributes and just check all Read and Write and No Execute or type 666 inside the box.

Cheers,


MC

Reply

Hercco
In shell you can change access permission simply with chmod command. You can use the numerical form (ie. chmod 666) or letters (easier to remember).

With letters it goes like this:

For example if you want to give others (in web server meaning anyone who tries to access the file thru web) write permission you could type: chmod o+w <filename>

If you wanted to take the write permissions away you'd use - (minus) instead of plus. chmod o-w <file>

For read the letter is r and for execution x. Notice that execution also means access to directory (if the file is a directory)

For yourself the symbol to use is u (as in user) and for group g (group means users belonging to same usergroup as the owner. In web server doesn't really matter). Latter a means all (ie. user, group and other)

You can also combine different change rules to one command. For example setting read, write and execute right for yourself: chmod u+rwx <file>

Reply

spacewaste
lol with ftp its EZ!!! just select all the files u wanna change permissions 2 and then just right click em and hit properties n just poof changes ez the easest ftp program that works good for me that would allow u 2 do that would be ctuftp...well thats in my opinion

Reply

musichere
OK if you want to do this without using a complicated FTP connection, all you have to do is go to www.youraddress.com/cpanel and log in with your cpanel username and password. After you have done this go into file manager and select the function 'change chmod' and that will let you do this much quicker and easier. I dislike fiddling around with it in FTP as well.

Reply

pbolduc
Setting permissions in cpanel is easiest for sure. Click on the file and then in the upper right click on set permissions. Convenient and quick.

Reply

cryptwizard
Actually, there's a simple map to give you the numeric.
Start with n = 000 and add all that apply from this chart:
CODE
       Owner Group World
Read      400    40     4
Write     200    20     2
Execute   100    10     1

For example, if you want everone to Read and Execute but only the owner to write:
400+40+4+200+100+10+1=755
So 755 is your numeric.
Seems quite easy now, doen't it.

Reply

hashbang
QUOTE(soleimanian @ Oct 28 2004, 12:33 AM)
hi every one
how i can chmod my files to 666 via ftp program or ssh access
*


Hey Mate,
Using ssh is easy. Simply cd to the appropriate directory. Then at the command prompt type: chmod 666 filename. That's it. You can see from others posts how you might change permissions other than 666. It works the same if you want 755 or 777 or whatever.

best wishes
hashbang

user posted image

Reply

rapco
Using a ftp client like WS_FTP you can right clcik your file and folderan..

With the properties you can change your chmod

in this client, boxes that indicate the meaning of the chmod number appera, that makes editing it easier

you can get ws_ftp in www.downloads.com

Reply

cryptwizard
QUOTE(hashbang @ Dec 23 2004, 07:00 AM)
Hey Mate,
Using ssh is easy. Simply cd to the appropriate directory. Then at the command prompt type: chmod 666 filename. That's it. You can see from others posts how you might change permissions other than 666. It works the same if you want 755 or 777 or whatever.

best wishes
hashbang

user posted image
*



Notice, that most of us don't have shell/SSH access:

CODE
user@svr ~
$ ssh cryptw@cw.astahost.com
The authenticity of host 'cw.astahost.com (69.50.168.69)' can't be established.
RSA key fingerprint is 28:79:b0:99:d5:3c:cb:9e:9d:6f:42:f7:2e:80:52:dd.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'cw.astahost.com' (RSA) to the list of known hosts.
cryptw@cw.astahost.com's password:
Shell access is not enabled on your account!
If you need shell access please contact support.


Connection to cw.astahost.com closed.

 

 

 


Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

Recent Queries:-
  1. code to chmod a file - 20.92 hr back. (1)
  2. chmod file using ssh - 21.11 hr back. (1)
  3. what program is used to chmod a folder - 31.78 hr back. (1)
  4. chmod 666 youtube - 32.93 hr back. (1)
  5. chmod for files - 39.91 hr back. (1)
  6. ssh chmod all files - 42.11 hr back. (2)
  7. how to chmod all www files ? - 45.62 hr back. (1)
  8. ssh chmod folder - 98.60 hr back. (1)
  9. chmod o w 666 - 113.12 hr back. (1)
  10. chmod through ssh - 124.47 hr back. (1)
  11. chmod change permanently - 154.84 hr back. (1)
  12. how to chmod owner 99 in cpanel - 160.93 hr back. (1)
  13. chmod user - 162.78 hr back. (1)
  14. chmod files - 164.86 hr back. (1)
Similar Topics

Keywords : chmod, files

  1. Having Trouble Deleting .pureftpd-upload...
    disconnects and some incomplete files cant be deleted (3)
  2. How Do I Chmod Files On Astahost ?
    (20)
    Hey, how do i CHMOD certain files, i need to CHMOD some files to 0777 but i dont know how :-\ i use
    ws_ftp as my ftp client i also have flash fxp....
  3. The Files
    (7)
    I had a question, the files on the ftp, can I just delete them? Or, what can I delete, and what must
    I not delete?....
  4. Network Places: Alternative To Ftp On Windows
    Drag and drop files easily to your accnt (10)
    Windows has a feature called "Network Places". This can be used for uploading stuff for your site
    eliminating the need for any ftp client. Here's how we do it. 1.Goto Network Places-> Add a new
    networkplace. 2. Click next-> Choose another network Location->Next. 3. Now type the following
    wothout quotes "ftp://ftp.yoursubdomain.astahost.com". Click next 4. Uncheck log on anonymously and
    type in ur cPanel username. 5. Type any name and click Next->Finish. 6. Now open the folder created
    -> Type in your password Congratulations!! You can now upload your files in an ins....
  5. Uploading Problems
    Unable to upload any files. (4)
    I first used Frontpage to upload my site....it never used to be uploaded completely..some folders
    were incompletely uploaded. I tried smartftp but i got the folowwing message: QUOTE Connection
    closed. Server timeout.     An established connection was aborted by the software in your host
    machine.     Connection closed. I dont know what to do next. Should i try another software??
    After every unsuccessful attempt i used my file mamager to delete the public_html folder and created
    another folder with the same name. Can anyone help me??....
  6. How To Setup Frontpage
    To upload your files. (6)
    I ur using frontpage to make your site(Like me) then you might prefer to use its inbuilt FTP client.
    Heres how you upload your site using FP. Once ur done with your site:- 1. Click on File->Publish
    Site. 2. In the window's upper right corner there is an option called "Remote WEbsite
    Properties". Click on it 3. In the new window select FTP option. 4. Set the address to
    ftp."yoursubdomainhere".astahost.com replacing the Quotes. 5. Set directory to "public_html" 6. Your
    username and password will be the same for the cPanel. 7. The left panel is your local files within ....
  7. How To Setup Smartftp
    So you can upload files (1)
    You can download and use any FTP client you like. I'm using SmartFTP so that is what my
    instructions are for. Anyone using another client and they would like to create instructions for
    that let me know and I'll pin it. /smile.gif' border='0' style='vertical-align:middle'
    alt='smile.gif' /> You can dowload a copy here, it's free for private use and no nag screen
    until you used it for 30 days /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'
    /> http://www.smartftp.com/ With the new FTP client installed you have to access your accou....
  8. Accidental Delete of files in FTP Account
    HELP (14)
    I have accidentaly deleted some of the original files found on my accound server /sad.gif'
    border='0' style='vertical-align:middle' alt='sad.gif' /> ( i know i'm dum !! it was the first
    time that i used SMART ftp /sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' />
    but now ... where can i get the files from ??....
  9. Uploading the files via the Internet
    (9)
    Alright, I need some help on when I upload files via the Internet. Do I need to name my home page
    'index.html'? Also, I can't seem to view pictures on my page. Is there a certain tag I
    need to insert in my scripting? Thanks.....
  10. Uploading Files
    (13)
    Is using the File Manager in Cpanel better than using FTP software to upload and manage files? Is
    there any different? From my experience, using FTP is faster and easier. What's your take on
    this?....

    1. Looking for chmod, files






*SIMILAR VIDEOS*
Searching Video's for chmod, files
advertisement




Chmod Files - help me