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 |