Gentoo Archives: gentoo-user

From: Matthias Krebs <matthias.krebs@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] .gvfs breaks my backup scripts - what to do about it?
Date: Mon, 27 Jun 2011 10:32:36
Message-Id: BANLkTimQO18vQfE7SgVxtaoA9zbd-kOdNg@mail.gmail.com
In Reply to: [gentoo-user] .gvfs breaks my backup scripts - what to do about it? by Helmut Jarausch
1 On Mon, Jun 27, 2011 at 11:21 AM, Helmut Jarausch
2 <jarausch@××××××××××××××××.de> wrote:
3 > Hi,
4 >
5 > I have an annoying problem which I'd like to fix.
6 > Something (probably some Gnome application) repeatedly creates the
7 > folder
8 > .gvfs  with permissions dr-x------ 2 jarausch users
9 >
10 > When I run tar (as root!) I get
11 > tar: ./jarausch/.gvfs: Cannot stat: Permission denied
12 >
13 > which sets an error return code for tar or even terminates tar.
14 >
15 > What I can do about this?  (I don't run the Gnome desktop, just some
16 > Gnome applications.)
17 >
18 > Many thanks for a hint,
19 > Helmut.
20 >
21
22 AFAIK this dir is created by gvfs-mount, which uses fuse. By default
23 fuse creates its mountpoints / files only with permissons for the user
24 running it.
25
26 You could :
27 - use tar --exclude (probably the best, since the files are only
28 temporary mountpoints)
29 - change the rights of the dir with chown
30 - try use_allow_other in /etc/fuse.conf