Hmm , just tested that by changing to /root as root then "su"->normal user no problem
"ls" of course gives permission denied. Anyway i think i solved the problem in a round about way, i noticed in one of the sys logs that and error would come up with regards to user "nobody" i deleted it and recreated the user. ( this was mucking junkbuster up ) Now i believe this is a special "dummy" user so now it exists as a "real" user but at least the prior problem has dissappeared. (junkbuster runs ok ) Is this likely to create further problems, if so how would i recreate the originall "dummy" user "nobody" thanx for the response though Martin Bialasinski wrote: > >> "JL" == John Leget <[EMAIL PROTECTED]> writes: > > JL> I now also get the following error when trying to fire it up again > JL> manually "etc/init.d/junkbuster start" which give me this > > JL> "# shell-init: could not get current directory: getcwd: cannot > JL> access parent directories: Permission denied" > > This message shouldn't prevent junkbuster from starting. Check ps ax | > grep junkbuster > > JL> Hmm just tried a few things and noticed that the above error message > JL> also appears when i try to use "su" root -> normal user, when allready > JL> logged in as root, but not the other way around, huh. :( > > This error happens because you are in root's homedir. and this > directory is mode 750, so only root can enter it. If you su to another > user, this user can't determine the current directory (he doesn't have > permission to read the inode). This also happens with junkbuster, as > the init scripts does a su to nobody. > > Ciao, > Martin > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null