Re: "Bad file descriptor" error when restoring file

2017-07-11 Thread Nicolas George
Le decadi 20 messidor, an CCXXV, Pétùr a écrit : > Le 08/07/2017 à 18:34, Reco a écrit : > >> Any idea? > >> > >> $ duplicity restore --gio --time=2017-07-06T08:14:08Z --force > >> file:///home/pierre/data/backup_pierre / --verbosity=9 > >> --gpg-options=--no-use-agent --archive-dir=/home/pierre/.c

Re: "Bad file descriptor" error when restoring file

2017-07-08 Thread Reco
Hi. On Sat, 8 Jul 2017 20:42:00 +0200 Pétùr wrote: > Le 08/07/2017 à 18:34, Reco a écrit : > >> Any idea? > >> > >> $ duplicity restore --gio --time=2017-07-06T08:14:08Z --force > >> file:///home/pierre/data/backup_pierre / --verbosity=9 > >> --gpg-options=--no-use-agent --archive-dir=/h

Re: "Bad file descriptor" error when restoring file

2017-07-08 Thread Pétùr
Le 08/07/2017 à 18:37, Nicolas George a écrit : > Le decadi 20 messidor, an CCXXV, Nicolas George a écrit : >> This specific error message is always the sign of a severe bug in the >> program. > Hum, I had not imagined the wrong file descriptor was requested on > purpose. The severe bug was not in

Re: "Bad file descriptor" error when restoring file

2017-07-08 Thread Pétùr
Le 08/07/2017 à 18:34, Reco a écrit : >> Any idea? >> >> $ duplicity restore --gio --time=2017-07-06T08:14:08Z --force >> file:///home/pierre/data/backup_pierre / --verbosity=9 >> --gpg-options=--no-use-agent --archive-dir=/home/pierre/.cache/deja-dup >> --tempdir=/tmp --log-fd=22 > Sure. Don't ask

Re: "Bad file descriptor" error when restoring file

2017-07-08 Thread Nicolas George
Le decadi 20 messidor, an CCXXV, Nicolas George a écrit : > This specific error message is always the sign of a severe bug in the > program. Hum, I had not imagined the wrong file descriptor was requested on purpose. The severe bug was not in the program but in the caller. Regards, -- Nicolas

Re: "Bad file descriptor" error when restoring file

2017-07-08 Thread Nicolas George
Le decadi 20 messidor, an CCXXV, Pétùr a écrit : > "OSError: [Errno 9] Bad file descriptor" This specific error message is always the sign of a severe bug in the program. One that leaves 0 confidence in said program. If it comes from you backup program, it is entirely possible your backups have b

Re: "Bad file descriptor" error when restoring file

2017-07-08 Thread Reco
Hi. On Sat, 8 Jul 2017 18:28:49 +0200 Pétùr wrote: > Any idea? > > $ duplicity restore --gio --time=2017-07-06T08:14:08Z --force > file:///home/pierre/data/backup_pierre / --verbosity=9 > --gpg-options=--no-use-agent --archive-dir=/home/pierre/.cache/deja-dup > --tempdir=/tmp --log-fd

Re: bad file descriptor error in bash

2001-12-10 Thread Henrique de Moraes Holschuh
On Sun, 09 Dec 2001, Eric G. Miller wrote: > > home:~ #df 1>&- > > df: write error: Bad file descriptor > > Is it a bug? > > ">&-" should be compatible with ">/dev/null", right? Well, no. AFAIK, >&- means to *close* the stdout file descriptor, while >/dev/null means to redirect (i.e. open) stdout

Re: bad file descriptor error in bash

2001-12-10 Thread Eric G. Miller
On Mon, 10 Dec 2001 14:42:15 +0800, Patrick Hsieh <[EMAIL PROTECTED]> wrote: > Hello, > home:~ #df 1>&- > df: write error: Bad file descriptor > > Is it a bug? > ">&-" should be compatible with ">/dev/null", right? If it is, it must be with "df" as other programs don't complain. -- Eric G. Mi

Re: bad file

2001-10-14 Thread Bob Underwood
On Sunday 14 October 2001 05:26, Robert Waldner wrote: > On Sat, 13 Oct 2001 22:18:55 PDT, Kevin writes: > >its got nothing to do with the attribs or the perms > > > >lsattr: Inappropriate ioctl for device While reading flags on > > ./guide.it.html > > > >and i cant fsck it because im not local and

Re: bad file

2001-10-14 Thread Robert Waldner
On Sat, 13 Oct 2001 22:18:55 PDT, Kevin writes: >its got nothing to do with the attribs or the perms > >lsattr: Inappropriate ioctl for device While reading flags on ./guide.it.html > >and i cant fsck it because im not local and cant go to single user. >oh well, thanks for the help Maybe you don

Re: bad file

2001-10-14 Thread Kevin
its got nothing to do with the attribs or the perms lsattr: Inappropriate ioctl for device While reading flags on ./guide.it.html and i cant fsck it because im not local and cant go to single user. oh well, thanks for the help > On Sat, Oct 13, 2001 at 08:07:12PM -0700, Kevin wrote: > > [EMAIL

Re: bad file

2001-10-13 Thread Alson van der Meulen
On Sat, Oct 13, 2001 at 08:07:12PM -0700, Kevin wrote: > [EMAIL PROTECTED]:/usr/share/doc/apt# chmod 644 guide.it.html > chmod: changing permissions of `guide.it.html': Operation not permitted try lsattr guide.it.html, guess the 'i' attribute is set (immutable) chattr -i guide.it.html should fix it

Re: bad file

2001-10-13 Thread Kevin
[EMAIL PROTECTED]:/usr/share/doc/apt# chmod 644 guide.it.html chmod: changing permissions of `guide.it.html': Operation not permitted > > >> On Sat, 13 Oct 2001 12:01:40 PDT, Kevin writes: > >> >it looks like the filesystem is screwed up > >> > > >> >is there a way i can remove/fix this file remot

Re: bad file

2001-10-13 Thread Robert Waldner
>> On Sat, 13 Oct 2001 12:01:40 PDT, Kevin writes: >> >it looks like the filesystem is screwed up >> > >> >is there a way i can remove/fix this file remotely (ie no init 1) >> > >> >?-wS--x-w- 25830 3373684167 3802483123 14067798681382885448 Sep 2 1905 g >uid >> >e.it.html >> >> Long shot: Hav

Re: bad file

2001-10-13 Thread Kevin
[EMAIL PROTECTED]:/usr/share/doc/apt# cat /dev/null >guide.it.html su: guide.it.html: Permission denied and as for just trying to rm it, i already showed i cant do that > On Sat, 13 Oct 2001 12:01:40 PDT, Kevin writes: > >it looks like the filesystem is screwed up > > > >is there a way i can remo

Re: bad file

2001-10-13 Thread Robert Waldner
On Sat, 13 Oct 2001 12:01:40 PDT, Kevin writes: >it looks like the filesystem is screwed up > >is there a way i can remove/fix this file remotely (ie no init 1) > >?-wS--x-w- 25830 3373684167 3802483123 14067798681382885448 Sep 2 1905 guid >e.it.html Long shot: Have you tried `cat /dev/null >g

Re: bad file

2001-10-13 Thread Wayne Topa
Kevin([EMAIL PROTECTED]) is reported to have said: > it looks like the filesystem is screwed up > > is there a way i can remove/fix this file remotely (ie no init 1) > > ?-wS--x-w- 25830 3373684167 3802483123 14067798681382885448 Sep 2 1905 > guide.it.html > > [EMAIL PROTECTED]:/usr/share/do