HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Canīt upload files to FTP from External access (http://www.howtoforge.com/forums/showthread.php?t=24853)

trexen 7th July 2008 20:39

Canīt upload files to FTP from External access
 
I get access denied when i try to upload a file whit admin user of a web-dir

drwxrwxr-x 4 web14_name web14 4096 2008-07-07 16:24 web/

I also make a new direktory and chown 777, still canīt upload, any sugestion?

i got Debian 4
ISPc 2.2.x

Regards
Marcus

till 7th July 2008 23:11

were do you try to save the file? In the web dir or in another directory?

trexen 7th July 2008 23:16

Yes, in the web dir, and it sayīs access denied , i also make a new dir outside Web and chmod it whit 777, but it diddenīt work ither.

Rgds
Marcus

till 7th July 2008 23:20

Which Linux distribution and FTP daemon do you use?

trexen 7th July 2008 23:31

Debian 4 etch - 2.6.18-5-686
ProFTPd

trexen 7th July 2008 23:41

Cut from proftpd_ispconfig.conf

# ISPConfig proftpd Configuration File
# Version 1.0
#
###################################
DefaultAddress 127.0.0.1
<VirtualHost 192.168.250.6>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>


rgds
Marcus

falko 8th July 2008 13:48

What's in /etc/proftpd.conf?

trexen 8th July 2008 14:08

I just cut the importand stuff


# Includes DSO modules
Include /etc/proftpd/modules.conf

# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 off

ServerName "Debian"
ServerType standalone
DeferWelcome off

MultilineRFC2228 on
DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"

DenyFilter \*.*/

# Port 21 is the standard FTP port.
Port 21

MaxInstances 30

# Set the user and group that the server normally runs at.
User proftpd
Group nogroup

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022
# Normally, we want files to be overwriteable.
AllowOverwrite on

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
# PersistentPasswd off

# Be warned: use of this directive impacts CPU average load!
#
# Uncomment this if you like to see progress and transfer rate with ftpwho
# in downloads. That is not needed for uploads rates.
# UseSendFile off

TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log

<IfModule mod_tls.c>
TLSEngine off
</IfModule>

<IfModule mod_quota.c>
QuotaEngine on
</IfModule>

<IfModule mod_ratio.c>
Ratios on
</IfModule>

# It is on by default.
<IfModule mod_delay.c>
DelayEngine on
</IfModule>

<IfModule mod_ctrls.c>
ControlsEngine on
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>

<IfModule mod_ctrls_admin.c>
AdminControlsEngine on
</IfModule>

DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."


Include /etc/proftpd_ispconfig.conf

trexen 8th July 2008 17:54

Anyone: any sugestion where i should look, can it be chmod problem ore is it in the config.

(i dont remember if it was Till ore falko that install this server for me, just whant it right from the start =) )

till 8th July 2008 18:13

Please try to change the line:

Include /etc/proftpd_ispconfig.conf

to:

# Include /etc/proftpd_ispconfig.conf

in proftpd.conf and restart proftpd.

Quote:

(i dont remember if it was Till ore falko that install this server for me, just whant it right from the start =) )
If we setup the server for you and it is not working, you should contact us by email.


All times are GMT +2. The time now is 02:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.