Page 1 of 1

[RESOLVED] rights under the www folder

Published: August 3, 2023 - 4:53 PM
by jptw
Hello,
I'm having a small problem:
during the last WUA update, one of my colleagues propagated the permissions of the "/var/www" folder instead of those of "/var/www/waptwua",
which prevents the upload of any packages or anything else.
From memory, the permissions of the waptwua folder are "wapt:www-data", but I don't remember the exact permissions of the other folders.
Is there a simple way to restore the original permissions under /var/www for all the wapt folders?

Server version 2.3 Enterprise,
Debian 10.

Thank you.

Re: Rights under the www folder

Published: August 7, 2023 - 10:19
by kguerineau
Hello,

The permissions on the "waptwua" folder are wapt:www-data 750.

Regards

Re: Rights under the www folder

Published: August 7, 2023 - 2:40 PM
by jptw
Thank you

, and it's the same for the other folders,
because as I said, it's all the folders under /var/www that have been modified,
so wapt, wads, wapt-host etc....

Re: Rights under the www folder

Published: August 8, 2023 - 9:35 AM
by kguerineau
Good morning,

Here are the rights:

Code: Select all

-rw-r--r-- 1 wapt www-data     licences.json
-rw-r----- 1 wapt www-data     rules.json
drwxr-x--- 2 wapt www-data     ssl/
-rw-r----- 1 wapt www-data     sync.json
drwxr-xr-x 6 wapt www-data     wads/
drwxr-x--- 8 wapt www-data     wapt/
drwxr-x--- 2 wapt www-data     wapt-diff-repos/
drwxr-x--- 2 wapt www-data     wapt-host/
drwxr-x--- 3 wapt www-data     waptwua/
Good day

Re: Rights under the www folder

Published: August 8, 2023 - 2:17 PM
by jptw
Thanks so much!