0

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?

2
  • 1
    Have you used chown to make that folder owned by the appropriate user?
    – ceejayoz
    Jul 13, 2022 at 15:34
  • @ceejayoz thank you. I've used chmod and chown now it works! Sorry for the trivial question, I'm new to Linux and it's not my field of work, but I try to learn.
    – LosmiNCL
    Jul 13, 2022 at 16:04

1 Answer 1

2

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .