From owner-freebsd-questions@FreeBSD.ORG Wed Jan 2 16:40:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EB958CD2 for ; Wed, 2 Jan 2013 16:40:05 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id AE2EE16A1 for ; Wed, 2 Jan 2013 16:40:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 4D8955E31C for ; Wed, 2 Jan 2013 17:29:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -1.993 X-Spam-Level: X-Spam-Status: No, score=-1.993 tagged_above=-999 required=5 tests=[AWL=-0.090, BAYES_00=-2.599, RDNS_NONE=0.1, SPF_SOFTFAIL=0.596] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xGr+67lOdix3 for ; Wed, 2 Jan 2013 17:29:43 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (unknown [195.216.53.111]) by mx1.bjare.net (Postfix) with ESMTP id 8E5815E4CF for ; Wed, 2 Jan 2013 17:29:43 +0100 (CET) Message-ID: <50E46078.9010407@eskk.nu> Date: Wed, 02 Jan 2013 17:29:44 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD Questions Subject: Trying to find out how to mount as user Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2013 16:40:06 -0000 Hello. I want to write a script, where I as a normal user, can back up my files with rsync to another machine (pc01), which shares a directory via NFS. I have an entry in the local machines /etc/fstab pc01:/backup /mnt/backup nfs rw,noauto 0 0 The command: mount /mnt/backup works as root. If I do sudo mount /mnt/backup I get [tcp] pc01:/backup: Permission denied I'm a member of the local wheel group and at the remote machine as well(pc01) pc01:/backup has drwxrwxr-x 28 root wheel 1024 1 Jan 14:44 backup/ The local mount point /mnt/backup has drwxr-xr-x 5 root wheel 512 1 Jan 17:18 mnt/ drwxr-xr-x 2 root wheel 512 1 Jan 11:38 backup/ I've tried to ad write permissions to the group, but it did not help me. I understand that I have a permission problem but I can't figure it out. Help Please! Thanks /Leslie