tsferreira
Registered
I was using until recently a PowerPC running Mac OS X 10.4.11. Since I maintain my directories synchronized all the time between Linux running on another machine and this PowerPC, I created a link:
/home -> /Users
so that all my scrpits and links (like /home/....) would work properly under both systems.
I acquired recently an iMac running under Mac OS 10.5.3 and discovered that there exists already a directory called "/home" which has a rather strange behaviour: not even the user 'root' is allowed to write into it or to modify it in any way, orv to remove it! This breaks many of my scripts.
Of course I can go the opposite way and create under my Linux a link: /Users->/home, but some of my scripts create automatically links like "/home/..." because they expand "~/..." and these would give me troubles on the iMac. I wrote a script which goes through my directory and changes all my links, but it does not seem to be the right way.
Any explanation and suggestions will be appreciated.
-- Tom
/home -> /Users
so that all my scrpits and links (like /home/....) would work properly under both systems.
I acquired recently an iMac running under Mac OS 10.5.3 and discovered that there exists already a directory called "/home" which has a rather strange behaviour: not even the user 'root' is allowed to write into it or to modify it in any way, orv to remove it! This breaks many of my scripts.
Of course I can go the opposite way and create under my Linux a link: /Users->/home, but some of my scripts create automatically links like "/home/..." because they expand "~/..." and these would give me troubles on the iMac. I wrote a script which goes through my directory and changes all my links, but it does not seem to be the right way.
Any explanation and suggestions will be appreciated.
-- Tom