Aw: Re: Aw: Re: problem with mount_psshfs

2014-08-07 Thread Carsten Kunze
> That does not sound so odd to me. cp likely has different code paths to > open > an existing file for writing vs a new file. > > If the directory is 755, or some other mode, did this not happen? When I copy a file (NetBSD) with 644 perms and owner 1000:0 into a dir (Linux) with 700 perms and o

Re: Aw: Re: problem with mount_psshfs

2014-08-07 Thread Greg Troxel
Carsten Kunze writes: > What is strange is that cp(1) does not work when the target file is > not present (in a 700 dir). It does only work if a writeable file is > present. That does not sound so odd to me. cp likely has different code paths to open an existing file for writing vs a new file

Aw: Re: problem with mount_psshfs

2014-08-07 Thread Carsten Kunze
> My guess is that if mount_psshfs is even sort of working, and it's about > ro vs rw files, then the OP is not having a networking problem. That makes sense. What is strange is that cp(1) does not work when the target file is not present (in a 700 dir). It does only work if a writeable file is

Re: problem with mount_psshfs

2014-08-07 Thread Greg Troxel
Ottavio Caruso writes: > On 7 August 2014 13:46, Carsten Kunze wrote: >>> What's the full command you use to launch your guest? Is it a a raw >>> file or a real partition? Have you enabled tunnels? Are you using >>> bridges, tun/tap, etc. >> >> It's a raw file, did not know that partition also

Re: Re: problem with mount_psshfs

2014-08-07 Thread Ottavio Caruso
On 7 August 2014 13:46, Carsten Kunze wrote: >> What's the full command you use to launch your guest? Is it a a raw >> file or a real partition? Have you enabled tunnels? Are you using >> bridges, tun/tap, etc. > > It's a raw file, did not know that partition also would work ;) > > I use a bridge.

Re: problem with mount_psshfs

2014-08-07 Thread Ottavio Caruso
On 7 August 2014 11:52, Carsten Kunze wrote: > I'm using NetBSD 6.1.4 amd64 with qemu as a guest on Linux What's the full command you use to launch your guest? Is it a a raw file or a real partition? Have you enabled tunnels? Are you using bridges, tun/tap, etc. -- Ottavio

Aw: Re: Re: problem with mount_psshfs

2014-08-07 Thread Carsten Kunze
> Have you started qemu as root or standard user? I start it as root. > And, just to make sure the problem is not in the bridge, could you > start qemu with user mode networking and enable redirection (check the > manual for the -redir argument). Long time ago I used user mode networking but now

Aw: Re: problem with mount_psshfs

2014-08-07 Thread Carsten Kunze
> What's the full command you use to launch your guest? Is it a a raw > file or a real partition? Have you enabled tunnels? Are you using > bridges, tun/tap, etc. It's a raw file, did not know that partition also would work ;) I use a bridge. Don't know about tunnels. I hav really big problems

Re: problem with mount_psshfs

2014-08-07 Thread Greg Troxel
Carsten Kunze writes: > I'm using NetBSD 6.1.4 amd64 with qemu as a guest on Linux. I access my > Linux home dir with > > mount_psshfs @:/ /mnt/linux > > On Linux I have a dir with permission 700 owned by . If the > same user (id) on NetBSD copies a file with permissions 400 into this > Linux

problem with mount_psshfs

2014-08-07 Thread Carsten Kunze
Hello, I'm using NetBSD 6.1.4 amd64 with qemu as a guest on Linux. I access my Linux home dir with mount_psshfs @:/ /mnt/linux On Linux I have a dir with permission 700 owned by . If the same user (id) on NetBSD copies a file with permissions 400 into this Linux dir an empty file is created