I was playing with my pi server and changing settings. When I tried to upload a file via filezilla I realized that its giving an error (553 Could not create file.). I can upload and create files in home/pi folder but I can't do anything in www folder.
Asked
Active
Viewed 1.7k times
3
-
1Welcome to Stack Overflow! Please move your question to [su] (delete here, re-post there). It's [off-topic here](//stackoverflow.com/help/on-topic). – Martin Prikryl Nov 24 '17 at 15:35
3 Answers
0
You do not have any rights for example in the /var/www folder.
Upload the files to /home/pi and connect with ssh. Login as user "pi" (and change to user "root" with "sudo su").
Then you can move your file. "(sudo) mv /home/pi/file.xy /move/it/to/this/place/"
You can also use "sudo" with the user "pi" instead of log in with user "root".
-
-
-
But it is easier to connect with ftp with root user https://raspberrypi.stackexchange.com/questions/48056/login-as-root-not-possible – Nov 24 '17 at 14:46