From owner-freebsd-questions@freebsd.org Thu Nov 7 14:39:21 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6EB811B63B9 for ; Thu, 7 Nov 2019 14:39:21 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4785dM5Y9Gz3Grs for ; Thu, 7 Nov 2019 14:39:19 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-io1-xd44.google.com with SMTP id j20so2252555ioo.11 for ; Thu, 07 Nov 2019 06:39:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=/Iu0nrCijNvCQeGIpNLGeohjZPJgsXQy9q1N9z1C3qU=; b=NarOIyjpYOAoB+gX9RdZDTv2wirB9grRejLctfEqSUEQBEmbintenjDGF+o9hIjFGZ vTVKZdYrrplMLUqzZtbaagnqI3wwh6tfW658punZPxqjSz8oFlI3w4UXtVnblp02w5yr butc50c0P8bnPz6kC7lCPKuj7aSPL+qJNq/3U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=/Iu0nrCijNvCQeGIpNLGeohjZPJgsXQy9q1N9z1C3qU=; b=fuSMtOOaM6JMQK+ZYrd7pXjbU1/YC1Ow7Ta+OGlDUKyRJB9tRqRlPcwxs+BS+3KNpq MVJlIXveqG4S5JNiurTKQwrdNW3IjHScQflhVPYLlLPbpLqGMdhjewGuOnkS0VEnFNY5 yobivA8MRAgwgvJCG7Uq0uQYvRuHuN50wHuv/XdXgvrjZIzFzOrcKnuWy727MgWOdVwb f/pLrhnEW5mkYmbOOwYQ4q9gAm3sO4ai+Kf48XdscAmwwl+exCDYJ6fZDBS2+2WM9vqJ xYFp3thqjOdBnR4OuvidVj4FvqGRYrdxavSTv5LYfMgTI8XZHlplAHT/uxiDpJuxy6Hv jAxg== X-Gm-Message-State: APjAAAVYQmizVX5TUt0N4X1QXHhq2eNWgxEPNaGN4wKQv+mN74sn2sfM 0B6nh3Ji5cFTR4szn+so2XFKbqt4ln4ZSCfhFL8Uuhel X-Google-Smtp-Source: APXvYqxUA/P2FZfY8JYWk5zd9yRQbx85nr4lJ23Ty6Wh4vMj/MLdbww4EYPdOO7BJvgJJ/cG25n4T6klHes2U6YlVjA= X-Received: by 2002:a02:662b:: with SMTP id k43mr4453322jac.141.1573137558295; Thu, 07 Nov 2019 06:39:18 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Mario Lobo Date: Thu, 7 Nov 2019 11:38:21 -0300 Message-ID: Subject: Re: How do you mount a Virtualbox shared folder? Group or permissions issue? To: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 4785dM5Y9Gz3Grs X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsd.com.br header.s=capeta header.b=NarOIyjp; dmarc=none; spf=pass (mx1.freebsd.org: domain of lobo@bsd.com.br designates 2607:f8b0:4864:20::d44 as permitted sender) smtp.mailfrom=lobo@bsd.com.br X-Spamd-Result: default: False [-0.91 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.989,0]; R_DKIM_ALLOW(-0.20)[bsd.com.br:s=capeta]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[bsd.com.br]; URI_COUNT_ODD(1.00)[9]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.43)[ip: (2.26), ipnet: 2607:f8b0::/32(-2.35), asn: 15169(-2.01), country: US(-0.05)]; DKIM_TRACE(0.00)[bsd.com.br:+]; RCVD_IN_DNSWL_NONE(0.00)[4.4.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.995,0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2019 14:39:21 -0000 On Wed, Nov 6, 2019 at 1:57 PM Nicholas Papadonis < nick.papadonis.ml@gmail.com> wrote: > Has anyone tested FreeBSD inclusive VirtualBox drivers with VirtualBox > 6.0? I looked on the manual page, however it is referencing Sun > Microsystems. Therefore I'm considering this manual page about 10 years > outdated. > > https://www.freebsd.org/doc/handbook/virtualization-guest-virtualbox.html > > Thank you > > On Wed, Nov 6, 2019 at 12:40 AM Nicholas Papadonis < > nick.papadonis.ml@gmail.com> wrote: > > > Does anyone know the procedure for a non-root user to gain access to > > Virtualbox shared folders? > > > > This was fairly straightforward in Debian, however I'm having challenges > > with FreeBSD. It looks like a group and permissions issue. In Debian, I > > simply created a group "vboxsf", added my unprivileged user to it, chgrp > > the mount folder and then mounted. I tried this in FreeBSD I used this > > procedure, however the group gets changed on the folder to "wheel" after > > mounting the shared folder. > > > > Your guidance appreciated. > > > > $ mkdir /mnt/srcr > > > > $ ls -ld /mnt/srcr > > drwxr-xr-x 2 root vboxsf 512 Nov 6 00:03 /mnt/srcr > > > > $ sudo mount -t vboxvfs Source /mnt/srcr > > > > $ ls -ld /mnt/srcr > > drwxr-xr-x 1 root wheel 576 Oct 14 21:45 /mnt/srcr > > > > $ whoami > > np > > $ pwd > > /mnt/srcr > > $ ls /mnt/src > > drwx------ 10 root wheel 320 Oct 14 21:35 X/ > > $ ls /mnt/src/X > > ls: X/: Permission denied > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Running VBox 6.0.8 on my desktop without problems. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]