M
M
Maxim Zolotoy2021-07-01 23:11:59
ubuntu
Maxim Zolotoy, 2021-07-01 23:11:59

How to properly set folder permissions in ubuntu?

I don't have much experience with Linux. The situation is this: there is a server on which in the / var / www / folder there are folders for users in which their sites will be located. Accordingly, they are the owners of their folders.

I also have a jenkins user who should have view and write permissions on any user's folders. How can I set it up?

60de218e4bc03754934258.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2021-07-01
@ky0

Jenkins to the general group. I assume that the web server will also need access - so you can add it to www-dataor analogues, and then distribute it to chown username:www-data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question