habe mir die doc page ja angeguckt aber irgendwie wurde ich auch nicht wirklich schlau darau ^^
min_homedir <path>
You need this set to allow siteops to change users' home directories with "site change".
ex. min_homedir /site will allow homedir to be inside the /site dir but not outside.
NOTE: This setting has nothing to do with the actual users' homedirs,
it is a simple security setting to stop siteops from allowing people to
start in protected directories. To change actual homedirs, either edit
/glftpd/etc/passwd for existing users, or modify the HOMEDIR line in
/glftpd/ftp-data/users/default.* for new users.
homedir This will change the user's homedir.
NOTE: This command is disabled by default. To enable it, add
"min_homedir /site" to your config file, where "/site" is the
minimum directory that users can have, i.e. you can't change
a user's home directory to /ftp-data or anything that doesn't
have "/site" at the beginning.
Important: don't use a trailing slash for homedir!
Users CAN NOT cd, list, upload/download, etc, outside of their
home dir. It acts similarly to chroot() (try man chroot).
vllt biste ja tortzdem mal so nett und gibst mir zum verständnis ein einfaches beispiel :)
ich check net so ganz wie ich es zu schreiben habe..
hab schon verstanden das das min_homedir das ist woraus man nicht weiter hinaus kommt und das homedir das ist in dem man landet wenn man connectet... aber beim schreiben habe ich n bisschen probleme
site change <username> homedir /<min_homedir>/userhomedir
site change testuser1 homedir /site/blabla/bla userhomedir /site/blabla/bla/bla
das userhomedir am ende verwirrt mich ein bisschen