On Fri 31 Oct 2008, dfirth wrote: > > I have got myself confused. > I am running dirvish locally. (I rsync to a directory on this linux box, and > then run dirvish using this directory as the client files).
You mean you're doing it in 2 stages? I.e. at the end you have the files 3 times on your system: the original, the rsync'ed copy, and the dirvish copy? > Every now and then (!), the resulting image directory is locked up with root > permissions rather than my default user permissions. That means that I > cannot access the directory (without sudo) but also dirvish cannot access it > either and I get errors. I am not running dirvish as root. Dirvish will always preserve the original file attributes. If the image directory itself is mode drwx------ then that means that the image was not created successfully; only at the successful conclusion of making an image is the image directory made readable by the world. This also means that for best results dirvish should be run as root. > Now I tried running dirvish as root, but then of course all the images are > created as root, which is not what I want. I am not concerned with The files in the images will be the *exact* same as the originals, which should be what you want. Don't confuse the ownershop of the top image directory with the contents of the "tree" directory below that. > preserving original file ownership or permissions. > > I surmise that I get root permissions on the image directory when I have run > sudo for another application and the password is still live. Would that be > correct? No, dirvish knows nothing about sudo. Paul _______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
