I am getting some bogus error messages when creating files using NFS. I’ve
got a NFS server running on a 4.25 machine.
/etc/exports contains :
/source
I can mount the NFS from another 4.25 machine with ‘mount -t nfs -w
qnx4:/source /qnxSource’.
If I change to that directory and issue ‘touch test’ I get:
test: Operation not permitted
but it still created the file?
The problem is that I would like to keep all the source on one machine and
be able to modify and build it from any machine on the network via nfs.
When I try to make it I get Error! E1118: FATAL Permission denied. I
am assuming that this is because it doesn’t think it can create files???
TIA for any suggestions
Paul
Solved.
/etc/exports required the global option to be set.
options -root=0
/source
“Paul Vander Byl” <paul@gandacar.ca> wrote in message
news:bb5ktn$7ti$1@inn.qnx.com…
I am getting some bogus error messages when creating files using NFS.
I’ve
got a NFS server running on a 4.25 machine.
/etc/exports contains :
/source
I can mount the NFS from another 4.25 machine with ‘mount -t nfs -w
qnx4:/source /qnxSource’.
If I change to that directory and issue ‘touch test’ I get:
test: Operation not permitted
but it still created the file?
The problem is that I would like to keep all the source on one machine and
be able to modify and build it from any machine on the network via nfs.
When I try to make it I get Error! E1118: FATAL Permission denied.
I
am assuming that this is because it doesn’t think it can create files???
TIA for any suggestions
Paul
Paul Vander Byl <paul@gandacar.ca> wrote:
Solved.
/etc/exports required the global option to be set.
options -root=0
/source
Well, its not quite that.
By default, nfs maps root to be “nobody”. The option above basically
says that root stays as root.
If you had a directory on your nfs server owned by normal user, and
were working with it as a normal user, you wouldn’t have run into this
problem.
-David
“Paul Vander Byl” <> paul@gandacar.ca> > wrote in message
news:bb5ktn$7ti$> 1@inn.qnx.com> …
I am getting some bogus error messages when creating files using NFS.
I’ve
got a NFS server running on a 4.25 machine.
/etc/exports contains :
/source
I can mount the NFS from another 4.25 machine with ‘mount -t nfs -w
qnx4:/source /qnxSource’.
If I change to that directory and issue ‘touch test’ I get:
test: Operation not permitted
but it still created the file?
The problem is that I would like to keep all the source on one machine and
be able to modify and build it from any machine on the network via nfs.
When I try to make it I get Error! E1118: FATAL Permission denied.
I
am assuming that this is because it doesn’t think it can create files???
TIA for any suggestions
Paul
\
–
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.