Martin White <[EMAIL PROTECTED]> said: > Hmm, okay - this is vaguely interesting! > > In order to copy this to a DVD I seem to need to copy the entire tree to a > temporary directory in my home folder and "chown -R mart:users *" the whole > lot otherwise both Toast and Dragon Burn both produce coasters (nice of them > to check to see if they have read permissions before starting!). > > So, when they're copied back on the target machine I'm guessing it'll be > okay to just do the opposite and "sudo chown -R root:admin /sw/*"? > > I've not really got any way to double check that EVERY file within the sw > tree has these ownership details to start off with!. > > Which brings me to permissions. If I copy these all to DVD and then back on > to another machine, will they all be read only, or will the permissions > survive intact? Perhaps more to this than I first considered.
There are some files that need other owners and/or have various special permissions flags. Your best bet might be to use 'tar' or some other utility that can be run as root and that will create an archive of things as they are intead of trying to fiddle manually. Burn the tarball (which is an opaque archive, like a zipfile, so you can transfer it without losing information) and then extract the thing (again, as root) on the target machine. I wonder if it would be moer straightforward to burn a copy of all the .deb (the binary archives of fink packages), then do a clean install of fink on the target machine and stash the old debs in it. Then you will have a bare-bones fink, but if you 'fink install' a package that you had built on the other machine, fink will just use the .deb you transfered instead of recompiling it. This way you leave it up to fink to handle all its own permissions (which are preserved in the .deb). dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Fink-beginners mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-beginners
