[opensuse] .gvfs backup (was: ~/.gvfs permissions)
Dave Howorth wrote:
AFAIK, drwx------ is how it is supposed to be. Definitely root doesn't have access rights (.gvfs is a real pain when making backups for that reason)
Do you really backup that? Is that sensible? Does restore work? We've excluded the .gvfs dirs from backup, since they didn't seem to have permanent content. But then, GNOME is not much used here, so I might miss something. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tuesday 13 December 2011 12:47:41 Joachim Schrod wrote:
Dave Howorth wrote:
AFAIK, drwx------ is how it is supposed to be. Definitely root doesn't have access rights (.gvfs is a real pain when making backups for that reason)
Do you really backup that? Is that sensible? Does restore work?
We've excluded the .gvfs dirs from backup, since they didn't seem to have permanent content. But then, GNOME is not much used here, so I might miss something.
The gnome vfs directory is used for things like ftp or samba access, temporary FUSE mountpoints for data access. It's not something you'd back up from the client side. Essentially, it is the gnome equivalent of kio slaves Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 2011-12-13 at 12:54 +0100, Anders Johansson wrote:
On Tuesday 13 December 2011 12:47:41 Joachim Schrod wrote:
Dave Howorth wrote:
AFAIK, drwx------ is how it is supposed to be. Definitely root doesn't have access rights (.gvfs is a real pain when making backups for that reason) Do you really backup that? Is that sensible? Does restore work? We've excluded the .gvfs dirs from backup, since they didn't seem to have permanent content. But then, GNOME is not much used here, so I might miss something. The gnome vfs directory is used for things like ftp or samba access, temporary FUSE mountpoints for data access. It's not something you'd back up from the client side.
+1 Most backup software provides a feature to not descend across mount-points / filesystems. Enabling that feature will probably fix the problem. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Joachim Schrod wrote:
Dave Howorth wrote:
AFAIK, drwx------ is how it is supposed to be. Definitely root doesn't have access rights (.gvfs is a real pain when making backups for that reason)
Do you really backup that? Is that sensible? Does restore work?
No, sorry, I should have been more explicit. Since root can't access it, it causes errors in my backup process. Therefore it has to be excluded from the backup. Fortunately, it doesn't need backing up as Anders said. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/13/2011 07:02 AM, Dave Howorth pecked at the keyboard and wrote:
Joachim Schrod wrote:
Dave Howorth wrote:
AFAIK, drwx------ is how it is supposed to be. Definitely root doesn't have access rights (.gvfs is a real pain when making backups for that reason)
Do you really backup that? Is that sensible? Does restore work?
No, sorry, I should have been more explicit. Since root can't access it, it causes errors in my backup process. Therefore it has to be excluded from the backup. Fortunately, it doesn't need backing up as Anders said.
This may be a bug in rm but: (as user) ken@pc1:~> rm -r -i .gvfs/ rm: remove write-protected directory `.gvfs'? y ken@pc1:~> mkdir .gvfs ken@pc1:~> ll -a .gvfs/ total 16 drwxr-xr-x 2 ken users 4096 Dec 13 08:26 . drwxr-xr-x 190 ken users 12288 Dec 13 08:26 .. ken@pc1:~> -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tuesday 13 December 2011 08:31:51 Ken Schneider - openSUSE wrote:
This may be a bug in rm but:
(as user)
ken@pc1:~> rm -r -i .gvfs/ rm: remove write-protected directory `.gvfs'? y ken@pc1:~> mkdir .gvfs ken@pc1:~> ll -a .gvfs/ total 16 drwxr-xr-x 2 ken users 4096 Dec 13 08:26 . drwxr-xr-x 190 ken users 12288 Dec 13 08:26 ..
Was it mounted before you did that? Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/13/2011 08:40 AM, Anders Johansson pecked at the keyboard and wrote:
On Tuesday 13 December 2011 08:31:51 Ken Schneider - openSUSE wrote:
This may be a bug in rm but:
(as user)
ken@pc1:~> rm -r -i .gvfs/ rm: remove write-protected directory `.gvfs'? y ken@pc1:~> mkdir .gvfs ken@pc1:~> ll -a .gvfs/ total 16 drwxr-xr-x 2 ken users 4096 Dec 13 08:26 . drwxr-xr-x 190 ken users 12288 Dec 13 08:26 ..
Was it mounted before you did that?
Anders
No. That's why I guess. But still it removed a directory I had no write permission to. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Ken Schneider - openSUSE wrote:
No. That's why I guess. But still it removed a directory I had no write permission to.
The write permission of a directory determines what you can do INSIDE that directory, not what you can do to the directory itself (that's determined by the permissions of the parent directory). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Dec 13, 2011 at 9:02 AM, Ken Schneider - openSUSE
On 12/13/2011 08:40 AM, Anders Johansson pecked at the keyboard and wrote:
On Tuesday 13 December 2011 08:31:51 Ken Schneider - openSUSE wrote:
This may be a bug in rm but:
(as user)
ken@pc1:~> rm -r -i .gvfs/ rm: remove write-protected directory `.gvfs'? y ken@pc1:~> mkdir .gvfs ken@pc1:~> ll -a .gvfs/ total 16 drwxr-xr-x 2 ken users 4096 Dec 13 08:26 . drwxr-xr-x 190 ken users 12288 Dec 13 08:26 ..
Was it mounted before you did that?
Anders
No. That's why I guess. But still it removed a directory I had no write permission to.
-- Ken Schneider SuSe since Version 5.2, June 1998
I believe unix in general has always done that. you can remove files you don't have specific write permission to if you are the owner, it'll just prompt. from my redhat machine: [zep@scooter junk]$ touch a [zep@scooter junk]$ chmod 0 a [zep@scooter junk]$ ls -l total 0 ---------- 1 zep zep 0 Dec 13 09:22 a [zep@scooter junk]$ rm a rm: remove write-protected regular empty file `a'? y [zep@scooter junk]$ ls -l total 0 -- Even the Magic 8 ball has an opinion on email clients: Outlook not so good. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Adam Tauno Williams
-
Anders Johansson
-
Dave Howorth
-
Joachim Schrod
-
Ken Schneider - openSUSE
-
zGreenfelder