|
|
|
|
![]() ![]() |
Sep 28 2005, 01:59 PM
Post
#1
|
|
|
Premium Member Group: Members Posts: 206 Joined: 4-September 05 Member No.: 8,310 |
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
This post has been edited by miCRoSCoPiC^eaRthLinG: Nov 18 2005, 08:30 AM |
|
|
|
Sep 28 2005, 02:10 PM
Post
#2
|
|
|
Hedonist at large Group: Members Posts: 610 Joined: 30-July 05 From: another realm Member No.: 7,524 |
Just type 'chmod 777 <filename>'
To change all the files in a directory, type 'chmod 777 * ' |
|
|
|
Sep 28 2005, 02:33 PM
Post
#3
|
|
|
Premium Member Group: Members Posts: 206 Joined: 4-September 05 Member No.: 8,310 |
where do i type it? in the file name???
thanks for your reply |
|
|
|
Sep 28 2005, 02:56 PM
Post
#4
|
|
|
Super Member Group: Members Posts: 572 Joined: 25-April 05 From: Nashville Tennessee Member No.: 4,340 |
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. |
|
|
|
Sep 28 2005, 02:58 PM
Post
#5
|
|
|
Hedonist at large Group: Members Posts: 610 Joined: 30-July 05 From: another realm Member No.: 7,524 |
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 example 3. '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. |
|
|
|
Sep 28 2005, 02:58 PM
Post
#6
|
|
|
Premium Member Group: Members Posts: 206 Joined: 4-September 05 Member No.: 8,310 |
i have ws_ftp 2006 profesional
|
|
|
|
Sep 28 2005, 02:59 PM
Post
#7
|
|
|
Hedonist at large Group: Members Posts: 610 Joined: 30-July 05 From: another realm Member No.: 7,524 |
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.
|
|
|
|
Sep 28 2005, 03:25 PM
Post
#8
|
|
|
Premium Member Group: Members Posts: 206 Joined: 4-September 05 Member No.: 8,310 |
ya i dont know how to chmod files using the ws_ftp 2006 pro client
|
|
|
|
Sep 28 2005, 04:26 PM
Post
#9
|
|
|
Advanced Member Group: Members Posts: 198 Joined: 24-September 05 From: UK - England Member No.: 8,680 |
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.
|
|
|
|
Sep 28 2005, 10:47 PM
Post
#10
|
|
|
Premium Member Group: Members Posts: 206 Joined: 4-September 05 Member No.: 8,310 |
where is the console to ws_ftp??
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 25th July 2008 - 04:51 PM |