i'm gonna try to make this as simple as possible
i'm trying to make a hard link from my .cshrc file to a sourceme.csh in different directory. when this works, i'll add other people's .cshrc file to be hard linked to sourceme.csh
as root i
Code:
ln sourceme.csh ../people/baxi/.cshrc
ls -l ../people/baxi/.cshrc
-rw-r--r-- 2 root root 2162 Aug 25 17:37 ../people/baxi/.cshrc
i edit sourceme.csh and prepend it with "freklja"
i save and exit. i edit sourceme.csh AGAIN just ot check if the changes were made, YES, they were.
i edit ../people/baxi/.cshrc and the changes are NOT preserved! I'm confused at this point. I've studied hard link & soft links through many LQ posts and it just doesn't work.
I tried symbolic links than by first removing my .cshrc file and then doing this
Code:
ln -s sourceme.csh ../people/baxi/.cshrc
ls -l ../people/baxi/.cshrc
lrwxrwxrwx 1 root root 12 Aug 25 17:38 ../people/baxi/.cshrc -> sourceme.csh
i try to edit it and it say file exists but cannot be read... i open up a new terminal which reads people's baxi's .cshrc and nothing goes through!
i'm really confused about now.. this is all on RHEL Server 3. I'm actually SSHing into that machine through a RHEL WS 4 .