9fans archive / 1997 / 12 / 36 /    prev next

From: Thomas West west9@wor...
Subject: [9fans] need help with u9fs
Date: Mon, 15 Dec 1997 22:01:29 +0000

At 12:22 AM 12/15/97 +0000, you wrote:
>>        mount -c /srv/tcp!i!564 /n/i  permission denied
>>also, 
>>        mount -c /srv/tcp!i!564 /n/kremvax  permission denied
>check the plan9 machine is in hosts.equiv
>check the u9fs is setuid root
>

added plan9 machine and user to /etc/usr/hosts.equiv 
         still: mount : permission denied

ls -l /bin/u9fs gives:
-rwxr-xr-x      1       root    sys     61368 /bin/u9fs

When u9fs was compiled on the indy, the CFLAG "-DNEEDPROTO" in the makefile
was deleted; with original makefile, the compiler found these incompatible
types:

        p9 libc.h                    indy /usr/include/sys/stat.h

int chmod(const char *,int)         int external chmod(const char *,mode_t)
int fchmod(const char *,int)        int  fchmod(const char *,mode_t)
int mkdir(const char *,int)         int external mkdir(const char *,mode_t)

I don't know how to resolve this.