On Tue, 11 Apr 2023, 'David Leader' via aptly-discuss wrote:
> Yes I am using nginx in just files. It is pointing to the public folder.
> Here is a section of the logs and error files.
> 2023/04/11 07:13:14 [error] 37829#37829: *9 open()
> "/media/storage/aptly/public/dists/jammy/Release" failed (13: Permission
> denied), client:
Check read and browse permissions for other (world) for each level.
For example, my nginx config has
root /srv/aptly/repo/public;
aptly@prod-repo-deb-2:/home/reed$ ls -ld / /srv/ /srv/aptly /srv/aptly/repo /srv/aptly/repo/public
drwxr-xr-x 22 root root 4096 May 19 2022 /
drwxr-xr-x 5 root root 4096 Mar 15 2021 /srv/
drwxr-xr-x 18 aptly aptly 1499136 Apr 11 19:14 /srv/aptly
drwxr-xr-x 5 aptly aptly 4096 Jun 27 2018 /srv/aptly/repo
drwxr-xr-x 11 aptly aptly 4096 Nov 20 2021 /srv/aptly/repo/public
See the drwxr-xr-x
and check the directories and files down to your Release file