Quote:
Originally Posted by Yil
I presume you want to do something like have a /_real normal users can't see and yet make everyone access stuff through virtual directories like /music or something?
|
exactly my thoughts
Quote:
Originally Posted by Yil
The tricky part is you couldn't make normal symbolic links into that directory because access requires +r to the entire directory path.
|
yep, it was my first thought. there is a trick with ntfs where you can deny directory listing permissions for the higher-level directory without applying them to lower-level children and thus hiding its contents from any unnecessary recursive searches while keeping files accessible from a lower-level directory using full path to it. it seemed pretty natural and i presumed ioftpd would do the same. but no, the server verifies read permissions for all directories in the path... too bad
maybe it's worth being configurable?
) like FullVirtualPathCheck = TRUE/FALSE
i also learned that there are some "undocumented" features in ioftpd
like !vfs:add. judging by the name it should alter current connection's mountpoint list by adding one on the fly. and the next LIST command would already output new directory structure. i'd like a comment on that. what does it actually do? and if i'm correct, would there be a !vfs:remove or something like that?
i suppose you already see where i'm going with this
!vfs:add -> process symlinks -> do file ops -> !vfs:remove -> i'm happy