Public bug reported: I have an external HD attached to an x86 box running Edgy, with latest updates. The external HD has an ext2 and an HFS+ partition on it, both of which are mounted read/write on the Edgy box.
I can export the ext2 partition over NFS just fine, but try as I might, I can't export the HFS+ partition using nfs-kernel-server... client always reports "reason given by server: Permission denied". This happens even if the client is the Edgy box itself. I can export the HFS+ partition from the Edgy box just fine if I use nfs-user-server instead, with the exact same configuration (/etc/exports file etc.), but that has the 2Gb file size limit which makes it useless to me. I can also export the same partition with nfs-kernel-server if I connect the HD to my PPC Macintosh running Feisty, and export it from that instead. So it seems to be specific to kernel-server on x86 and/or Edgy. If it's any help, an strace of mountd during the failed mount suggests the trouble spot is here: . . . open("/proc/fs/nfsd/filehandle", O_RDWR) = 10 fstat64(10, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fbd000 write(10, "192.168.1.0/255.255.255.0 /media"..., 47) = -1 EPERM (Operation not permitted) read(10, "", 4096) = 0 close(10) . . . ** Affects: Ubuntu Importance: Undecided Status: Unconfirmed ** Description changed: I have an external HD attached to an x86 box running Edgy, with latest updates. The external HD has an ext2 and an HFS+ partition on it, both of which are mounted read/write on the Edgy box. I can export the ext2 partition over NFS just fine, but try as I might, I can't export the HFS+ partition using nfs-kernel-server... client always reports "reason given by server: Permission denied". This happens even if the client is the Edgy box itself. I can export the HFS+ partition from the Edgy box just fine if I use nfs-user-server instead, with the exact same configuration (/etc/exports file etc.), but that has the 2Gb file size limit which makes it useless to me. I can also export the same partition with nfs-kernel-server if I connect the HD to my PPC Macintosh running Feisty, and export it from - that instead. + that instead. So it seems to be specific to kernel-server on x86 and/or + Edgy. If it's any help, an strace of mountd during the failed mount suggests the trouble spot is here: . . . open("/proc/fs/nfsd/filehandle", O_RDWR) = 10 fstat64(10, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fbd000 write(10, "192.168.1.0/255.255.255.0 /media"..., 47) = -1 EPERM (Operation not permitted) read(10, "", 4096) = 0 close(10) . . . -- Can't export hfs+ filesystem with nfs-kernel-server on x86 https://launchpad.net/bugs/79461 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs