In the past, I have noticed that when unzipping a DOS-pkzip produced file, found on my MO drive, to an MSDOS partition on my hard drive, timestamps would all be changed to today/now on the target media if I did the unzipping as user. But if I did the unzipping as root, all was okay, and timestamps were preserved. In either case, the resulting files would be accessible by the user (rw_rw_rw_). The target media (MSDOS partition on the hard drive) is mounted with umask=000.
Somewhere down the line of unzip incarnations, the behaviour has changed. Now, if I unzip the file found on the MO drive, targetting the same MSDOS partition on the hard drive ... 1. if done as user, same problem: timestamps are changed to today/now. 2. if done as root, timestamps are preserved, but now permissions end up so that the user can't write to these files (rw_r__r__). I don't know any way around this other than to continue to unzip as root, but follow that with recursively changing permissions to all subfolders and files of my MSDOS partition (/mnt/dos). _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
