public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] .gvfs breaks my backup scripts - what to do about it?
@ 2011-06-27  9:21 Helmut Jarausch
  2011-06-27 10:30 ` Matthias Krebs
  2011-06-27 10:41 ` Helmut Jarausch
  0 siblings, 2 replies; 3+ messages in thread
From: Helmut Jarausch @ 2011-06-27  9:21 UTC (permalink / raw
  To: gentoo-user

Hi,

I have an annoying problem which I'd like to fix.
Something (probably some Gnome application) repeatedly creates the 
folder
.gvfs  with permissions dr-x------ 2 jarausch users

When I run tar (as root!) I get
tar: ./jarausch/.gvfs: Cannot stat: Permission denied

which sets an error return code for tar or even terminates tar.

What I can do about this?  (I don't run the Gnome desktop, just some
Gnome applications.)

Many thanks for a hint,
Helmut.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] .gvfs breaks my backup scripts - what to do about it?
  2011-06-27  9:21 [gentoo-user] .gvfs breaks my backup scripts - what to do about it? Helmut Jarausch
@ 2011-06-27 10:30 ` Matthias Krebs
  2011-06-27 10:41 ` Helmut Jarausch
  1 sibling, 0 replies; 3+ messages in thread
From: Matthias Krebs @ 2011-06-27 10:30 UTC (permalink / raw
  To: gentoo-user

On Mon, Jun 27, 2011 at 11:21 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> Hi,
>
> I have an annoying problem which I'd like to fix.
> Something (probably some Gnome application) repeatedly creates the
> folder
> .gvfs  with permissions dr-x------ 2 jarausch users
>
> When I run tar (as root!) I get
> tar: ./jarausch/.gvfs: Cannot stat: Permission denied
>
> which sets an error return code for tar or even terminates tar.
>
> What I can do about this?  (I don't run the Gnome desktop, just some
> Gnome applications.)
>
> Many thanks for a hint,
> Helmut.
>

AFAIK this dir is created by gvfs-mount, which uses fuse. By default
fuse creates its mountpoints / files only with permissons for the user
running it.

You could :
- use tar --exclude (probably the best, since the files are only
temporary mountpoints)
- change the rights of the dir with chown
- try use_allow_other in /etc/fuse.conf



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] .gvfs breaks my backup scripts - what to do about it?
  2011-06-27  9:21 [gentoo-user] .gvfs breaks my backup scripts - what to do about it? Helmut Jarausch
  2011-06-27 10:30 ` Matthias Krebs
@ 2011-06-27 10:41 ` Helmut Jarausch
  1 sibling, 0 replies; 3+ messages in thread
From: Helmut Jarausch @ 2011-06-27 10:41 UTC (permalink / raw
  To: gentoo-user

Thanks Thanasis and Matthias.
I didn't recognize that .gvfs is a mount point for an sshfs file 
system.

Helmut.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-27 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-27  9:21 [gentoo-user] .gvfs breaks my backup scripts - what to do about it? Helmut Jarausch
2011-06-27 10:30 ` Matthias Krebs
2011-06-27 10:41 ` Helmut Jarausch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox