[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cannot unlink problem
From: |
Laurent Mélon |
Subject: |
Cannot unlink problem |
Date: |
Fri, 31 Aug 2001 10:18:31 +0200 |
Hello,
I found this strange behaviour when trying to "untar" the attached file
(xx.tar) :
/home/melon> tar -xvf xx.tar
xx/
xx/ns.ps
tar: xx/ns.ps: Cannot unlink: Permission denied
tar: Error exit delayed from previous errors
/home/melon>
the version is : tar (GNU tar) 1.13.18 (supplied with the SuSE Linux 7.2).
doing a "strace" on the command show that "tar" :
1) create the directory xx
2) create the file ns.ps (of size 0)
3) applies the permissions to the xx directory (500)
4) somehow realize that in fact ns.ps was not a file but a symlink so
tries
to "unlink" it which of course according to the xx directory
permissions is
not allowed.
is there a way to "untar" correctly this file with an appropriate option ?
is it a bug ? is the program applying permissions at the right time ?
thank in advance for you answer,
yours sincerely,
Melon Laurent
University of Liege,
Computer network departement
xx.tar
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Cannot unlink problem,
Laurent Mélon <=