Comments (6)
Hi! can you please confirm this issue is solved using latest version from git?
from tomb.
Hi @jaromil. It did not work for me. I downloaded the latest version from git, installed it using sudo make install
. Made sure the file "tomb" changed in /usr/local/bin/
.
Let's say this is the path /home/user/.config/Example Folder
which I want to bind-hook to media/ExampleFolder
in tomb.
- First I tried without symlink. But it could not bind-hook:
bind-hooks:
media/ExampleFolder ".config/Example Folder"
Output:
tomb . Commanded to open tomb .doc/secret.tomb
tomb . Valid tomb file found: .doc/secret.tomb
tomb . Key is an image, it might be valid.
tomb . Mountpoint not specified, using default: /run/media/user/secret
tomb (*) Opening secret on /run/media/user/secret
tomb . This tomb is a valid LUKS encrypted device.
tomb . Cipher is "twofish" mode "xts-plain64" hash "sha512"
tomb . A password is required to use key .....
tomb [W] Attempting key recovery.
tomb . Password OK.
DM-UUID for device tomb.secret.d52da4cfad13566f9c357890434340a54752285bd92d14589740aedc17671561.loop14 was truncated.
tomb (*) Success unlocking tomb secret
tomb . Filesystem detected: ext4
tomb . Checking filesystem via /dev/loop14
fsck from util-linux 2.37.4
secret: clean, 24238/3399680 files, 10277943/13567488 blocks
tomb (*) Success opening secret.tomb on /run/media/user/secret
tomb . Last visit by user(1000) from /dev/pts/1 on user-pc
tomb . on date Mon 07 Mar 2022 10:36:37 AM +03
tomb [W] bind-hook target not existent, skipping /home/user/".config/Example
- Then I tried using symlink. This way the bind-hook worked, but then it was impossible to close the tomb either by
tomb close
ortomb slam
.
I created symlink with
ln -s "/home/user/.config/ExampleFolder/" Example
bind-hooks file:
media/ExampleFolder Example
output:
$ tomb close
tomb . Closing tomb [secret] mounted on /run/media/user/secret
tomb . Closing tomb bind hook: /home/.../...
tomb . Closing tomb bind hook: /home/user/.config/Example Folder
umount: /home/user/.config/Example\x20Folder: no mount point specified.
tomb [E] Tomb bind hook /home/user/.config/Example Folder is busy, cannot close tomb.
Am I doing something wrong?
from tomb.
Hello again. As a workaround, I could make it work for me using symlink and then just before closing the tomb, I enter:
sudo umount "/home/user/.config/Example Folder"
or just
sudo umount Example
, where "Example" is the symlink as defined in ln -s "/home/user/.config/ExampleFolder/" Example
then,
tomb close
from tomb.
Could you run tomb with -D for debug output? Just curious if it breaks in the region of line 2501
from tomb.
Could you run tomb with -D for debug output? Just curious if it breaks in the region of line 2501
I tried it and it does not give any line numbers, and I don't know how to debug a bash script. But you could try this by creating this folder structure "/home/user/.config/Example Folder" and try to bind-hook to "media/ExampleFolder" in tomb.
from tomb.
No, it doesn't give line numbers, but in that region are verbose messages which maybe can tell the state of vars.
But will try to setup hooks. Never did that before with tomb, so I need to read about this.
from tomb.
Related Issues (20)
- reimplementation of cat fails to work for some inputs HOT 1
- No session for cookie HOT 2
- A minor error prompt for hostname HOT 4
- DBUS_SESSION_BUS_ADDRESS not set when running tomb via .desktop launcher HOT 1
- Too much noise about sudo in console output HOT 1
- losetup: cannot find an unused loop device HOT 4
- Restore GPG recipient tests
- fsck error "UNEXPECTED INCONSISTENCY" HOT 1
- tomb complains about zramswap HOT 5
- btrfs on small tombs HOT 2
- Tomb 2.9.0 as root with smartcard [Bug? + Workaround] HOT 3
- Tomb `online / offline` command for LAN sharing via samba
- Question: How secure is storing the secret.tomb file along with they key file relying only on password?
- Support .wav file in bury/exhume mode which `steghide` already support HOT 3
- age support for key encryption HOT 1
- mountpoint `/run/media/$USER` always with root ownership HOT 10
- `ctrl+c` not working to cancel `sudo` prompt
- Duplicate password prompt when `udiskie` was installed. HOT 1
- tomb index / search and mlocate HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tomb.