I'm using CentOS 7 on Google Cloud. I deleted accidentally the folder with my username, /home/username, that folder was used for uploading files via Google SSH. I've created a folder with the same name. But now I can't upload any files. Is there something else I have to configure?
1 Answer
This answer is using information taken from the comments with the aim of helping the community in general.
To be able to upload the files, the user performing this task should have the necessary Linux file permissions to copy them.
You can assign the proper permissions using the commands chmod and chown.
chown
to make that folder owned by the appropriate user?