[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: some weird upgrade problem



On Sun, Sep 07, 2008 at 02:53:00AM +0100, Paweł Krzywicki wrote:
> Hi,
> I have tried upgrade my Debian yesterday and apt showed me an weird error.
> I am having the problem with python-libxml2 package. I have also 
> in /usr/share/doc/python-libxml2/examples directory files like that:
> 
> ?????????? ? ?    ?        ?            ? schema.py
> ?????????? ? ?    ?        ?            ? serialize.py
> ?????????? ? ?    ?        ?            ? sync.py
> 
> date of creation is of these files is 1st Jun1970 ?! 
> I cannot do absolutely nothing with them. I have tried to use live CD and 
> mount my drive not as a system one and remove them (rm -f), change owner of 
> these files, nothing seems to be working with them. Every time when I am 
> trying to do something I have straight something like: "You don't have an 
> access to the file" (?!) Do you have any ideas how to fix that. 
> thanks in advance

It's likely that it's just the lack of execute permission on the containing
directory:

mowsiany@beczulka:~$ sudo mkdir a
mowsiany@beczulka:~$ sudo touch a/a
mowsiany@beczulka:~$ ls -al b
total 8
drwxr-xr-x  2 root     root 4096 2008-09-24 19:47 .
drwxr-xr-x 74 mowsiany eng  4096 2008-09-24 19:47 ..
-rw-r--r--  1 root     root    0 2008-09-24 19:47 a
mowsiany@beczulka:~$ sudo chmod a-x a
mowsiany@beczulka:~$ ls -al a
total 0
?--------- ? ? ? ?                ? a/.
?--------- ? ? ? ?                ? a/..
?--------- ? ? ? ?                ? a/b
mowsiany@beczulka:~$ 

-- 
Marcin Owsiany <porridge@debian.org>             http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216


Reply to: