I have a directory /zfs_p1/storage/cs/projects, and I want to soft-link it in /links.
I find a link in /links.
I enter in /links/projects, and the prompt says /links/projects.
it seems ok.
but from normal user:
$man pwd
"
-P Display the physical current working directory (all symbolic
links resolved).
If no options are specified, the -P option is assumed.
"
What am I doing wrong?
And there is a way to "enter" in the soft-link and "abandon" the /links and really enter the directory /zfs.... , like windows links?
Because if I run "cd .." i will be in /links instead of /zfs_,....
# ln -s /zfs_p1/storage/cs/projects /links/projects
I find a link in /links.
I enter in /links/projects, and the prompt says /links/projects.
Code:
#pwd
/zfs_p1/storage/cs/projects
but from normal user:
Code:
$cd /links/projects
$pwd
/links/projects
$pwd -P
/zfs_p1/storage/cs/projects
"
-P Display the physical current working directory (all symbolic
links resolved).
If no options are specified, the -P option is assumed.
"
What am I doing wrong?
And there is a way to "enter" in the soft-link and "abandon" the /links and really enter the directory /zfs.... , like windows links?
Because if I run "cd .." i will be in /links instead of /zfs_,....