| | hi every one how i can chmod my files to 666 via ftp program or ssh access please help me best regards soleimanian |
|
|
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
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>
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
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.
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.
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. QUOTE(soleimanian @ Oct 28 2004, 12:33 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
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 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 ![]() 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.
Recent Queries:-
Keywords : chmod, files
(20) Hey, how do i CHMOD certain files, i need to CHMOD some files to 0777 but i dont know how :-\ i use (7) I had a question, the files on the ftp, can I just delete them? Or, what can I delete, and what must 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 Unable to upload any files. (4) I first used Frontpage to upload my site....it never used to be uploaded completely..some folders 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. 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 HELP (14) I have accidentaly deleted some of the original files found on my accound server /sad.gif' (9) Alright, I need some help on when I upload files via the Internet. Do I need to name my home page (13) Is using the File Manager in Cpanel better than using FTP software to upload and manage files? Is Looking for chmod, files
|
![]() Chmod Files - help me |