From: Andrew I. S. <an...@an...> - 2008-06-01 01:23:36
|
Hi - I am encountering an error with flexbackup caused by the .gvfs special file in my home directory. An example is below. Is there a way to pass in an argument to "find" to exclude this directory? Thanks, Andy |------------------------------------------------------------ | Checking /bin/sh on this machine... unknown |------------------------------------------------------------ | Doing level 0 backup of set all using tar | All sets = backup | Found directory index key 200805312021 | Backup set "backup" (/home) |------------------------------------------------------------ | Backup of: /home | Date of this level 0 backup: Sat May 31 21:08:39 2008 | Date of last level 0 backup: the epoch |------------------------------------------------------------ | cd "/home" && /home/tmp/flexbackup.9297.desk/collectexit.9297.sh find . \ | -depth -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ ! \ | -regex ".*\.gvfs.*" -print0 | \ | /home/tmp/flexbackup.9297.desk/collectexit.9297.sh tar --create --null \ | --files-from=- --ignore-failed-read --same-permissions --no-recursion \ | --totals --label "level 0 /home Sat May 31 21:08:39 2008 tar+gzip from \ | desk" --verbose --sparse -b 20 --file - | \ | /home/tmp/flexbackup.9297.desk/collectexit.9297.sh gzip -4 | \ | /home/tmp/flexbackup.9297.desk/collectexit.9297.sh dd ibs=10k obs=10k \ | conv=noerror of="/media/wdc/linux-backups/home.0.200805312108.tar.gz" | [ ! -e /home/tmp/flexbackup.9297.desk/exitstatus.9297 ] |------------------------------------------------------------ find: ./ais/.gvfs: Permission denied level 0 /home Sat May 31 21:08:39 2008 tar+gzip from desk ... |
From: Tecknix <lo...@gm...> - 2008-06-01 03:11:35
|
How are you running the backup? Root? Also what are the permissions on the file? On May 31, 2008, at 9:23 PM, "Andrew I. Schein" <an...@an...> wrote: > Hi - > > I am encountering an error with flexbackup caused by the .gvfs special > file in my home directory. An example is below. > > Is there a way to pass in an argument to "find" to exclude this > directory? > > Thanks, > > Andy > > |------------------------------------------------------------ > | Checking /bin/sh on this machine... unknown > |------------------------------------------------------------ > | Doing level 0 backup of set all using tar > | All sets = backup > | Found directory index key 200805312021 > | Backup set "backup" (/home) > |------------------------------------------------------------ > | Backup of: /home > | Date of this level 0 backup: Sat May 31 21:08:39 2008 > | Date of last level 0 backup: the epoch > |------------------------------------------------------------ > | cd "/home" && /home/tmp/flexbackup.9297.desk/collectexit.9297.sh > find . \ > | -depth -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex > ".*~"$ ! \ > | -regex ".*\.gvfs.*" -print0 | \ > | /home/tmp/flexbackup.9297.desk/collectexit.9297.sh tar --create > --null \ > | --files-from=- --ignore-failed-read --same-permissions --no- > recursion \ > | --totals --label "level 0 /home Sat May 31 21:08:39 2008 tar > +gzip from \ > | desk" --verbose --sparse -b 20 --file - | \ > | /home/tmp/flexbackup.9297.desk/collectexit.9297.sh gzip -4 | \ > | /home/tmp/flexbackup.9297.desk/collectexit.9297.sh dd ibs=10k > obs=10k \ > | conv=noerror of="/media/wdc/linux-backups/home. > 0.200805312108.tar.gz" > | [ ! -e /home/tmp/flexbackup.9297.desk/exitstatus.9297 ] > |------------------------------------------------------------ > find: ./ais/.gvfs: Permission denied > level 0 /home Sat May 31 21:08:39 2008 tar+gzip from desk > ... > > --- > ---------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > flexbackup-help mailing list > fle...@li... > https://lists.sourceforge.net/lists/listinfo/flexbackup-help |
From: Andrew I. S. <an...@an...> - 2008-06-01 04:47:51
|
I am running the command using sudo on Ubuntu 8.04. However, this is some kind of special file/directory that even root can't rename (use mv command) or "chmod u+w". It has zero bytes, unlike a symbolic links or ordinary directories. If I try to "rm -rf" it, there is a "Device or resource busy" message. Thanks, -Andy |
From: Andrew I. S. <an...@an...> - 2008-06-01 04:57:58
|
I forgot to include the permissions... dr-x------ 2 ais ais 0 2008-06-01 00:56 . On Sat, May 31, 2008 at 11:11 PM, Tecknix <lo...@gm...> wrote: > How are you running the backup? Root? Also what are the permissions on the > file? > > > > On May 31, 2008, at 9:23 PM, "Andrew I. Schein" <an...@an...> > wrote: > >> Hi - >> >> I am encountering an error with flexbackup caused by the .gvfs special >> file in my home directory. An example is below. >> >> Is there a way to pass in an argument to "find" to exclude this directory? >> >> Thanks, >> >> Andy >> >> |------------------------------------------------------------ >> | Checking /bin/sh on this machine... unknown >> |------------------------------------------------------------ >> | Doing level 0 backup of set all using tar >> | All sets = backup >> | Found directory index key 200805312021 >> | Backup set "backup" (/home) >> |------------------------------------------------------------ >> | Backup of: /home >> | Date of this level 0 backup: Sat May 31 21:08:39 2008 >> | Date of last level 0 backup: the epoch >> |------------------------------------------------------------ >> | cd "/home" && /home/tmp/flexbackup.9297.desk/collectexit.9297.sh find . >> \ >> | -depth -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ ! \ >> | -regex ".*\.gvfs.*" -print0 | \ >> | /home/tmp/flexbackup.9297.desk/collectexit.9297.sh tar --create --null >> \ >> | --files-from=- --ignore-failed-read --same-permissions --no-recursion >> \ >> | --totals --label "level 0 /home Sat May 31 21:08:39 2008 tar+gzip from >> \ >> | desk" --verbose --sparse -b 20 --file - | \ >> | /home/tmp/flexbackup.9297.desk/collectexit.9297.sh gzip -4 | \ >> | /home/tmp/flexbackup.9297.desk/collectexit.9297.sh dd ibs=10k obs=10k >> \ >> | conv=noerror of="/media/wdc/linux-backups/home.0.200805312108.tar.gz" >> | [ ! -e /home/tmp/flexbackup.9297.desk/exitstatus.9297 ] >> |------------------------------------------------------------ >> find: ./ais/.gvfs: Permission denied >> level 0 /home Sat May 31 21:08:39 2008 tar+gzip from desk >> ... >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> flexbackup-help mailing list >> fle...@li... >> https://lists.sourceforge.net/lists/listinfo/flexbackup-help > |
From: TeckniX _ <lo...@gm...> - 2008-06-01 15:30:26
|
If root has trouble with the file, I would definitely look into what/who created that file and see what can be done. In the meantime I'll look up some of my flexbackup scripts and see if I can figure out an exception rule. On Sun, Jun 1, 2008 at 12:58 AM, Andrew I. Schein <an...@an...> wrote: > I forgot to include the permissions... > > dr-x------ 2 ais ais 0 2008-06-01 00:56 . > > > > On Sat, May 31, 2008 at 11:11 PM, Tecknix <lo...@gm...> wrote: > > How are you running the backup? Root? Also what are the permissions on > the > > file? > > > > > > > > On May 31, 2008, at 9:23 PM, "Andrew I. Schein" <an...@an... > > > > wrote: > > > >> Hi - > >> > >> I am encountering an error with flexbackup caused by the .gvfs special > >> file in my home directory. An example is below. > >> > >> Is there a way to pass in an argument to "find" to exclude this > directory? > >> > >> Thanks, > >> > >> Andy > >> > >> |------------------------------------------------------------ > >> | Checking /bin/sh on this machine... unknown > >> |------------------------------------------------------------ > >> | Doing level 0 backup of set all using tar > >> | All sets = backup > >> | Found directory index key 200805312021 > >> | Backup set "backup" (/home) > >> |------------------------------------------------------------ > >> | Backup of: /home > >> | Date of this level 0 backup: Sat May 31 21:08:39 2008 > >> | Date of last level 0 backup: the epoch > >> |------------------------------------------------------------ > >> | cd "/home" && /home/tmp/flexbackup.9297.desk/collectexit.9297.sh find > . > >> \ > >> | -depth -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ ! \ > >> | -regex ".*\.gvfs.*" -print0 | \ > >> | /home/tmp/flexbackup.9297.desk/collectexit.9297.sh tar --create > --null > >> \ > >> | --files-from=- --ignore-failed-read --same-permissions > --no-recursion > >> \ > >> | --totals --label "level 0 /home Sat May 31 21:08:39 2008 tar+gzip > from > >> \ > >> | desk" --verbose --sparse -b 20 --file - | \ > >> | /home/tmp/flexbackup.9297.desk/collectexit.9297.sh gzip -4 | \ > >> | /home/tmp/flexbackup.9297.desk/collectexit.9297.sh dd ibs=10k > obs=10k > >> \ > >> | conv=noerror > of="/media/wdc/linux-backups/home.0.200805312108.tar.gz" > >> | [ ! -e /home/tmp/flexbackup.9297.desk/exitstatus.9297 ] > >> |------------------------------------------------------------ > >> find: ./ais/.gvfs: Permission denied > >> level 0 /home Sat May 31 21:08:39 2008 tar+gzip from desk > >> ... > >> > >> > ------------------------------------------------------------------------- > >> This SF.net email is sponsored by: Microsoft > >> Defy all challenges. Microsoft(R) Visual Studio 2008. > >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >> _______________________________________________ > >> flexbackup-help mailing list > >> fle...@li... > >> https://lists.sourceforge.net/lists/listinfo/flexbackup-help > > > |
From: Tim K. <tim...@sm...> - 2008-06-01 15:27:34
|
Andrew I. Schein wrote: > I am running the command using sudo on Ubuntu 8.04. However, this is > some kind of special file/directory that even root can't rename (use > mv command) or "chmod u+w". It has zero bytes, unlike a symbolic > links or ordinary directories. > > If I try to "rm -rf" it, there is a "Device or resource busy" message. > > Thanks, > > -Andy > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > flexbackup-help mailing list > fle...@li... > https://lists.sourceforge.net/lists/listinfo/flexbackup-help > You might want to use ls -lO to see if any special chflags have been set to prevent the deletion of the files or directory. From man ls(1): -O Include the file flags in a long (-l) output. the chflags(1) options show up as - or + signs. I'm using FreeBSD but, I think, Ubuntu supports the same ls(1) options. |