<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title><![CDATA[Attention! GVFS: move out .gvfs dir from $HOME!]]></title>
    <link>http://brainstorm.ubuntu.com/item/7673/</link>
    <description><![CDATA[Since Ubuntu Hardy 8.04 Gnome using GVFS. This is a great feature, but have some dangerous issues!<br />See my steps:<br />1) I go to ftp://user@ftp.site.com by nautilus and gvfs automatic mount it as directory at $HOME/.gvfs/somedir<br />2) I remove my home dir: rm -rf $HOME<br />Whats wrong?! I've removed all files on my FTP Server! OMG!<br /><br />It can be fixed by moving .gvfs dir from $HOME to separate directory (for example to /usermounts or /gvfsmounts or /mnt/gvfs or some else) and creting link in $HOME if it's necessary.<br />
<br />


<b>[81 votes] Solution #1: Auto-generated solution of idea #7673</b>
<br />

<br />
<br />



]]></description>

    <language>en-us</language>
    <pubDate>Sat, 26 Apr 2008 21:15:26 +0000</pubDate>
    <lastBuildDate>Fri, 23 Oct 2009 08:06:47 +0000</lastBuildDate>
    <generator>QAPoll module</generator>
    <guid isPermaLink="true">http://brainstorm.ubuntu.com/idea/7673/</guid>
        <item>
  <title>Comment from virsli100</title>
  <description><![CDATA[good point<br />i think every mounted thing should be placed under /media<br />with a symlink in your home]]></description>
  <pubDate>Sun, 27 Apr 2008 12:01:26 +0000</pubDate>
</item>
        <item>
  <title>Comment from ryanhaigh</title>
  <description><![CDATA[Why do we need the symlink in home? If it is mounted with the correct permissions I think it would be pointless to have the mount 'appear' in two locations.]]></description>
  <pubDate>Sun, 27 Apr 2008 12:23:27 +0000</pubDate>
</item>
        <item>
  <title>Comment from Auzy</title>
  <description><![CDATA[I'd imagine because users shouldn't be allowed to create directories in /media or /mnt or elsewhere..]]></description>
  <pubDate>Sun, 27 Apr 2008 15:03:55 +0000</pubDate>
</item>
        <item>
  <title>Comment from PeterKraus</title>
  <description><![CDATA[That's what pmount is for... Users in plugdev group are allowed to automount and autounmount devices...]]></description>
  <pubDate>Sun, 27 Apr 2008 16:09:15 +0000</pubDate>
</item>
        <item>
  <title>Comment from giner</title>
  <description><![CDATA[Example structure:<br />/mnt/.gvfs (permissions 777)<br />/mnt/.gvfs/user1 (700)<br />/mnt/.gvfs/user2 (700)<br />/mnt/.gvfs/user3 (700)]]></description>
  <pubDate>Sun, 27 Apr 2008 18:09:30 +0000</pubDate>
</item>
        <item>
  <title>Comment from Psycho_zs</title>
  <description><![CDATA[not the only problem with gvfs.<br /><br />http://brainstorm.ubuntu.com/idea/7704/]]></description>
  <pubDate>Sun, 27 Apr 2008 18:46:43 +0000</pubDate>
</item>
        <item>
  <title>Comment from jiu</title>
  <description><![CDATA[agree with ryanhaigh, I don't like symlinks, they can lead to all sorts of pbs.]]></description>
  <pubDate>Mon, 28 Apr 2008 07:33:42 +0000</pubDate>
</item>
        <item>
  <title>Comment from natureflow</title>
  <description><![CDATA[This is a BIG problem. Please fix this Bug. Please mount the files to /mnt/gvfs/* .]]></description>
  <pubDate>Mon, 28 Apr 2008 14:40:10 +0000</pubDate>
</item>
        <item>
  <title>Comment from Mårten Woxberg</title>
  <description><![CDATA[First the example is flawed, why would you remove your $HOME?<br /><br />Second this should be reported as a bug against GVFS, NOT here on brainstorm]]></description>
  <pubDate>Wed, 30 Apr 2008 14:26:36 +0000</pubDate>
</item>
        <item>
  <title>Comment from Yanqui</title>
  <description><![CDATA[Yes, you'd remove someone else's home. Like when you remove a user from your server.]]></description>
  <pubDate>Thu, 15 May 2008 19:37:06 +0000</pubDate>
</item>
        <item>
  <title>Comment from adelie</title>
  <description><![CDATA[+1 virsli100<br /><br />Ok, my first thought is why inthe world are you rm -rf $HOME, but none the less, $HOME should not contain the mount point for ANYTHING!!!<br /><br />Despite the common excuse of "works as intended", this was a BAD implementation. media, including ftp, should be mounted in /media like any other storage device. This should be considered a bug.]]></description>
  <pubDate>Thu, 16 Oct 2008 21:05:47 +0000</pubDate>
</item>
        <item>
  <title>Comment from szeder</title>
  <description><![CDATA[OK, and what if it's mounted under /mnt/gvfs/*, and I do a rm -rf /?<br />Right, "It will remove all files on my FTP Server! OMG!"<br /><br />This idea is just pure nonsense.]]></description>
  <pubDate>Mon, 10 Nov 2008 16:00:17 +0000</pubDate>
</item>
        <item>
  <title>Comment from martinkingsley</title>
  <description><![CDATA[I would say this should be change to the proposed solution regardless of the given example.<br /><br />My scenario is experimenting with CIFS shares (on freenas) and when using rsync to backup my home directory (to CIF share on disk a) I suddenly find I'm also backing up a whole other CIFs share (disk b) as well. Not what was exected.<br /><br />This makes the whole CIFS/SMB thing more opaque than it needs to be. Mount the shares to /mnt or /media which is where I was execting them to be when first trying this out a few days ago. Don't hide them away in the users home directory!]]></description>
  <pubDate>Sun, 09 Aug 2009 18:32:43 +0000</pubDate>
</item>
        <item>
  <title>Comment from jayarmstrong</title>
  <description><![CDATA[once again, the .gvfs folder bit me in the ass. This time, after mounting a remote folder in nautilus via sftp, my backup software saw tens of thousands of new files in my home directory (under .gvfs) and uploaded them overnight. This cost me a few $ as well as wasting my time.]]></description>
  <pubDate>Fri, 21 Aug 2009 09:17:21 +0000</pubDate>
</item>
        <item>
  <title>Comment from Lachu</title>
  <description><![CDATA[Situation what you described is real? I think rm -rf default don't remove files from other file system.]]></description>
  <pubDate>Sun, 23 Aug 2009 21:15:20 +0000</pubDate>
</item>
      </channel>
</rss>
