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 know
[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!
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
[...]
descartes.dcd.se:/var/
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/atjob
> 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 ov
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 2
> > 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
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 be
> 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
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, lib
10 matches
Mail list logo