summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-04 12:57:06 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-04 12:57:06 +0000
commit4c837c40349610414a1d46bd8442eb8f441c8c10 (patch)
tree1de886582b14332e6d122bbc01d791b9e1c6812f /move
parenta00e56a2159cadfe80c573466d437b6c4679233f (diff)
downloaddrakx-backup-do-not-use-4c837c40349610414a1d46bd8442eb8f441c8c10.tar
drakx-backup-do-not-use-4c837c40349610414a1d46bd8442eb8f441c8c10.tar.gz
drakx-backup-do-not-use-4c837c40349610414a1d46bd8442eb8f441c8c10.tar.bz2
drakx-backup-do-not-use-4c837c40349610414a1d46bd8442eb8f441c8c10.tar.xz
drakx-backup-do-not-use-4c837c40349610414a1d46bd8442eb8f441c8c10.zip
/var/tmp must be user writable for lpr| to work for printing from OOo to work
Diffstat (limited to 'move')
-rw-r--r--move/move.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/move/move.pm b/move/move.pm
index f349c20f2..a3bc1cf0b 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -141,6 +141,8 @@ sub init {
#- to write a file, leading to obscure unexpected failures
-d $_ or mkdir_p $_ foreach chomp_(cat_('/image/move/directories-to-create'));
+ chmod 01777, '/tmp', '/var/tmp'; #- /var/tmp -> badly needed for printing from OOo
+
#- remaining non existent /etc files are symlinked from the RO volume,
#- better to have them RO than non existent.
#- PB: problems arise when programs try to open then in O_WRONLY