Re: Pacman db files and permissions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 19/03/11 08:34, Peter Lewis wrote:
Hi,

It seems to me that something has changed regarding the way pacman handles
permissions of its files since 3.5.

I updated to pacman 3.5 yesterday, and today tried to do a pacman -Ss<foo>  as
my normal user. I got some "error: could not open file" errors and it bailed.

Now, I have my umask set as 077, but this didn't seem to affect the way pacman
worked before:

% ls -l /var/lib/pacman/sync/core/pacman-3.4.3-1/desc
-rw-r--r-- 1 root root 370 Mar 17 19:53 /var/lib/pacman/sync/core/pacman-3.4.3-1/desc

% ls -l /var/lib/pacman/sync/core.db
-rw------- 1 root root 38K Mar 18 05:25 /var/lib/pacman/sync/core.db

Did pacman used to set the permissions on things it had downloaded, and this
hasn't been added to the .db file handling code?

Or is this supposed to happen?


Please file a bug report. Before the sync databases were extracted so your umask did not matter. Now it apparently does...

Allan


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux