Re: NFS expert, please diagnose this

1997-10-02 Thread Martin Str|mberg
Hello. I think I see the problem with regard to setuid programs and nfs. It's in the kernel. It's in the file kernel-source-2.0.27/fs/nfs/proc.c. Alas the same code is repeated in several places, so I'm not sure how to fix it: there must be a reason for exact this coding. Does anybody here

Re: NFS expert, please diagnose this

1997-09-28 Thread joost witteveen
I've mailed to debian-user twice earlier about this but I haven't gotten any responses at all. If you know NFS, please try this an tell me if it works for you or not. As it doesn't work for me and I think it wont work for you, I suppose I'd file a bug report but I don't know if it's the

Re: NFS expert, please diagnose this

1997-09-28 Thread Martin Str|mberg
Thanks for the response, I've been feeling abandoned lately! According to joost witteveen: Appearently, stat-ing a file in a directory that is only readable for root from a program that is setuid root, that is on a nfs mounted partition fails. Does adding a no_root_squash (like below)

Re: NFS expert, please diagnose this

1997-09-28 Thread joost witteveen
Does adding a no_root_squash (like below) change anything? /directory host(no_root_squash) It's already there: OK, I didn't want to test anything myself, as that meant adding no_root_squash myself. But I've done that now, and I see what you mean. I don't really think this has

Re: NFS expert, please diagnose this

1997-09-28 Thread Martin Str|mberg
According to joost witteveen: I don't really think this has anything to do with setuid stuff or anything, as ls running as root itself doesn't see anything eighter. ??? I don't understand. As root: kant# ls -la /var/spool/cron/atjobs/ total 7 drwx-- 2 daemon daemon 1024 Sep 28

Re: NFS expert, please diagnose this

1997-09-28 Thread joost witteveen
According to joost witteveen: I don't really think this has anything to do with setuid stuff or anything, as ls running as root itself doesn't see anything eighter. ??? I don't understand. As root: kant# ls -la /var/spool/cron/atjobs/ And /var/spool/cron/atjobs is mounted over nfs?

Re: NFS expert, please diagnose this

1997-09-28 Thread Martin Str|mberg
According to joost witteveen: According to joost witteveen: I don't really think this has anything to do with setuid stuff or anything, as ls running as root itself doesn't see anything eighter. ??? I don't understand. As root: kant# ls -la /var/spool/cron/atjobs/ And

Re: NFS expert, please diagnose this

1997-09-28 Thread Martin Str|mberg
Oops. Disregard my last message, which didn't contain anything new. I slipped on the keys. According to joost witteveen: And /var/spool/cron/atjobs is mounted over nfs? Yes, but it's /var that's mounted. On the client (kant, descartes is the server): kant:~ mount [...]

Re: NFS expert, please diagnose this

1997-09-28 Thread Martin Str|mberg
[Mailed to debian-user as well as this relevant (bug in my test program).] According to joost witteveen: Are you sure you didn't have a typo there? didn't you mean /var/clients/kant/var/spool/cron/atjobs/.SEQ instead of /var/spool/cron/.SEQ (there's at least a atjobs missing). Ah! You're

NFS expert, please diagnose this

1997-09-27 Thread Martin Str|mberg
I've mailed to debian-user twice earlier about this but I haven't gotten any responses at all. If you know NFS, please try this an tell me if it works for you or not. As it doesn't work for me and I think it wont work for you, I suppose I'd file a bug report but I don't know if it's the nfsd,