View previous topic :: View next topic |
Author |
Message |
atmosx n00b
Joined: 17 Jul 2009 Posts: 43
|
Posted: Tue Oct 01, 2024 4:20 pm Post subject: Messed up /etc/ dir permissions |
|
|
Hello,
The other day I messed up the `/etc/` dir permissions by issuing the following command:
```
chmod user1:user1 -R *
```
I thought I was under `/etc/user1prog` but I was in `/etc`. Once I realised what happened I chmod' everything to `root` apart from `ulogd.conf` which I remember belonging to `ulogd:ulogd` user. Is there any way where I can _fix_ this by re-emerging world or something similar?
Comparing perms to `staging3` doesn't help because they're untar-ed as 'root' so... it's all `root`. The system works, so doesn't seem be like a big deal but I might be missing something subtle.
Thanks! |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2179
|
Posted: Tue Oct 01, 2024 5:06 pm Post subject: |
|
|
A quick look, without any deep searching, shows virtually everything on my /etc is owned by root:root. That's to be expected - /etc is system configuration data, usually not writeable by users, but in general readable by everyone.
/etc/cups is root:lp and /etc/portage is root:portage.
would be the sort of mistake that's dangerous! _________________ Greybeard |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|