Changeset 3634 for branches


Ignore:
Timestamp:
Dec 21, 2016, 5:57:23 PM (3 years ago)
Author:
bruno
Message:

chmod 666 is sufficient after restoring /dev/null

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/mondorestore/mondo-rstr-tools.c

    r3614 r3634  
    601601}
    602602run_program_and_log_output("mkdir -p " MNT_RESTORING "/var/run/console", 0);
    603 run_program_and_log_output("chmod 777 " MNT_RESTORING "/dev/null", 0);
     603run_program_and_log_output("chmod 666 " MNT_RESTORING "/dev/null", 0);
    604604run_program_and_log_output("cd " MNT_RESTORING "; for i in `ls home/`; do echo \"Moving $i's spurious files to $i/.disabled\"; mkdir \"$i\"/.disabled ; mv -f \"$i\"/.DCOP* \"$i\"/.MCOP* \"$i\"/.*authority \"$i\"/.kde/tmp* \"$i\"/.kde/socket* \"$i\"/.disabled/ ; done", 1);
    605605run_program_and_log_output("rm -f " MNT_RESTORING "/var/run/*.pid", 1);
Note: See TracChangeset for help on using the changeset viewer.