FS#12187 - /var/lib/pacman/local getting wrong permissions for new packages
Attached to Project:
Pacman
Opened by Austin (doorknob60) - Thursday, 20 November 2008, 04:31 GMT
Last edited by Dan McGee (toofishes) - Saturday, 22 November 2008, 00:40 GMT
Opened by Austin (doorknob60) - Thursday, 20 November 2008, 04:31 GMT
Last edited by Dan McGee (toofishes) - Saturday, 22 November 2008, 00:40 GMT
|
Details
Summary and Info:
Ever since I upgraded my packages to [testing] (yesterday). whenever I install a new ackage, the folder it makes inside of /var/lib/pacman/local have drwx------ permissions, which means I can't even read the files without root, causing yaourt to give errors when run as a normal user (which you're supposed to). I have to chmod 755 (the permissions are supposed to be drwxr-xr-x) the folder every time I install something now, and I don't know why it suddenly stopped working right. Steps to Reproduce: Install any program...run ls -l /var/lib/pacman/local and look at the permissions for the newly installed program and it will be different than the others. I've tried multiple times in multiple different ways (with yaourt, with pacman-color, with regular pacman, as root, with sudo, with different shells even) with the same results each time. It also happens with packages installed off of AUR with yaourt. |
This task depends upon
Wait a sec....I commented the line umask 077 in my zshrc last night, and I appreantly didnt close the terminal, and after keep testing it still messed up. *facepalm* seems to be working now, although last night I also tried it in bash and root, so I don't know if that was the problem (my umask shows as 022 not 077 now). After more testing I'll post back.