From owner-freebsd-questions@FreeBSD.ORG Wed Jan 2 16:47:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2B46AB6 for ; Wed, 2 Jan 2013 16:47:19 +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 D15631705 for ; Wed, 2 Jan 2013 16:47:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id ADFA45E164 for ; Wed, 2 Jan 2013 17:47:16 +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 EwP5ixB9dme2 for ; Wed, 2 Jan 2013 17:47:15 +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 138EB5E330 for ; Wed, 2 Jan 2013 17:47:15 +0100 (CET) Message-ID: <50E46493.5020306@eskk.nu> Date: Wed, 02 Jan 2013 17:47:15 +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: SOLVED...Re: Trying to find out how to mount as user References: <50E46078.9010407@eskk.nu> In-Reply-To: <50E46078.9010407@eskk.nu> 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:47:19 -0000 2013-01-02 17:29, Leslie Jensen skrev: > 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 > > I was on a wired connection first and the on wifi so I had two different IP-addresses! New question: Instead of having the following in my /etc/exports /backup machine01 machine02 Can I put my internal network as 192.168.0/24? /Leslie