1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- AT_SETUP([extracting symlinks to a read-only dir])
- AT_KEYWORDS([extract extract07 read-only symlink chdir])
- AT_TAR_CHECK([
- AT_UNPRIVILEGED_PREREQ
- echo Prepare the directory
- mkdir dir
- genfile -f foo
- cd dir
- ln -s ../foo .
- cd ..
- chmod a-w dir
- echo Create the archive
- tar cf archive dir || exit 1
- chmod +w dir
- echo Extract
- mkdir out
- tar -C out -xvf archive
- ],
- [0],
- [Prepare the directory
- Create the archive
- Extract
- dir/
- dir/foo
- ],
- [],[],[],[ustar])
- AT_CLEANUP
|