GLFTP und jeder bekommt eine anderes Homeverzeichniss?

M

Mircola

Gast
GLFTP und jder bekommt eine andeees Homeverzeichniss ?

Hi Leute ich habe GLFTP installiert und es läuft super.

Nur ich möchte jeden user ein anderes Homeverzeichniss zuteilen.
Ich habe dafür in seiner conf z.B das eingetragen

USER Added by xxxx
GENERAL 0,0 -1 0 0
LOGINS 2 0 -1 -1
TIMEFRAME 0 0
FLAGS 3
TAGLINE No Tagline Set
DIR /home/xxxxx/test
ADDED 1120948070 xxxx
EXPIRES 0
CREDITS 15000
RATIO 3
ALLUP 0 0 0
ALLDN 0 0 0
WKUP 0 0 0
WKDN 0 0 0
DAYUP 0 0 0
DAYDN 0 0 0
MONTHUP 0 0 0
MONTHDN 0 0 0
NUKE 0 0 0
TIME 4 1120984988 0 21
IP *@*

aber er kommt immer in das /ftp/incomming verzeichniss.

was muß ich machen, damit jeder USer in sein Homverzeichniss kommt wo ich ihn hin haben möchte ?

Danke für jede hilfe
 
ot:
@Mircola:

Kannst Du zwar vielleicht nicht wissen, aber in die Rubrik "Top-Themen und Anleitungen" kommen nur bereits fertige Anleitungen rein. Hilfeanfragen sollten im entsprechenden Forum abgeladen werden. Wundere Dich also bitte nicht, wenn der Thread bald woanders liegt.
 
Vielleicht wird es ja noch ein Top - Thema ;)
Im Ernst, weiterhelfen kann ich nicht, benutze das Prog nicht (mehr).

Letzten Endes wirst Du Dich wohl selber durch die Anleitungen lesen müssen...
 
ja habe ich.

SO jetzt habe ich eine Lnk erstelt nur jetzt kommt immer
CWD maps
550 maps: No such file or directory.

also kann man in der config irgendwo angeben, das er systemlinks versteht ?

bitte um hilfe
 
ich meine Symlinks und sorry für doppelposting es ist verschoben worden
 
Also um zu verdeutlichen was ich gemacht habe.

ich habe im Ordner

/ftp/incomming eine verknüpfung angelegt zu /home/xy/test

ich kann über colsole sauber in den ordner wechseln.

Nur über FTP kommt immer
CWD test
550 maps: No such file or directory.

also versteht der FTP Server die verknüpfung (Symlinks) nicht. Wo kann ich das aktivieren ?

Ich bitte wirklich dringend um hilfe

Danke
 
Wirf mal eine blick in die FAQ des glftpd-Forums:

Q) I want to create a symlink in /incoming that points to another partition.
The link is there, but users are not able to change directory to it.
A) For symlinks to work right, the target of the symlink must be in the glftpd
root path.
It is best to just mount the partition under /glftpd/site.
A symlink from /glftpd/site to /glftpd/bleh will have to be without the
rootpath, so it will go from /site to /bleh.
The above will only work if users' homedir is set to /. Users can't access
anything outside of their homedir, so if it is /site, they won't be able to
jump to /glftpd/bleh.
Otherwise, your links need to start with . and they can't have the
rootpath or homedir in them. Examples:
ln -s ./incoming/mydir mydirshortcut
ln -s ../archive/games games
ln -s /incoming/uploads uploads

The reason for this limitation is for security purposes. When a user logs
in, he is "chrooted" to /glftpd (or whatever the rootpath is), so it is
physically impossible to access anything outside. This prohibits any user
logged in from browsing outside the glftpd root directory. If you're
familiar w/ wu-ftpd and telnet, normal users are permitted to browse
anywhere permissions permit. This is not a desired feature for this server,
and we feel the "cost" is worth the security.

You can also use the mount -bind command but this is for use with the
latest mount version on linux in 2.4+ kernels. This lets you mount a drive
to more than one mountpoint. Another option is to export a directory
outside of /glftpd via nfs and then nfs-mount it inside - but this will
slow things down.

Kurze Zusammenfassung:
Es geht nicht, aus Sicherheitsgründen nicht machbar. Einen Schalter gibt es auch nicht.
 
und wie kann ich es jetzt machen das einer zugang per ftp zu seinen Home ordner bekommt ?

danke
 
wie kann ich dann einen User einsperren in sein verzeichniss z.B.
/ftp/income/user1

danke
 
Oben