Re: [Qemu-devel] [PATCH 0/5] 9pfs: local: fix metadata of mapped-file security mode

2017-05-09 Thread Greg Kurz
On Mon, 8 May 2017 17:33:43 +0200 Leo Gaspard wrote: > Greg, > > I just tested on 2.9.0 with the 5 patches applied, and it appears to > work on my setup, thanks! > > Just a side note: .virtfs_metadata_root is set as u=rwx on the host file > system (the "ret = fchmod(map_fd,

Re: [Qemu-devel] [PATCH 0/5] 9pfs: local: fix metadata of mapped-file security mode

2017-05-08 Thread Leo Gaspard
Greg, I just tested on 2.9.0 with the 5 patches applied, and it appears to work on my setup, thanks! Just a side note: .virtfs_metadata_root is set as u=rwx on the host file system (the "ret = fchmod(map_fd, 0700);" line in patch 4 I guess), while u=rw would be more appropriate, I think. Thank

Re: [Qemu-devel] [PATCH 0/5] 9pfs: local: fix metadata of mapped-file security mode

2017-05-05 Thread no-reply
Hi, This series failed build test on s390x host. Please find the details below. Message-id: 149399500677.29022.12340124231191204194.st...@bahia.lan Subject: [Qemu-devel] [PATCH 0/5] 9pfs: local: fix metadata of mapped-file security mode Type: series === TEST SCRIPT BEGIN === #!/bin/bash

[Qemu-devel] [PATCH 0/5] 9pfs: local: fix metadata of mapped-file security mode

2017-05-05 Thread Greg Kurz
This series fixes two issues in the local backend when using the mapped-file security mode: - allow chmod and chown to succeed on the virtfs root (patch 4) - completely hide the metadata files from the client (patch 5) Patch 2 resolves '.' and '..' in paths, and patch 3 reworks the way we open