Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 6th, 2003, 08:48 PM
mantas mantas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: atlanta,ga
Posts: 255 mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 13 h 17 m 20 sec
Reputation Power: 18
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

Reply With Quote
  #2  
Old March 6th, 2003, 09:47 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
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?

Reply With Quote
  #3  
Old March 7th, 2003, 07:54 AM
mantas mantas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: atlanta,ga
Posts: 255 mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 13 h 17 m 20 sec
Reputation Power: 18
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

Reply With Quote
  #4  
Old March 7th, 2003, 10:46 AM
gispuke gispuke is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: South Dakota
Posts: 20 gispuke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Just to make sure...

How are you determining that all the other files have the same permissions as the directory you just CHMOD'd?

Reply With Quote
  #5  
Old March 7th, 2003, 12:42 PM
mantas mantas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: atlanta,ga
Posts: 255 mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 13 h 17 m 20 sec
Reputation Power: 18
by rightclicking in the FTP client and then clicking chmod.

Reply With Quote
  #6  
Old March 7th, 2003, 01:01 PM
MJEggertson MJEggertson is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2002
Location: Seattle WA
Posts: 863 MJEggertson User rank is Corporal (100 - 500 Reputation Level)MJEggertson User rank is Corporal (100 - 500 Reputation Level)MJEggertson User rank is Corporal (100 - 500 Reputation Level)MJEggertson User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 sec
Reputation Power: 8
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).

Reply With Quote
  #7  
Old March 7th, 2003, 01:25 PM
gispuke gispuke is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: South Dakota
Posts: 20 gispuke User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #8  
Old March 7th, 2003, 04:53 PM
mantas mantas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: atlanta,ga
Posts: 255 mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level)mantas User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 13 h 17 m 20 sec
Reputation Power: 18
Thanks everybody.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Different chmod settings on same site


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway