From owner-freebsd-virtualization@freebsd.org Fri Oct 30 08:43:38 2020 Return-Path: Delivered-To: freebsd-virtualization@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 42ED044BFF0 for ; Fri, 30 Oct 2020 08:43:38 +0000 (UTC) (envelope-from driesm.michiels@gmail.com) Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4CMwnj1hHkz3Sb0; Fri, 30 Oct 2020 08:43:36 +0000 (UTC) (envelope-from driesm.michiels@gmail.com) Received: by mail-ej1-x634.google.com with SMTP id o21so452758ejb.3; Fri, 30 Oct 2020 01:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version:thread-index :content-language; bh=Cujvcq28R1eYwjdwtreVAw9Rwa7LmBA+qdieDeYH+jY=; b=ftDYCUczvnup4dYSdS93dfbppMlP9Zluh0z58TziGD7wNnp4oUB6TuQjRBEfPR3siD UgvQmkd17AFyHr3hAWdbf64zQnnd7JGpf3xoDqudRbrxHIAjadHGUTil4TQnxu2Lz9O7 htf2z27P/FsQcoYK5QmYOShRjgvx1dR7UgvDQClik7DvWGT/gujdo0gro/vZm/YYHqM+ F1ykNJ5nbjxkFcik6QBvFp5xFlsTrqCNJymJ9c7E4wJaMkrDuMoeALC51B7BeuZZwj2c JpdMmAPvrsDwmc+/PvFhzU6c5STYfcP/fE/CKGA8kIOg+0T21VA2daQxPMcz6TQMvPDp ndHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :thread-index:content-language; bh=Cujvcq28R1eYwjdwtreVAw9Rwa7LmBA+qdieDeYH+jY=; b=f+qkKA6hbYHC3tNl9gTRBCLBruzUYF3MtjfKAdb7QwQDZeeXHCMWh6DxzHq5TwElJS oaZCE5CF5Ecit5KpzTFJnoqiNzvaMB7y9SIGE+et4rIxIS4QRDD+UlppqZPRTEbW6erV zXL7g+XxpI0quJJwTLvspc5diC5Y7kXM6ViYTvwzuMXp9uOfsqsf9tVaorPHDiOmGmq4 CS0sxHJm7XLhr7fqmW6rEzaWJK69iqvNChd42iJqX4RArgAGsBjvdGpXO2h4e2qAcH/K lAVJtyxWwRDgyfYd5eN6JCzRJvsaTxXEMGgGiWL63N2X04HBYyVfriCAuyL5l0DlnPhM XrQw== X-Gm-Message-State: AOAM533YUgsYFRxahDMIyPH8libQU8fjO5BNxGYuzfZwjbWn4ypyfP9u BcBozaDQe6sV5AfTcEyWIMXlUQTFKlk8ag== X-Google-Smtp-Source: ABdhPJx7oyVS7L4pIS2srqgVgH/a4Maln+Q2BXYOlU2YXQzygzJN7Dqoq7vm1/S1IR8bUaCjcVgeNw== X-Received: by 2002:a17:906:c114:: with SMTP id do20mr1324754ejc.169.1604047414110; Fri, 30 Oct 2020 01:43:34 -0700 (PDT) Received: from DRIESPC (ptr-8sijbm64o24ji2rz6dr.18120a2.ip6.access.telenet.be. [2a02:1811:2505:1601:5557:9e34:fbbc:2e0f]) by smtp.gmail.com with ESMTPSA id m20sm2788789edq.16.2020.10.30.01.43.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Oct 2020 01:43:32 -0700 (PDT) From: To: Cc: Subject: Virtio-9P permissions Date: Fri, 30 Oct 2020 09:43:33 +0100 Message-ID: <000d01d6ae98$c0452fb0$40cf8f10$@gmail.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: Adaul15/g7gYBHeRT2CkUCPWLJUvlA== Content-Language: en-be X-Rspamd-Queue-Id: 4CMwnj1hHkz3Sb0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ftDYCUcz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of driesmmichiels@gmail.com designates 2a00:1450:4864:20::634 as permitted sender) smtp.mailfrom=driesmmichiels@gmail.com X-Spamd-Result: default: False [-3.77 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.75)[-0.752]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.020]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::634:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2020 08:43:38 -0000 Hi Jceel, Virtualization, I'm trying our the recently landed patch of 9P bhyve support I was wondering if this is still accurate: "As for now, virtio-9p doesn't work in capability mode (bhyve has to be built with WITHOUT_CAPSICUM defined)." I can mount the filesystems just fine though even with building in CAPSICUM. Reason I ask is that I struggle with group permissions in the guest, I'm trying to pass my media libraries through in a linux VM to run Jellyfin. I have mapped the group of the files to the "media" group which contains the "jellyfin" user. UID/GID match on both the host and guest. When trying in the Linux guest "sudo -u jellyfin ls -la" I get "ls: cannot open directory '.': Operation not permitted". As root I can do everything just fine, problem is that jellyfin runs as the jellyfin user, so I need to get it read/execute for that user. Thanks in advance!