Blob Blame History Raw
--- a/src/utils/ecryptfs-setup-private	2011-03-02 12:22:05.000000000 +0100
+++ b/src/utils/ecryptfs-setup-private	2011-03-02 12:22:47.000000000 +0100
@@ -399,9 +399,11 @@
 temp=`mktemp`
 echo "$sig" > "$temp" || error "$(gettext 'Could not create signature file')" "[$HOME/.ecryptfs/$PRIVATE_DIR.sig]"
 mv "$temp" "$HOME/.ecryptfs/$PRIVATE_DIR.sig"
+restorecon "$HOME/.ecryptfs/$PRIVATE_DIR.sig" > /dev/null 2>&1
 temp=`mktemp`
 echo "$MOUNTPOINT" > "$temp" || error "$(gettext 'Could not create mountpoint file')" "[$HOME/.ecryptfs/$PRIVATE_DIR.mnt]"
 mv "$temp" "$HOME/.ecryptfs/$PRIVATE_DIR.mnt"
+restorecon "$HOME/.ecryptfs/$PRIVATE_DIR.mnt" > /dev/null 2>&1
 
 echo
 echo "$(gettext 'Done configuring.')"