<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Shared Folders file permissions and owner in Linux guest in VMware Fusion Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646549#M31042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've set up a Linux guest (ubuntu) and have added some Shared Folders to the config.  I see the folders mounted in /mnt/hgfs as expected, but the UID/GID and file permissions of the folders is such that I can't get write access (and in one folder I can't even get read access) to the content of those folders from the guest.  Is there something else I need to do?  I would assume that since I have full access to those folders from the host and since Fusion is running under my user ID that Fusion can get full access to them, so why can't my user in the guest have full access?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is in Fusion 1.0 and Ubuntu 7.04&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Aug 2007 07:01:24 GMT</pubDate>
    <dc:creator>robind</dc:creator>
    <dc:date>2007-08-18T07:01:24Z</dc:date>
    <item>
      <title>Shared Folders file permissions and owner in Linux guest</title>
      <link>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646549#M31042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've set up a Linux guest (ubuntu) and have added some Shared Folders to the config.  I see the folders mounted in /mnt/hgfs as expected, but the UID/GID and file permissions of the folders is such that I can't get write access (and in one folder I can't even get read access) to the content of those folders from the guest.  Is there something else I need to do?  I would assume that since I have full access to those folders from the host and since Fusion is running under my user ID that Fusion can get full access to them, so why can't my user in the guest have full access?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is in Fusion 1.0 and Ubuntu 7.04&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 07:01:24 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646549#M31042</guid>
      <dc:creator>robind</dc:creator>
      <dc:date>2007-08-18T07:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Folders file permissions and owner in Linux guest</title>
      <link>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646550#M31043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The workaround is to set the Linux user numeric UID and&lt;/P&gt;&lt;P&gt;GID to the same MacOS numeric UID and GID for the user&lt;/P&gt;&lt;P&gt;running the VM. That is, in a MacOS Terminal, run&lt;/P&gt;&lt;P&gt;"id" to get your numeric UID and GID, then in Linux set&lt;/P&gt;&lt;P&gt;the Linux user UID and GID to the same values as MacOS&lt;/P&gt;&lt;P&gt;(use "Users and Groups" in Ubuntu). Afterword you may &lt;/P&gt;&lt;P&gt;need change some file ownerships on your Linux&lt;/P&gt;&lt;P&gt;filesystems, and "find -uid/gid" is good for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally I see this as a bug. Sure, vmware-vmx is&lt;/P&gt;&lt;P&gt;setuid root, but hgfs really should be able to do some&lt;/P&gt;&lt;P&gt;kind of UID/GID translation to avoid this problem.&lt;/P&gt;&lt;P&gt;Probably it's been allowed to slide because it's not&lt;/P&gt;&lt;P&gt;a problem in Windows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 08:05:19 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646550#M31043</guid>
      <dc:creator>nospamboz</dc:creator>
      <dc:date>2007-08-18T08:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Folders file permissions and owner in Linux guest</title>
      <link>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646551#M31044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a limitation/security feature of Linux. Even though Fusion will allow a mismatched uid/gid to work, Linux sees they're different and doesn't bother to try. You can override this by editing the &lt;A href="https://communities.vmware.com/b"&gt;&lt;/A&gt;guest[/b]'s /etc/fstab and changing the other-flags to include uid and gid arguments. If my &lt;A href="https://communities.vmware.com/b"&gt;&lt;/A&gt;guest[/b] uid/gid is 1000, then I might change&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/code"&gt;&lt;/A&gt;.host:/                 /mnt/hgfs               vmhgfs  defaults,ttl=5     0 0[/code] to&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/code"&gt;&lt;/A&gt;.host:/                 /mnt/hgfs               vmhgfs  defaults,ttl=5,uid=1000,gid=1000     0 0[/code]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 11:51:14 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646551#M31044</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2007-08-18T11:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Folders file permissions and owner in Linux guest</title>
      <link>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646552#M31045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys.  I figured something like either of those solutions would do the trick, but I assumed that this is something that VMware should make transparent so I thought I had done something wrong or had missed a step somewhere.  I've been an off-and-on VMware Workstation user since 1.0 but never really used the built-in Shared Folders feature before, and it surprised me that there was this problem right out of the box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 14:47:49 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646552#M31045</guid>
      <dc:creator>robind</dc:creator>
      <dc:date>2007-08-18T14:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Folders file permissions and owner in Linux guest</title>
      <link>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646553#M31046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/code"&gt;&lt;/A&gt;.host:/                 /mnt/hgfs   vmhgfs    defaults,ttl=5,uid=1000,gid=1000     0 0[/code]&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked great for me after I unmounted and then remounted the device:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/code"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;  sudo umount /mnt/hgfs; sudo mount /mnt/hgfs&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/code"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the tip!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FWIW, it would be great if Fusion could handle this automatically, since Fusion provides a "read only" checkbox.  If a user doesn't check that box, then they clearly want to have write access to the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trick is figuring out who should have such access, since you can have multiple accounts on a Linux VM, but you can only specify a single uid/gid in /etc/fstab.  But I'm sure there are some 80% solutions there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 19:31:09 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646553#M31046</guid>
      <dc:creator>mykmelez</dc:creator>
      <dc:date>2007-08-24T19:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Folders file permissions and owner in Linux guest</title>
      <link>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646554#M31047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like I had to repeat this after reinstalling Fusion 1.0, upgrading to Fusion 1.1beta1, and/or copying my VM (I did all three things recently; not sure which one wiped out my changes).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 23:15:16 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646554#M31047</guid>
      <dc:creator>mykmelez</dc:creator>
      <dc:date>2007-09-26T23:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Folders file permissions and owner in Linux guest</title>
      <link>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646555#M31048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note that you can specify your username/groupname in place of your uid/gid:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="code"&gt;.host:/ /mnt/hgfs vmhgfs defaults,ttl=5,uid=myusername,gid=mygroupname 0 0&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That saves you from having to look up your uid/gid if you don't already know it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 20:27:34 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646555#M31048</guid>
      <dc:creator>mykmelez</dc:creator>
      <dc:date>2009-04-29T20:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Folders file permissions and owner in Linux guest</title>
      <link>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646556#M31049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please update the answer for Ubuntu 11.10 and open-vm-tools 2011.07.19-450511-0ubuntu1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Mar 2012 22:05:36 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Fusion-Discussions/Shared-Folders-file-permissions-and-owner-in-Linux-guest/m-p/646556#M31049</guid>
      <dc:creator>JohnPeterson</dc:creator>
      <dc:date>2012-03-25T22:05:36Z</dc:date>
    </item>
  </channel>
</rss>

