Quote:
Originally Posted by Dreftas
Quote:
Originally Posted by #Linx
Quote:
Originally Posted by Dreftas
good tutorial, but maybe you can say what to write in proftpd.conf that logged in FTP user can chmod, store, delete, create etc. ? Because now, for example with chmod i get that 550 CHMOD 777 filename.php: Operation not permitted
Pls help 
|
the .conf sets it up so that if you go a higher level then your current directory you cant modify anything (chroot)
sorry idk if i understood that correctly.
like for example if you created a user directory called mydirct, you cant add any files above that directory, only below it. if you want to disable this try changing this
Code:
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
to this
Code:
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
# DefaultRoot ~
|
No, no..
I made:
Quote:
useradd -d/opt/lampp/htdocs/forum -m user
|
When user log in into FTP he appears at directory /opt/lampp/htdocs/forum ,thats OK.
But he cant do anything in that directory except browsing, i need upload/download/chmod, how to do that?
|
um try this
in your proftpd conf file replace
Code:
# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>
with
Code:
# Bar use of SITE CHMOD by default
#<Limit SITE_CHMOD>
# DenyAll
#</Limit>
then restart your proftpd server
and ty brett ^^