From owner-freebsd-questions@freebsd.org Wed Nov 6 16:56:44 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 84AFD1BA5C9 for ; Wed, 6 Nov 2019 16:56:44 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) (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 477XkM4fjHz4LXs for ; Wed, 6 Nov 2019 16:56:43 +0000 (UTC) (envelope-from nick.papadonis.ml@gmail.com) Received: by mail-oi1-x242.google.com with SMTP id i185so21606215oif.9 for ; Wed, 06 Nov 2019 08:56:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=moIc5NF+jv/9eamvjcl1iPDrSd4objCOvjCSE72jr1U=; b=ZgnI4yHlCH8V7FQZHzbxJkkvCq4IHUz5cziuDa0LTjvE6qcjte9abjwcs7LREvMb0j qOgsCI1/uxtL7pK8HA03X2NSUur1aeYceiZLZXM5G5GastTwDTkImsLjbCx6Fe0H7rn5 gj0cMi9tsi5Uethu8nsbhyZLzDEz3GpEp8Qgpi6vg4xVdB7kqHdv9WNVmnVp/4OyPQCw z3BWwNqhSH43f9eZEmAO88fYAPaka2/dtnvYJrqoTqfXKkg0X8dQMxP2+VlQSECnQani YCW+FwCsg2m1IyewEVzH4w0rS9zHtwj1XsSXa6aZ6nZ8PyAZ65ddbCpQkcpULL7+1+mF 7kIg== 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=moIc5NF+jv/9eamvjcl1iPDrSd4objCOvjCSE72jr1U=; b=RuV9NSLO4ILywLcYZhKLsr5O9XcrFFu0Q311tIy27XGLrY1aJgZauhsTAWjbRW55N3 vG2yZeV6WyxBR6GZveYQLU6YofbYoydav3Qb5dsTMHTzNxKbi506HLl/ZpVO1LEzWPz5 T6UduPMlAI1KXZx9Vq4eqF5Cr8X6TegaO+vVRWsyEIe4S56Fqv0sHD6aMegQeOslGt1H HsszFJbL+u/PEw6c3r34opBHhTVUyF7Yv7B53+GnNtrW3gFZgV5agBH2oZOIEXAt9Qa3 /e0qIFLIZNPPqZ/BaAQoMnepWBfmJjylQ5D15AkbKh17oSRNqQX4rebnvXtFtPNMYn46 IG9Q== X-Gm-Message-State: APjAAAWdUBZ9HbJrsbnj5qYHQeIER/gjn8+ajil6sO+PS9lOeN6FVfhf 6s+Iv+1E2bNf8L/X0/ScT4edFx8EqtXgBAXUoBRjNdn+OWU= X-Google-Smtp-Source: APXvYqwaKuxMkfyGphczoOJoTnucGXxEFfxBKBYFjbLctF/V9T3tShebXrmMgJRkKFccwzdwtTYf88JhlVXliCe2t2Q= X-Received: by 2002:a05:6808:218:: with SMTP id l24mr2974096oie.105.1573059401964; Wed, 06 Nov 2019 08:56:41 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Nicholas Papadonis Date: Wed, 6 Nov 2019 11:56:30 -0500 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: 477XkM4fjHz4LXs X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ZgnI4yHl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nickpapadonisml@gmail.com designates 2607:f8b0:4864:20::242 as permitted sender) smtp.mailfrom=nickpapadonisml@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (2.61), ipnet: 2607:f8b0::/32(-2.35), asn: 15169(-2.01), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[2.4.2.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]; 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: Wed, 06 Nov 2019 16:56:44 -0000 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 > >