NFS Insufficient Access
John Rickman (71) 645 posts |
I use NFS to share files between a Mac and an ARMX6 machine. But, here is a curiosity, something on the Mac does not like StrongHelp manuals. I have tried putting the StrongHelp file into a zip, changed its type to Text, or Absolute, to no avail. It is not a serious problem because if I copy the manual to PCloud and from there to the Mac it works, |
Sprow (202) 1150 posts |
Out of interest, could you try copying it with a |
David J. Ruck (33) 1585 posts |
Try doing the copy before you load StrongHelp (taking out of run at boot if necessary), in case it’s something to do with the manuals being image filing systems. I’m using NFS to a disk on a Linux Raspberry Pi, and don’t had any problems copying manuals with or without StrongHelp loaded, including ones currently open in StrongHelp. |
John Rickman (71) 645 posts |
StrongHelp not seen at Boot. |
David J. Ruck (33) 1585 posts |
What is the host filing system? Does MAC OS require a known file type extension to work as in the second copy. |
Chris Gransden (337) 1194 posts |
I get a similar problem with all files over 4096 bytes. Using Sunfish works fine. |
Sprow (202) 1150 posts |
And what access permissions do they have in RISC OS? Looking at my StrongHelp manuals some of them have ’L’ock and various do and don’t have public ’r’ead. Unless as druck says the file extension is significant, a StrongHelp manual is just a file (same as a text file) when StrongHelp isn’t loaded.
Same suggestion to you: does copying not via Filer Action do something differently? If so, check your NFS server runes. That has the hallmarks of permission problems. And by “problem” I probably just mean “done differently to Sunfish”. |
David Pitt (9872) 341 posts |
There does appear to be a size component to this issue. A ‘large enough’ file does give the “Insufficient access” error but the file has arrived on the Mac with the expected permissions but in the RISC OS Omni window it is displayed as an untyped file. Removing the comma separated file extension number on the Mac and refreshing the Omni window does then show the file correctly typed. Downsizing The Mac NFS runes are as laid down by the Bresink NFS Manager long ago on the grounds that it actually worked which is more than could be said of any user attempts.
|
Chris Gransden (337) 1194 posts |
After a bit of trial an error I found this combination worked for all files.
Then this line in /etc/exports. Change network and mask to match your network.
|
Simon Willcocks (1499) 505 posts |
I’m not certain if this is related, but I came across it the other day:
https://www.riscosopen.org/content/documents/git-linux-cli-nfs |
Steve Fryatt (216) 2095 posts |
Only that it then goes on to say
I’ve long had
(insert your own UID and GID) in relevant entries of /etc/exportfs in order to ensure that written files get UIDs and GIDs appropriate to the user that the shared files belong to. |