Re: wrong file permissions in /var/lib/pacman/local

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



Hubert Grzeskowiak schrieb:
> Aaron Griffin schrieb:
>> On Thu, Dec 11, 2008 at 2:46 PM, Hubert Grzeskowiak
>> <arch-general-ml@xxxxxxxxxxxx> wrote:
>>> Aaron Griffin schrieb:
>>>> On Thu, Dec 11, 2008 at 12:47 PM, Hubert Grzeskowiak
>>>> <arch-general-ml@xxxxxxxxxxxx> wrote:
>>>>> hi there,
>>>>> can it be, that the some dirs written to /var/lib/pacman/local/* are not
>>>>> chmod'ed properly? sometimes i get errors because as user i don't have
>>>>> the permissions to do anything with it (it's set to drwx------). this
>>>>> only occurs on some packages (eg. the new nmap package). other dirs and
>>>>> files inside all (also the corrupted) directories seem okay (files:
>>>>> -rw-r--r--; dirs: drwxr-xr-x)
>>>>>
>>>>> i played around with umask and sudo (always used on de-/installations)
>>>>> with no result -everything was okay- so i conclude it's a per-package
>>>>> problem.
>>>> It's not, those files are not installed directly out of the package -
>>>> pacman writes them itself.
>>>>
>>>> What is root's umask?
>>>>
>>> root's and user's umask is the same: 0077
>> Can you try setting it to 0022 (the default, and what I have on my
>> system) and see if the problem persists? If it does not, we then know
>> the cause...
>> Still, pacman's explicit chmod of this dir should fix this... gah.
>>
>> Dan, does pacman also explicitly set its own umask anywhere?
>>
> 
> ok. gonna change it before updating the next time
> 

upgraded as root with umask 0022 and it's all okay.

H.G.


[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