You are not logged in.

#1 2009-08-28 04:06:12

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Mercury Install, directory permissions

[s3kt0r@localhost ~]$ sudo pacman -S mercury
resolving dependencies...
looking for inter-conflicts...

Targets (1): mercury-1.9.5-1

Total Download Size:    7.99 MB
Total Installed Size:   10.97 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from community...
 mercury-1.9.5-1-i686       8.0M  311.8K/s 00:00:26 [################################################################################################################################] 100%
checking package integrity...
(1/1) checking for file conflicts                   [################################################################################################################################] 100%
(1/1) installing mercury                            [################################################################################################################################] 100%
warning: directory permissions differ on usr/bin/
filesystem: 755  package: 700
warning: directory permissions differ on usr/share/gnome/
filesystem: 755  package: 700
warning: directory permissions differ on usr/share/icons/
filesystem: 755  package: 700
warning: directory permissions differ on usr/share/pixmaps/
filesystem: 755  package: 700

Anyway to fix this?  Thanks smile


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#2 2009-08-28 06:51:57

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Mercury Install, directory permissions

report a bug for the broken package or just ignore this harmless issue


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2009-08-28 14:50:02

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: Mercury Install, directory permissions

OK, didn't know it was harmless. I thought this was going to wreck my system!

I'll just fill out the bug report, when they fix the kittie.

Last edited by s3kt0r (2009-08-28 14:51:20)


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#4 2009-08-28 15:33:17

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Mercury Install, directory permissions

well 700 on /usr/bin looks like a very bad idea and could indeed partially wreck the system if these permissions were used. (but well, this should all be easily fixable as root).

But permissions of existing directories are not changed.
They would only be used if mercury was the very first package installed on a completely empty system. And this would probably never happen in real-world usage.

So basically, when you have this warning, you do the following :
1) if filesystem permissions are the correct ones, you are fine. just report a bug for the offending package
2) if filesystem permissions are the wrong ones, you might want to fix it manually
3) if you don't know, you can either just ignore the issue, or look for information, or ask around


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB