You are not logged in.

#1 2012-01-31 21:43:47

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

[SOLVED] Fixing lib permissions

What is the proper permission for all of the folders/files of /usr/lib ? Thanks.

Last edited by TuxLyn (2012-01-31 22:06:46)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#2 2012-01-31 21:55:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Fixing lib permissions

Different permissions for different files:

[karol@black ~]$ ls -l /usr/lib  | wc -l
1282
[karol@black ~]$ ls -l /usr/lib | tail -20
drwxr-xr-x 28 root root    20480 01-31 18:35 python2.7
drwxr-xr-x  2 root root     4096 01-09 11:13 sa
drwxr-xr-x  2 root root     4096 01-09 15:52 sasl2
drwxr-xr-x  2 root root     4096 01-19 02:54 sox
-rwxr-xr-x  1 root root     9456 01-31 04:39 sudo_noexec.so
-rwxr-xr-x  1 root root   177504 01-31 04:39 sudoers.so
drwxr-xr-x  2 root root     4096 01-19 12:35 sysctl.d
drwxr-xr-x  2 root root     4096 01-22 05:18 syslog-ng
drwxr-xr-x  2 root root     4096 11-03 15:14 tar
drwxr-xr-x  2 root root     4096 01-21 23:44 tc
lrwxrwxrwx  1 root root       17 11-03 12:43 terminfo -> ../share/terminfo
drwxr-xr-x  3 root root     4096 2010-08-30  timidity
drwxr-xr-x  2 root root     4096 01-19 12:35 tmpfiles.d
drwxr-xr-x  3 root root     4096 01-22 10:58 urxvt
drwxr-xr-x  2 root root     4096 11-30 20:02 vdpau
-rw-r--r--  1 root root      198 2010-11-27  xml2Conf.sh
drwxr-xr-x  3 root root     4096 08-10 01:18 xmms
drwxr-xr-x  3 root root     4096 01-30 19:40 xorg
-rw-r--r--  1 root root      178 2010-08-18  xsltConf.sh
drwxr-xr-x  2 root root     4096 11-14 00:49 yaourt

What happened?

Offline

#3 2012-01-31 22:06:35

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: [SOLVED] Fixing lib permissions

Thanks, but I will do full fresh install smile


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#4 2012-01-31 22:09:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Fixing lib permissions

I think that's the best idea :-)

Offline

Board footer

Powered by FluxBB