View Single Post
Old 04-07-2010, 03:10 PM  
Zer0Racer
Senior Member
 
Join Date: Oct 2002
Posts: 703
Default

Quote:
Originally Posted by Yil View Post
zero: I should mention it because it's not obvious, but the problem with the symlinks turned out to be a creation problem. When the \r wasn't being removed from the end of the ! line in the EXEC module the !vfs:chattr function got a double quoted string with the \r on the end so it failed to remove both the \r and the double quotes so the link was wrong. I should have noticed the target from the site chattr +l command having quotes around it, but just thought that was the way it should be displayed... It's fixed now but the existing links will still be wrong (though with it deleting all files on upload it's unlikely you had a lot of them).
Okay. But the correct way of creating a symlink "the old way" is still like this (including the quotes)?
Code:
site chattr +l "dir" "virtual target"
Edit: Btw, creation problem you say. Does that mean there is a bug in the zipscript on symlink creation or just the EXEC module in ioFTPD?
Zer0Racer is offline   Reply With Quote