FS#7197 - wrong permissions when extracting
Attached to Project:
Pacman
Opened by Roman Kyrylych (Romashka) - Thursday, 17 May 2007, 21:52 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 28 May 2007, 22:48 GMT
Opened by Roman Kyrylych (Romashka) - Thursday, 17 May 2007, 21:52 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 28 May 2007, 22:48 GMT
|
Details
[root@home ~]# mkdir test
[root@home ~]# pacman -Ud /var/cache/pacman/pkg/filesystem-0.8-7.pkg.tar.gz --root=/root/test loading package data... done. cleaning up... done. (1/1) checking for file conflicts [#####################] 100% error: could not open file /root/test/var/lib/pacman/local//filesystem-0.8-7/depends: No such file or directory (1/1) installing filesystem [#####################] 100% [root@home ~]# ls test bin dev home mnt proc sbin sys usr boot etc lib opt root srv tmp var [root@home ~]# ls test -l total 64 drwxr-xr-x 2 root root 4096 2007-05-13 16:37 bin drwxr-xr-x 2 root root 4096 2007-05-13 16:37 boot drwxr-xr-x 2 root root 4096 2007-05-13 16:37 dev drwxr-xr-x 4 root root 4096 2007-05-13 16:37 etc drwxr-xr-x 3 root root 4096 2007-05-13 16:37 home drwxr-xr-x 3 root root 4096 2007-05-13 16:37 lib drwxr-xr-x 5 root root 4096 2007-05-13 16:37 mnt drwxr-xr-x 2 root root 4096 2007-05-13 16:37 opt drwxr-xr-x 2 root root 4096 2007-05-13 16:37 proc drwxr-x--- 2 root root 4096 2007-05-13 16:37 root drwxr-xr-x 2 root root 4096 2007-05-13 16:37 sbin drwxr-xr-x 2 root root 4096 2007-05-13 16:37 srv drwxr-xr-x 2 root root 4096 2007-05-13 16:37 sys drwxr-xr-x 2 root root 4096 2007-05-18 00:09 tmp drwxr-xr-x 10 root root 4096 2007-05-13 16:37 usr drwxr-xr-x 13 root root 4096 2007-05-18 00:09 var [root@home ~]# /tmp has 41777 permissions in filesystem-0.8-7.pkg.tar.gz |
This task depends upon
drwxr-xr-x 2 root root 4096 2007-05-18 00:09 tmp
/tmp has 41777 permissions in filesystem-0.8-7.pkg.tar.gz (writeable by world and sticky)