|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Different chmod settings on same site
I am trying to have different permission settings for my directories. But whenever I change one directory, all of them change. How can it be done? I am using ws-ftp95.
thanks |
|
#2
|
||||
|
||||
|
Not sure what you mean.... when you change a directories permissions all the files in the tree under it change?
Do you have shell access to the server by any chance? |
|
#3
|
|||
|
|||
|
I am dealing with two different directories, they are both at root, not one inside the other. One of the directories contains text files that will be written to and the other directory has some scripts that I feel are a security risk if I set them to 777.
If I change one, the other permission setting changes aswell. I do have shell access, but I have never used it (link to a tutorial perhaps ?).Thanks |
|
#4
|
|||
|
|||
|
Just to make sure...
How are you determining that all the other files have the same permissions as the directory you just CHMOD'd? |
|
#5
|
|||
|
|||
|
by rightclicking in the FTP client and then clicking chmod.
|
|
#6
|
|||
|
|||
|
When you use ws_ftp and you right click to bring up the chmod box, what you see isn't what the file is currently set at, it's what the settings were last time you brought up the box.
That is, if you change one file to 600, the next time you bring up the chmod box, the box will show 600 regardless of what the permissions on the file are (bringing up the box does not query for the current settings). So the other directory likely hasn't been changed unless you've clicked the 'ok' button (or whatever it is). |
|
#7
|
|||
|
|||
|
Exactly the reason I asked... Thank you MJ...
The way to check the permissions while using WS-FTP is to click the "DirInfo" button. Your text editor will open up with a list of the files in the current directory and each of their permissions in the format ( -rwx r x r x ) meaning 755 in this case. |
|
#8
|
|||
|
|||
|
Thanks everybody.
|
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Different chmod settings on same site |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|