|
|
Watch out for mv command and symlinks on Samba shares
Small correction, use .profile in the root of your home directory, not .bashrc
Than make sure you shutdown that terminal session and start again. It should work now. BTW, I believe this is standard operation with the mv command, at least in Linux that's how it works. That is why the "-i" option exists, to warn you. Normally what you say is what it does. Be careful with the command line. On at least two occasions, I did a "rm -r *" thinking I was in the "/tmp" directory, when I was actually at the root while logged on as root. By the time you realize what you just did, its to late. Be careful!
root implies being careful
On at least two occasions, I did a "rm -r *" thinking I was in the "/tmp" directory, when I was actually at the root while logged on as root.This would seem to indicate that you should not log on as root.
root implies being careful
Actually this happened to me the other day while connected smb to my linux box. I deleted a symlink file toa dir in the Finder and it deleted the actual dir. Luckily it wasn't anything important. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.07 seconds |
|