From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Samba user mounts Date: Sun, 14 Jan 2018 17:36:20 +0100 Message-ID: <87k1wkxurf.fsf@elephly.net> References: <878td0wnlj.fsf@gnu.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:4830:134:3::10]:52558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eb7XE-00041J-99 for help-guix@gnu.org; Mon, 15 Jan 2018 11:22:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eb7XB-0005AV-2d for help-guix@gnu.org; Mon, 15 Jan 2018 11:22:56 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eb7XA-00059p-O4 for help-guix@gnu.org; Mon, 15 Jan 2018 11:22:53 -0500 In-reply-to: <878td0wnlj.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Mathieu Lirzin Cc: help-guix@gnu.org Hi Mathieu, > I want to connect to my NAS using the Samba protocol. While I can use = =E2=80=98gvfs=E2=80=99 > for that it is not convenient for me to access it from the command line v= ia > the =E2=80=9C/run/user/1000/gvfs/smb-share:server=3Dnas,share=3Dhome/=E2= =80=9D filename. On my > previous system I was able to add the following line in my =E2=80=9C/etc/= fstab=E2=80=9D file: > > //nas/home /mnt/mthl/nas-home cifs credentials=3D/home/mthl/= .smbfile,rw,noauto,user 0 0 > > which allowed me to execute the following command as a regular user: > > $ mount /mnt/mthl/nas-home > > Does anybody know how to achieve similar thing on GuixSD? I have this in my config: (file-system (device "//my.nas/the-share") (title 'device) (options "uid=3D1000,gid=3D1000,credentials=3D/etc/samba.credentials") (mount-point "/nas") (type "cifs") (mount? #f) (create-mount-point? #t)) And it does the right thing when I run =E2=80=9Cmount /nas=E2=80=9D. Does this help? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net