[PATCH] Make the unmounted ~/Private mountpoint perm 500 I'm not sure how this happened, but somewhere along the line this got dropped. The unmounted ~/Private mountpoint should be r-x------.
-- :-Dustin Dustin Kirkland Ubuntu Server Developer Canonical, LTD [EMAIL PROTECTED] GPG: 1024D/83A61194 diff --git a/src/utils/ecryptfs-setup-confidential b/src/utils/ecryptfs-setup-confidential index f1c0716..ee977ae 100755 --- a/src/utils/ecryptfs-setup-confidential +++ b/src/utils/ecryptfs-setup-confidential @@ -183,6 +183,7 @@ echo mkdir -m 700 -p "$CRYPTDIR" || error "Could not create crypt directory [$CRYPTDIR]" mkdir -m 700 -p "$MOUNTPOINT" || error "Could not create mount directory [$MOUNTPOINT]" ln -s /sbin/mount.ecryptfs_private "$MOUNTPOINT"/"THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA -- Run mount.ecryptfs_private to mount again" +chmod 500 "$MOUNTPOINT" # Setup ~/.ecryptfs directory mkdir -m 700 $HOME/.ecryptfs 2>/dev/null
diff --git a/src/utils/ecryptfs-setup-confidential b/src/utils/ecryptfs-setup-confidential index f1c0716..ee977ae 100755 --- a/src/utils/ecryptfs-setup-confidential +++ b/src/utils/ecryptfs-setup-confidential @@ -183,6 +183,7 @@ echo mkdir -m 700 -p "$CRYPTDIR" || error "Could not create crypt directory [$CRYPTDIR]" mkdir -m 700 -p "$MOUNTPOINT" || error "Could not create mount directory [$MOUNTPOINT]" ln -s /sbin/mount.ecryptfs_private "$MOUNTPOINT"/"THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA -- Run mount.ecryptfs_private to mount again" +chmod 500 "$MOUNTPOINT" # Setup ~/.ecryptfs directory mkdir -m 700 $HOME/.ecryptfs 2>/dev/null
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ eCryptfs-devel mailing list eCryptfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecryptfs-devel