Go Back   FlashFXP Forums > > > >

NeoXed's scripts nxAutoNuke, nxTools, etc.

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-18-2006, 09:02 PM   #1
eger
Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Mar 2003
Posts: 40
Default Dupe db using symlinks?

Loving new alco 1.2.0 and nxtools 1.0.4a. I was using a very old setup with nxtools and ioA and now I have blown away ioA since nx pretty much does everything it does now.

When search the dupe db though I get results like this:
Code:
[R] site search Easy
[R] 200- /[MP3]-TODAY/VA-Easy_Hits_Ezh_54
It looks like it is using the symlinks instead of the real dirs. I was guessing this might be a config issue on my part. But i'm not quite sure how to make the dupe not use the symlink? I already have this in my dupe config:
Code:
set dupe(LoggingExempts) {
  {/!ADMIN/*}
  {/DROP/*}
  {/[MP3]-TODAY/*}
Maybe someone could point me in the right direction?
eger is offline   Reply With Quote
Old 05-19-2006, 03:28 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

The problem arises when users create directories using absolute paths where one or more of the path components are symbolic links.

For example, a user executes the following command:
Quote:
MKD /today/my-directory
Where /today is a symbolic link pointing to /incoming/other/2006-05-16.

The real virtual path is /incoming/other/2006-05-16/my-directory but nxTools only sees /today/my-directory - so that's what it logs. All file related post/pre commands that nxTools hooks (MKD, RMD, STOR, DELE, RNFR, and RNTO) have this same problem.

I'll have to find a way to resolve symbolic links in path names...without significantly slowly down the script.
neoxed is offline   Reply With Quote
Old 05-19-2006, 04:11 PM   #3
eger
Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Mar 2003
Posts: 40
Default

Gotcha, that makes sense since I am sure users are using the symbolic mp3 dir link to create new mp3. Not too important. But if you found a way around it would be nice to have in future version =)
eger is offline   Reply With Quote
Reply

Tags
dupe, ioa, nxtools, search, [r]

Thread Tools
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

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

Forum Jump


All times are GMT -5. The time now is 01:36 PM.

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