How to unmount an ecryptfs .Private directory mounted at /tmp?
up vote
1
down vote
favorite
Say that I want to view the contents of an encrypted home directory, I can simply use "sudo ecryptfs-recover-private " and it will mount an unencrypted copy at /tmp. That's all fine and good, but how do I unmount it from /tmp? The /tmp directory gets cleared at every startup I believe, but what if I want to remove the /tmp ecryptfs directory without rebooting? I can't just delete the folder because it's read-only.
Is there some way to unmount the directory, or is restarting the only option?
mount encryption home-directory ecryptfs tmp
add a comment |
up vote
1
down vote
favorite
Say that I want to view the contents of an encrypted home directory, I can simply use "sudo ecryptfs-recover-private " and it will mount an unencrypted copy at /tmp. That's all fine and good, but how do I unmount it from /tmp? The /tmp directory gets cleared at every startup I believe, but what if I want to remove the /tmp ecryptfs directory without rebooting? I can't just delete the folder because it's read-only.
Is there some way to unmount the directory, or is restarting the only option?
mount encryption home-directory ecryptfs tmp
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Say that I want to view the contents of an encrypted home directory, I can simply use "sudo ecryptfs-recover-private " and it will mount an unencrypted copy at /tmp. That's all fine and good, but how do I unmount it from /tmp? The /tmp directory gets cleared at every startup I believe, but what if I want to remove the /tmp ecryptfs directory without rebooting? I can't just delete the folder because it's read-only.
Is there some way to unmount the directory, or is restarting the only option?
mount encryption home-directory ecryptfs tmp
Say that I want to view the contents of an encrypted home directory, I can simply use "sudo ecryptfs-recover-private " and it will mount an unencrypted copy at /tmp. That's all fine and good, but how do I unmount it from /tmp? The /tmp directory gets cleared at every startup I believe, but what if I want to remove the /tmp ecryptfs directory without rebooting? I can't just delete the folder because it's read-only.
Is there some way to unmount the directory, or is restarting the only option?
mount encryption home-directory ecryptfs tmp
mount encryption home-directory ecryptfs tmp
asked May 13 '17 at 13:53
Mixx
1483726
1483726
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Even if you had remounted the directory as read-write, you still wouldn't want to delete the directory, or you would be erasing the files in your home directory.
I believe what you're looking for is the either the ecryptfs-umount-private
or unmount.ecryptfs_private
command. Be sure to read the warning in the synopsis for that second command.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Even if you had remounted the directory as read-write, you still wouldn't want to delete the directory, or you would be erasing the files in your home directory.
I believe what you're looking for is the either the ecryptfs-umount-private
or unmount.ecryptfs_private
command. Be sure to read the warning in the synopsis for that second command.
add a comment |
up vote
0
down vote
Even if you had remounted the directory as read-write, you still wouldn't want to delete the directory, or you would be erasing the files in your home directory.
I believe what you're looking for is the either the ecryptfs-umount-private
or unmount.ecryptfs_private
command. Be sure to read the warning in the synopsis for that second command.
add a comment |
up vote
0
down vote
up vote
0
down vote
Even if you had remounted the directory as read-write, you still wouldn't want to delete the directory, or you would be erasing the files in your home directory.
I believe what you're looking for is the either the ecryptfs-umount-private
or unmount.ecryptfs_private
command. Be sure to read the warning in the synopsis for that second command.
Even if you had remounted the directory as read-write, you still wouldn't want to delete the directory, or you would be erasing the files in your home directory.
I believe what you're looking for is the either the ecryptfs-umount-private
or unmount.ecryptfs_private
command. Be sure to read the warning in the synopsis for that second command.
answered May 22 '17 at 5:50
b_laoshi
2,472927
2,472927
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f914783%2fhow-to-unmount-an-ecryptfs-private-directory-mounted-at-tmp%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown