I'm trying to learn the basics of OpenBSD coming from CentOS ...
so I've created a new certificate for my domain.tld
with certbot
and a new user - newuser
I've added newuser
to wheel group and even chmod -R 777 /etc/letsencrypt/live/domain.tld/
but still can't ls
that directory.
bsd0# doas -u newuser ls -hasl /etc/letsencrypt/live
doas (root@bsd0.my.domain) password:
ls: .: Permission denied
ls: ..: Permission denied
ls: README: Permission denied
ls: domain.tld: Permission denied
total 0
Obviously, I'm missing something, but can't figure out what.
Can you help ?
/etc/letsencrypt/live
and/etc/letsencrypt
directories? – Kusalananda May 30 '22 at 08:584 drw-rw-rw- 3 root wheel 512B May 29 15:50 live
– cybernet2u May 30 '22 at 09:10x
permissions on the intermediate parent directories. I believe the issue is a duplicate of the question I linked to in my second comment above. Note that this is not OpenBSD-specific but the way Unix permissions on directories work in general. – Kusalananda May 30 '22 at 09:13