Problem: System commands access the wrong directory

Solution or Workaround


When 'ls' or 'pwd' is typed at the Arc: prompt, it lists the contents of the home directory.


This is caused by having a 'cd' line in the .cshrc file.

A 'cd' line may have been placed in the .cshrc file to display the current location, or to remove the '/tmp_mnt' string that the automounter adds to the returned pathname. Arc sub-processes that access the system (any command submitted to the operating system: ls, &DATA, &SYS, etc.) re-execute the .cshrc file; thus, if 'cd' is found in the .cshrc file, the Arc sub-process returns to the home directory before executing.