~ecryptfs/ecryptfs/trunk

« back to all changes in this revision

Viewing changes to src/utils/ecryptfs-setup-private

  • Committer: Dustin Kirkland
  • Date: 2011-10-27 15:32:29 UTC
  • Revision ID: kirkland@ubuntu.com-20111027153229-3qg7i5ix0uqyuevf
Tags: 93
src/utils/ecryptfs-setup-private: LP: #882314

Show diffs side-by-side

added added

removed removed

Lines of Context:
432
432
        ln -sf $ECRYPTFS_DIR/$USER/.$PRIVATE_DIR $MOUNTPOINT/.$PRIVATE_DIR
433
433
        chown -R $USER:$GROUP $ECRYPTFS_DIR/$USER
434
434
        chown -R $USER:$GROUP $MOUNTPOINT
 
435
        # If we're in debian-installer, move the temporary password to /var/tmp
 
436
        # to preserve across the first reboot.
 
437
        [ -z "$DEBIAN_FRONTEND" ] || mv -f -T /dev/shm/.ecryptfs-$USER /var/tmp/.ecryptfs-$USER
435
438
        exit 0
436
439
fi
437
440