Jump to content
xisto Community
plot

How Do I Chmod Files On Astahost ?

Recommended Posts

I am not sure with the version of ws_ftp you have but you should beable to right click the filename you need to alter and look for file permisssions or properties then either enter 777 or check all the boxes which gives you read write and execution permission for THAT filename, don't give this permisssion to all your files for security purposes.

 

Or get FileZilla ftp (which is free) and makes these operations simple as shown above but ws_ftp should accomplish that some way or another.

Share this post


Link to post
Share on other sites

No, you have to open a console (or terminal), 'cd' into the directory and then do the 'chmod'.For example, you have the files you need to change in a directory as '/var/www/htdocs/upload'You need to open a console and type:1. 'su' ------------> prompts for your root password (assuming all the files are currently owned by root). After typing the password, the prompt will change from '$' to '#'2. 'cd /var/www/htdocs/upload' ----------> Changes your current directory to the directory containing the files. This is an example3. 'chmod 777 * ' ----------> Change permissions for all the files or instead of '*', just type in the name of the file like: 'chmod 777 index.html'4. 'exit' ------------> To get out of 'root' mode.5. 'exit' ------------> To exit the console.If the files are owned by the user you use to login, you can omit step 1. Alternatively, you can also open 'Konqueror', browse to the directory, and then right-click and select 'properties' under which there is a tab called 'permissions'. I think that should let you change the permissions without a console, but I usually use the console. This should help you out. Let me know if you need anymore clarifications.

Share this post


Link to post
Share on other sites

Sorry for double posting, but is this something specific to an ftp client? What I've posted is for changing the permissions for any file.

Share this post


Link to post
Share on other sites

Well with most FTP clients you right click the file and type in the digits that are required. If you can't do this then I suggest changing your FTP server. I recommend to you FileZilla or SmartFTP for free ones, but if you want a paid one then get CuteFTP. Hope this helps, good luck.

Share this post


Link to post
Share on other sites

In order to be able to use the console method as someone described, you need shell access, which is disabled at first, you need to request it, which in your case, I recommend against. If you don't know chmod, then a shell won't be for you yet :P (no pun intended, but there's no "are you sure you want to delete this?" in the shell) Log into your cpanel, I believe in Site Management it reads FILE MANAGER somewhere, click on it. THat should or open a new tab or open a new window (depends on which browser you use) and in there, you can just click to the file you want to chmod. Click on the file, in the top right corner it should read "Change file permissions" And that is what you need B)

Share this post


Link to post
Share on other sites

In Flash FXP, right click on the file ou want to chmod. There is an option in the context menu to change these settings.Browsing through the topic "Which FTP client is best", I am surprised that so few people seem to use Flash FXP! This is a wonderful client. The "scene" uses it a lot, even provided a graphically beefed-up version of it.

Share this post


Link to post
Share on other sites

ya i dont know how to chmod files using the ws_ftp 2006 pro client

1064324109[/snapback]


It's very simply - you right click on the filename and then click on File Permissions from the pop-up menu. In there check all the checkboxes and press enter. That'll give you permission 0777.

 

If you want further information on what is CHMOD and how the modes work, take a look at: Demystifying CHMOD

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.