You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've an encrypted directory in $HOME. I would like to keep swap files of that directory's files from leaking, without changing the default swap file handling and location. Is it possible?
My workaround is to have .swap directory in the encrypted directory, and setting directory option like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is continuation of the reddit post of mine.
I've an encrypted directory in
$HOME
. I would like to keep swap files of that directory's files from leaking, without changing the default swap file handling and location. Is it possible?My workaround is to have
.swap
directory in the encrypted directory, and settingdirectory
option like this:It's ugly, and it only works if CWD is within the encrypted directory. It is probably a bug. Any thoughts or suggestions?
Beta Was this translation helpful? Give feedback.
All reactions