SOLVED...Re: Trying to find out how to mount as user

2013-01-02 Thread Leslie Jensen



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/backupnfs 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


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SOLVED...Re: Trying to find out how to mount as user

2013-01-02 Thread Michael Sierchio
On Wed, Jan 2, 2013 at 8:47 AM, Leslie Jensen les...@eskk.nu wrote:

 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?


man exports
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: SOLVED...Re: Trying to find out how to mount as user

2013-01-02 Thread Mark Felder
On Wed, 2 Jan 2013 17:47:15 +0100
Leslie Jensen les...@eskk.nu wrote:

 I was on a wired connection first and the on wifi so I had two different 
 IP-addresses!

FYI a cool trick is to bridge your ethernet and wifi so you can keep your IP 
and roam between wired and wireless :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org