Re: Incorrect permissions on restored directory

Denis Corbin <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.general,gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks to use the dar-support mailing-list for further reply to this post.

the directory size can be explained if you had, in the past, many
subdirectories of that file. The directory grows with the number of
entry, but does not reduces when entry get deleted. Thus recreating it
make it smaller than the original. (make the test under Linux, a
directory with undred files in it, the remove the file. Look at the
directory size before, at the intermediate step and at the end of the
operation).

For the permissions problem, I need more informations about the options
used with dar, the user under which dar has been used for backup and
restoration, as well as the message dar has output. Last it would be
interesting to have the dar listing of that particular directory

	dar -l <you archive> home/<you directory>

Cheers,
Denis.

Larry Vidrine wrote:
| This week I installed dar amd made my first backup. Listing and
testing the
| backup worked very well. However, in trying a restore operation, I had 2
| discrepancies between the restored directory and the original.
| The procedure I used is as followes:
| I selected a directory in /home and renamed it, then I restored that
| directory from the backup. Konqueror reported this information:
| Original directory:
|         size 8.0KB
|         permissions drwxr-xr-x
|         283 items-280 files (1.7MB total) - 3 directories
| Restored directory:
|         size 4.0KB
|         permissions drwxrwxrwx
|         283 items-280 files (1.7MB total) - 3 directories
|
| The directory size and permissions are not the same. I can't find anything
| in NOTES, TUTORIAL, or man dar to account for these differences.
|
| Could you explain the reason for these differences?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBdBvLpC5CI8gYGlIRAryLAJ0een3Auz2ByOy637u7TZR4JSurjgCgysOl
QAgH5WFgqnCYaMGDypfuow0=
=arAn
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.