On Sunday 20,January,2013 04:33 AM, cr...@gtek.biz wrote:
> On Saturday, January 19, 2013 10:33, "lina" <lina.lastn...@gmail.com> said:
> 
>>>>> Yes, in my home directory. The path is /home/lina/try
>>>>>
>>>>>>> -????????? ? ? ? ?            ? XX.tar
>>>>>>
>>> But it looks more to me as if this files are somehow
>>> corrupted. Did you fsck this file-system lately ?
> 
> Hi Lina
> 
> Excuse me for replying to this message, I've managed to lose your first
> post. This is most likely not a corrupt file system, but rather it is 
> probably the result of lack of execute permission on the directory. You
> can recreate it thusly: 
> 
> $ cd /tmp
> $ mkdir test
> $ export looptest=0
> $ while [ $looptest -le 10 ]
>   do
>      touch test/test$looptest
>      loop=`expr $looptest + 1`
>   done
> 
> $ ls -l test
> total 0
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test0
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test1
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test10
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test2
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test3
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test4
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test5
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test6
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test7
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test8
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test9
> 
> $ chmod 644 test
> 
> $ ls -l test
> ls: cannot access test/test3: Permission denied
> ls: cannot access test/test1: Permission denied
> ls: cannot access test/test5: Permission denied
> ls: cannot access test/test10: Permission denied
> ls: cannot access test/test6: Permission denied
> ls: cannot access test/test8: Permission denied
> ls: cannot access test/test9: Permission denied
> ls: cannot access test/test2: Permission denied
> ls: cannot access test/test0: Permission denied
> ls: cannot access test/test4: Permission denied
> ls: cannot access test/test7: Permission denied
> total 0
> -????????? ? ? ? ?            ? test0
> -????????? ? ? ? ?            ? test1
> -????????? ? ? ? ?            ? test10
> -????????? ? ? ? ?            ? test2
> -????????? ? ? ? ?            ? test3
> -????????? ? ? ? ?            ? test4
> -????????? ? ? ? ?            ? test5
> -????????? ? ? ? ?            ? test6
> -????????? ? ? ? ?            ? test7
> -????????? ? ? ? ?            ? test8
> -????????? ? ? ? ?            ? test9
> 
> $ rm -f test/*
> rm: cannot remove `test/test0': Permission denied
> rm: cannot remove `test/test1': Permission denied
> rm: cannot remove `test/test10': Permission denied
> rm: cannot remove `test/test2': Permission denied
> rm: cannot remove `test/test3': Permission denied
> rm: cannot remove `test/test4': Permission denied
> rm: cannot remove `test/test5': Permission denied
> rm: cannot remove `test/test6': Permission denied
> rm: cannot remove `test/test7': Permission denied
> rm: cannot remove `test/test8': Permission denied
> rm: cannot remove `test/test9': Permission denied
> 
> $ chmod 755 test
> 
> $ ls -l test
> total 0
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test0
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test1
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test10
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test2
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test3
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test4
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test5
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test6
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test7
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test8
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test9
> 
> $ rm -f test/*
> 
> $ ls -l test
> total 0
> 
> This is a result of needing directory execute permission in order
> to traverse the directory.

Ha ... interesting. Indeed, thanks.

> 
> 
> Sent - Gtek Web Mail
> 
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50fb749f.8090...@gmail.com

Reply via email to