• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Error 1 : Can't create/write to file

C

cicciopasticcio

Guest
I'm trying from ssh a SELECT...INTO OUTFILE but I receive the same error Error 1 : Can't create/write to file

mysqldump -uUSER -pPASSWORD --fields-terminated-by='|' --fields-optionally-enclosed-by='"' --lines-terminated-by='\n' --tab=/srv/www/vhosts/mysite/httpdocs/myfolder/ DATABASE TABLE > file.csv

The file is created but written partially.
I've check file permission and they are 0644

So I went in proftpd.conf and I've seen umask 022. I've understood that this is the problem. So I found http://www.castaglia.org/proftpd/do...WTO-Umask.html,
but I REALLY DON'T UNDERSTAND WHAT I HAVE TO DO!!

Please Help me... I'll become crazy...

Thanks,

Luca
 
Back
Top