[ Date Index ]
[ Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Re: [LUG] Hate computers. Hate systemd. [Was Re: Hate computers. Hate HP. Hate USB.
- To: list@xxxxxxxxxxxxx
- Subject: Re: [LUG] Hate computers. Hate systemd. [Was Re: Hate computers. Hate HP. Hate USB.
- From: comrade meowski <mr.meowski@xxxxxxxx>
- Date: Sun, 7 Nov 2021 18:00:41 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HkcG4MS7h5KFgvUYjpJoHUER6u6SOVsgEmtiW7vYNRY=; b=AJPocVPGUwa933Yd1MmIMAstG3qPv4Tp0uCsphiozdOScVvNqKPjraWTj1tApdr9Z+uJuVRp8WBz22X68eCXmTFjh8HGe6iHSLBeBNQDXrFvqvvuwzOVBrfIx7fzFjtQBc+C7q9h/mSgVGLeT4zO5Y6SJ9L5YKrtMz3eOUp3oPH4jvS7xHDoH0qkduoPHGsQ5KD3aLeOz8ZjNID4hcCfh6H+llc/weYubD/AIgbWQKAWZDzo+1grPsqOEpXMX0l1c2wpn6ZQI72nmzL5kYTvlf8YIRtKIra2ZnnuFQPzDWZvJrM24OBjdtF2OHRJvC9gETRTl91NgyN/uU66qZeERw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kfj3puYB0pHjjxM5TmZWcTArJL7wfDDU0SLhSS6eOpud85ZobirXhAIlDWKcSKQ+B4VQdHDtH2RIEVUqR/BgXA3o0htu7tXzyZ8CHX5U+M/4hYm/nLf+7+Xmw7eK2458QYyVcs5LNOJ2TpFxURXYqLwvUz5huhghK7fojjPdOTiGFpUdz7PalKD6T/PyzgDPwJr7yv1/sTiwZA52CQ45rbHT0ymQWjpPSL6SzKId+iThxNG7l3MqWrOOjEmXT8ckXJgbgYCWOVAmVIuz+XmLP4yrXMXz4YnIva00bThaZHoJkpj3BO5yecbC+pGZrQHEOf9E3zadhBndptQUNBbv2w==
- Content-language: en-GB
- Delivered-to: dclug@xxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dcglug.org.uk; s=1633856761; h=Sender:Content-Type: Content-Transfer-Encoding:Reply-To:List-Subscribe:List-Help:List-Post: List-Unsubscribe:List-Id:Subject:MIME-Version:In-Reply-To:From:References:To: Date:Message-ID:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner:List-Archive; bh=46BTHR9dhbaFrSENnyh8y7GK4Rq4qGG7261lvBZOvP4=; b=Tjdf6jGYTKwb0+EvO8IMptxul ptMV1nkST2SSLd532F8HXa2UgUTKJBwBWJqoth0zfc46zH0rSMLo2/1UnVnKpq47XnfyG8eFsphOm +6BRsmNdnEgXTLfgHiUQx9awU/Cuh6yoCpet5PLadnrnEg4W8jvvNn5Kg+WcS8t0x5zEU=;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HkcG4MS7h5KFgvUYjpJoHUER6u6SOVsgEmtiW7vYNRY=; b=aqDyEIRz93aB23RBw+L3bbw8D1fwv60AgtiWi20MqidfWvDYWOwnn4tegQ4/vELXxYjdpsRj3IhUDr/VYyVZ1J+JHZeS3BMOqAHO7xdgmyhamsVtPWiYczNpRlXPHshQ+5mfJ+6bzjmUs73Vhd8jd6l72GfCGxXjMkt4Nr0h8W2tdLgHI9aEuyqpIfVDl2PLOraR8WubH9f8LorXe9aCvzsXRgKxgAOKV9m2JTAS30gIKbm2giJHfndMNF7RdFS5gjIC+NjC3pYe0+NC476N6K2cwLKie3SLAs6I0HtoaLNJezmoU4TDYsKe4XjBOR32ZoS49Pv92u3YJOcQ8aT+7g==
On 07/11/2021 11:33, Julian Hall wrote:
<snip>
Ok the problem is deceptively simple and to be fair I know we've looked
at it before so I don't know why it hasn't been corrected by now.
You don't own the mountpoint itself and that's not going to help for a
user automount via systemd. Systemd is still doing the heavy lifting
here by the way - even if you just put an entry in /etc/fstab the "old
fashioned way" then it's interpreted by and turned into a systemd unit
file by the systemd mount generator. systemd has been doing it's job
correctly for you all along.
Copy/paste exactly - watch out for not adding trailing slashes
specifically. You want to change the permissions specifically on the
mount point only, don't accidentally recurse down through the NFS share:
sudo ls /media/julian/DEMETER #will show root ownership of "." dir
sudo chown julian:julian /media/julian/DEMETER #change it
ls /media/julian/DEMETER #will show julian now owns "." dir
And then reboot (bit heavy handed but whatever). I think you'll have an
immediately working nfs automount then.
Check not with your desktop shortcut thingies which always seems broken
anyway: just do ls /media/julian/DEMETER in a shell after reboot and
check it automounts. Then:
sudo systemctl status media-julian-DEMETER.mount
sudo journalctl -u media-julian-DEMETER.automount -b
I think it's as simple as that ¯\_(ツ)_/¯
--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dcglug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq