You are not logged in.

#1 2011-08-15 15:01:20

babakott
Member
Registered: 2011-08-15
Posts: 6

pacman root file permissions.

I am wondering if I did something wrong in the initial Arch Linux install.

Just about every time I use pacman to install a package I have to go track down and fix file permissions so I can run the program as a user. Is this normally how things are done? Or am I doing something wrong?

I use pacman with sudo, because it will not work otherwise. So I use sudo pacman -S <package> OR sudo pacman -U <aur package> after using makepkg.

Thanks.

Offline

#2 2011-08-15 15:05:18

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

Re: pacman root file permissions.

Any apps in particular?
To answer your question: no, this doesn't sound right.

Last edited by karol (2011-08-15 15:07:45)

Offline

#3 2011-08-15 15:07:13

babakott
Member
Registered: 2011-08-15
Posts: 6

Re: pacman root file permissions.

chromium, xfburn,  and firefox to name three.

Offline

#4 2011-08-15 15:08:09

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

Re: pacman root file permissions.

And what is the error you get?

Offline

#5 2011-08-15 15:10:36

babakott
Member
Registered: 2011-08-15
Posts: 6

Re: pacman root file permissions.

permission denied errors. I have to chown or chmod the executables to run them. Also my ~/.config dir was owned by root, had to chown that.

Offline

#6 2011-08-15 15:16:19

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: pacman root file permissions.

babakott wrote:

I use pacman with sudo, because it will not work otherwise.

pacman isn't supposed to work otherwise.

but the installed packages shouldn't need sudo.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2011-08-15 15:19:33

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: pacman root file permissions.

Binary executables are typically installed with root:root ownership and 755 permissions.

What are you seeing on your system  (before chown/chmod, of course)?

Offline

#8 2011-08-15 15:22:36

babakott
Member
Registered: 2011-08-15
Posts: 6

Re: pacman root file permissions.

Running out to work. Will take my laptop and post the info when I can.
Thanks.

Offline

Board footer

Powered by FluxBB