sabayon r598 - in trunk: . lib
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: sabayon r598 - in trunk: . lib
- Date: Fri, 19 Jan 2007 20:24:38 +0000 (GMT)
Author: federico
Date: 2007-01-19 20:24:37 +0000 (Fri, 19 Jan 2007)
New Revision: 598
ViewCVS link: http://svn.gnome.org/viewcvs/sabayon?rev=598&view=rev
Modified:
trunk/ChangeLog
trunk/lib/storage.py
Log:
2007-01-19 Federico Mena Quintero <federico novell com>
* lib/storage.py
(ProfileStorage.extract.copy_preserving_permissions): New helper
function. When populating the scratch home directory, we may get
read-only files from /etc/skel which we need to overwrite with
files from the zipped user profile (like ~/.gnu-emacs from
openSUSE - it's read-only). However, we can't write to these
files since they are read-only. So, we first save the
permissions, then unlink the file, write the new file, and restore
the permissions. See
https://bugzilla.novell.com/show_bug.cgi?id=230018#c11
(ProfileStorage.extract): Use copy_preserving_permissions().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]