On Sat, September 2, 2006 05:20, Craig Barratt wrote: > Sturla writes: > >> I restored to the same directory as the backup was taken from and the >> symlinks LOOK ok when I stat them, but they just won't work. >> If I delete the symlink and create it again with the info from stat it >> works, but it's kinda tedious doing this on every symlink. >> I tried to write a script to do it for me, but I'll have to work some >> more >> on the selection-part on what to do with regards to what the first char >> in >> the symlink is (wether its / or .. or just a regular letter). >> >> Any pointers would be great... > > You have to include some specific examples in your email. > Show us a symlink that doesn't work, and one that does. > Are just absolute symlinks or just relative symlinks > broken? > > Do "ls -l LINKNAME | od -c" to see if there are any extraneous > characters in the symlink. Also do "ls -lL LINKNAME" to see > if the target file exists. > > Craig >
There are absolutely no difference in the output from "stat somesymlink" before and after I have done "rm somesymlink; ln -s somepath ." where the somepath is the same as was reported from stat before I deleted the old symlink, it just won't work... But I guess since noone else has seen this that it was just a freak incident, I sure hope so :) Thanx for trying to help :) Sturla ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
