FTP Pfad ändern

hotstuff

New Member
Plesk 10.0.3 Probleme mit Dateirechte

Hallo

Ich habe diverse Kunden, unter FTP und File Manager zeigt es Ordner an, wo ich nicht will.

Kann man den Ordner verstecken?

Zum Beispiel: /var /etc /usr usw. <-- wieso sieht man die?

Danke Gruss Dave
 

Attachments

  • Bildschirmfoto 2011-07-31 um 21.30.27.png
    Bildschirmfoto 2011-07-31 um 21.30.27.png
    106.9 KB · Views: 251
Last edited by a moderator:
Kleiner Scherzkeks oder? Wie wäre es mal mit ein paar mehr Informationen zum OS, eingesetzter FTP Server usw usw usw.
 
Hallo

Sorry

Ich habe Debian 6.0.2, Plesk 10.0.3 installiert. Der FTP wo Plesk verwendet wird sicher Proftpd sein.

Gruss Dave
 
Hallo

Es ist schon eingetragen.

#
# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "ProFTPD"
#ServerType standalone
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ psacln
AllowOverwrite on
</Global>
DefaultTransferMode binary
UseFtpUsers on

TimesGMT off
SetEnv TZ :/etc/localtime
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation
#with Anonymous FTP feature in PSA control panel.

#Include directive should point to place where FTP Virtual Hosts configurations
#preserved

ScoreboardFile /var/run/proftpd_scoreboard

# Primary log file mest be outside of system logrotate province

TransferLog /opt/psa/var/log/xferlog

#Change default group for new files and directories in vhosts dir to psacln

<Directory /var/www/vhosts>
GroupOwner psacln
</Directory>

# Enable PAM authentication
AuthPAM on
AuthPAMConfig proftpd

IdentLookups off
UseReverseDNS off

AuthGroupFile /etc/group

Include /etc/proftpd.include

Komische wenn ich beim FTP schauen heisst die Berechtigung fle und flcdmpe!
Wenn ich bei File Manager schaue heissen die Berechtigung root und psaserv!


Gruss Dave
 

Attachments

  • Bildschirmfoto 2011-08-01 um 10.36.51.png
    Bildschirmfoto 2011-08-01 um 10.36.51.png
    97 KB · Views: 192
  • Bildschirmfoto 2011-07-31 um 21.30.27.png
    Bildschirmfoto 2011-07-31 um 21.30.27.png
    106.9 KB · Views: 134
Last edited by a moderator:
Hallo

Es ist alles richtig eingestellt.

/etc/psa/psa.conf

# Virtual hosts directory
HTTPD_VHOSTS_D - /var/www/vhosts
/var/www/vhosts

Dürfen eigentlich nur diese Ordner sichbar sein:

//anon_ftp , cgi-bin, conf, error_docs , httpdocs, httpsdocs , pd , private , statistics-->/logs(domain logs), subdomains , web

Bei mir sind auch noch andere --> /var /usr /lib64 /lib usw!

Gruss Dave
 
Back
Top