This is probably due to fact that when using NFS, calls from uid 0 are
mapped to anonymous user by default. You can override this with
no_root_squash in exports.

If I remember correctly, the sudo mode was originally developed for
situations like these. It provides an alternative for the setuid chroot.

  Jussi

[EMAIL PROTECTED] wrote:
> Hello scratchbox-users,
> 
> I'm trying to install Scratchbox 0.9.8 on an NFS-exported
> partition and while the initial installation looked good - 
> 
> 1) I've unpacked the files (as root): 
>       scratchbox-core-0.9.8.8.tar.gz
>       scratchbox-devkit-debian-0.9.8.8.tar.gz
>       scratchbox-libs-0.9.8.8.tar.gz
>       scratchbox-toolchain-cs2005q3.2-glibc-arm-0.9.8.5-6.tar.gz
>       scratchbox-toolchain-cs2005q3.2-glibc-i386-0.9.8.5-6.tar.gz
> 
> 2) run /scratchbox/run_me_first.sh,
> 
> 3) added the users to "sbox" group (we use LDAP here),
> 
> 4) run sbox_adduser on every user (and see the 
>    subdirs in /scratchbox/users being created)
> 
> now I'm stuck with this problem:
> 
> [EMAIL PROTECTED] # id
> uid=0(root) gid=0(root)
> groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
> 
> [EMAIL PROTECTED] # /scratchbox/sbin/sbox_ctl start
> /scratchbox/sbin/sbox_ctl: Permission denied.
> 
> [EMAIL PROTECTED] # ll /scratchbox/sbin/sbox_ctl
> -rwxr-xr--  1 root sbox 951 Dec 16  2005 /scratchbox/sbin/sbox_ctl*
> 
> [EMAIL PROTECTED] # mount|grep scratchbox
> bonfs04:/vol/nrc1/scratchbox on /scratchbox type nfs
> (rw,fg,nfsvers=3,tcp,timeo=600,retrans=2,hard,nointr,addr=xxx.xxx.90.236
> )
> 
> 
> Probably because of the NFS-exports I'm unable 
> run the script /scratchbox/sbin/sbox_ctl as root (and
> later I was going to allow the users to run it through sudo). 
> 
> Does anybody please have an idea, how could
> install Scratchbox into an NFS-mounted area (read-write)
> and let multiple users use it?
> 
> Also, what is the sudo install mode meant for,
> how to use it please? Sofar I've done ecverything as root.
> 
> Thank you
> Alex
> _______________________________________________
> Scratchbox-users mailing list
> Scratchbox-users@lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to