From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Raghav Gururajan" Subject: Re: Help with auto-mounting a specific file-system. Date: Mon, 20 Apr 2020 09:22:24 +0000 Message-ID: <560043a393f4298ad1f1d263535f82e8@disroot.org> References: <87tv1eldqc.fsf@ambrevar.xyz> <2638304b56ed648dd780625b49e3bb76@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39436 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQSdK-0001wU-DP for help-guix@gnu.org; Mon, 20 Apr 2020 05:22:30 -0400 Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQSdJ-0000hZ-O3 for help-guix@gnu.org; Mon, 20 Apr 2020 05:22:30 -0400 Received: from knopi.disroot.org ([178.21.23.139]:56504) by eggs1p.gnu.org with esmtps (TLS1.2:DHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jQSdI-0000ga-L0 for help-guix@gnu.org; Mon, 20 Apr 2020 05:22:29 -0400 In-Reply-To: <87tv1eldqc.fsf@ambrevar.xyz> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt , help-guix@gnu.org Hi Pierre!=0A=0A> If you are using GNOME or some high-level desktop envir= onment, the SD=0A> card should be automatically mounted when you insert i= t.=0A> =0A> For less sophisticated desktop environments, you can starts t= ools like=0A> udisksie on login, then pendrives, SD cards and the like wi= ll be=0A> automatically mounted to /media/$USER/$VOLUMENAME.=0A=0AI am cu= rrently using dwm+dmenu. But I have already tried the above and it works.= It is useful for general hot-swapping.=0A=0AIn this case, I would like t= o manage things with guix. And I want a specific file-system to be mounte= d at a specific mount-point (home directory), upon every boot.=0A=0A>> [1= ] ~/repo becomes 'root protected' and stays like that.=0A> =0A> What do y= ou mean? Does `sudo chown ...` work for you?=0A=0AThe directory becomes w= ritable only by root. I am able to manually change the permissions, but i= t resets on every boot.=0A=0ARegards,=0ARG.