Project

General

Profile

Actions

Bug #243

open

weird behavior in the shell

Added by swildner almost 18 years ago. Updated about 2 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hi,

I'm not sure if this is a 'real' bug but I'm curious if anyone knows the
cause. Check this:

zoot# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/pkg/xorg/bin:/home/s/bin
zoot# pwd
/usr/src/sys/dev/disk/md
zoot# .
/usr/sbin/.: Permission denied.
zoot# cd /
zoot# .
/usr/sbin/.: Permission denied.

In other words: The strange thing is that whereever I type . on the csh
prompt, I get the /usr/sbin/.: message regardless of what my current
directory is.

On a Solaris system I get ".: Permission denied." which is what I'd
expect rather.

So, can anyone enlighten me why DragonFly behaves like that?

Sascha

Actions

Also available in: Atom PDF