Go Back   FlashFXP Forums > > > >

Suggestions Post suggestions for upcoming versions

 
 
Thread Tools Display Modes
Old 04-02-2003, 04:07 PM   #1
Jay
Member
 
Join Date: Apr 2003
Posts: 35
Default CHMOD Functionality

Hello,

Would it be possible to have the option to CHMOD all files within a directory to the same value when you CHMOD the directory?

Would save people that spend a much time installing web scripts a great deal of time
Jay is offline  
Old 04-02-2003, 04:15 PM   #2
Raccoon
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2001
Posts: 136
Default

If I'm not mistaken, you generally have different permissions on files than you have on folders. I can't see why you would want to CHMOD all files to match the parent folder.

Just select all files in the current directory, and then CHMOD.

- Raccoon
Raccoon is offline  
Old 04-02-2003, 04:23 PM   #3
Jay
Member
 
Join Date: Apr 2003
Posts: 35
Default

Files within a directory can easily be CHMODed to 777, 755, 644, etc ... just like the parent directory.

I am quite well aware of how to CHMOD all the files at once, but it would save me quite a bit of time if I could CHMOD the contents of a folder the same time as the folder itself, and I'm sure it would benefit others that install scripts as well.

Case in point: When I install an IPB, I have to CHMOD the following to 777

/archive_out/
/lang/
/lang/en/
(24 files)
/Skin/
/Skin/s1/
(23 files)
/uploads/

Now, as it is, it requires 5 CHMOD operations. With what I'm suggesting, it would only require CHMODing

/archive_out/
/lang/
/Skin/
/uploads/

With the new feature, it would only require 1 CHMOD to accomplish the same result, and this is only a simple script. Imagine a more complex one.
Jay is offline  
Old 04-02-2003, 04:29 PM   #4
Raccoon
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2001
Posts: 136
Default

I suppose it would be possible to do. Could probably piggy-back it on the same code the Delete function uses to clear out sub-files and folders before deleting the parent folder.

- Raccoon
Raccoon is offline  
Old 04-02-2003, 04:32 PM   #5
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Jay it's a great idea. In fact it's already on our to-do list

In the meantime you can use the FTP File Search, via the tools menu to search for the script files, select all right click and CHMOD them.

umm Raccoon
bigstar is offline  
Old 04-02-2003, 04:34 PM   #6
Jay
Member
 
Join Date: Apr 2003
Posts: 35
Default

I'm sorry bigstar, I did check that topic in hopes of seeing it, but it must be worded in a way that I can't understand it, not being the FTP guru that you folks are
Jay is offline  
Old 04-02-2003, 04:39 PM   #7
Raccoon
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2001
Posts: 136
Default

Quote:
Originally posted by bigstar
umm Raccoon
Whaaat? Thats how I would do it anyway (piggyback delete func)

Sorry, forgot you could CHMOD in File Search results... can you forgive me bigstar?

- Raccoon
Raccoon is offline  
Old 04-02-2003, 05:50 PM   #8
Shark
Senior Member
FlashFXP Beta Tester
 
Shark's Avatar
 
Join Date: Oct 2001
Posts: 606
Default

Im sure you are forgiven Raccoon ... its just good to see you around
Shark is offline  
 

Tags
chmod, directory, people, spend, time

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:17 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)