Article 54A55 Trouble accessing folder

Trouble accessing folder

by
jfirestorm44
from LinuxQuestions.org on (#54A55)
Hello all. I am hoping to get some assistance with figuring out why I get permission denied when trying to access certain folders.

I created a folder /var/log/caddy but I can't access it.

When I use list I get:
Code:jfirestorm44@raspberrypi:/var/log $ sudo ls -l caddy
total 1328
-rw-rw-rw- 1 root root 352205 Jun 3 20:02 jellyfin.log
-rw-r--r-- 1 root root 651830 Jun 4 01:39 nas.log
-rw-rw-rw- 1 root root 139358 Jun 4 07:49 omv.log
-rw-r--r-- 1 root root 197220 Jun 3 08:36 portainer.log
-rw-rw-rw- 1 root root 5596 May 29 21:33 test.logMy username is part of the 'root' group but still no access. So then I changed the group to 'adm' and still couldn't access it. Then I changed the owener to my username and still no access.

I'm new to this but from I can find is that UGO all have READ access. And if the folder asnd contents (-R) are changed to my username and a group I am a part of I should be able to access it.

Root can access the folder however.

Here's where I am at this point.

Code:jfirestorm44@raspberrypi:/var/log $ sudo ls -l caddy
total 1328
-rw-rw-rw- 1 jfirestorm44 root 352205 Jun 3 20:02 jellyfin.log
-rw-r--r-- 1 jfirestorm44 root 651830 Jun 4 01:39 nas.log
-rw-rw-rw- 1 jfirestorm44 root 139358 Jun 4 07:49 omv.log
-rw-r--r-- 1 jfirestorm44 root 197220 Jun 3 08:36 portainer.log
-rw-rw-rw- 1 jfirestorm44 root 5596 May 29 21:33 test.logThanks in advancelatest?d=yIl2AUoC8zA latest?i=AO-ZNvxXuc8:DRA5zdqp7r4:F7zBnMy latest?i=AO-ZNvxXuc8:DRA5zdqp7r4:V_sGLiP latest?d=qj6IDK7rITs latest?i=AO-ZNvxXuc8:DRA5zdqp7r4:gIN9vFwAO-ZNvxXuc8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments