[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot su.



> My su doesn't give that error. It just says "Permission denied" when i try
> anything that would involve accessing the contents of the current
> directory. No errors though, and pwd works fine.

Sorry, my mistake. I forgot, I only see this on my girlfriend's machine, and
I assume its because she prefers tcsh to bash. Haven't been able to do it
with bash. Here's an example anyhow :)

jelly ~ > ls -ald
drwx------  18 jelly    jelly        2048 May 22 10:34 ./
jelly ~ > su box
Password:
shell-init: could not get current directory: getwd: cannot access parent
directories
box /home/jelly > ls
ls: .: Permission denied
box /home/jelly > su --version
su (GNU sh-utils) 1.16

Rob.


Reply to: