Strange. Still no dice
I made sure that Bitwarden isn’t in /snap
and ~/snap
└[~]> sudo snap remove --purge bitwarden
bitwarden removed
└[~]> sudo snap install bitwarden
bitwarden 2024.5.0 from 8bit Solutions LLC (bitwarden✓) installed
└[~]> ls -l /snap/bitwarden
total 4
drwxrwxrwx 10 root root 586 May 21 15:31 110
lrwxrwxrwx 1 root root 3 Jun 8 18:57 current -> 110
> ls -l snap/bitwarden
total 4
drwxr-xr-x 1 yamiyuki yamiyuki 54 Jun 8 18:59 110
drwxr-xr-x 1 yamiyuki yamiyuki 12 Jun 8 18:59 common
lrwxrwxrwx 1 yamiyuki yamiyuki 3 Jun 8 18:57 current -> 110
└[~]> snap run --trace-exec bitwarden
/snap/bitwarden/110/desktop-init.sh: line 14: /home/yamiyuki/snap/bitwarden/110/.last_revision: Permission denied
Slowest 4 exec calls during snap run:
0.497s snap-update-ns
0.531s /snap/snapd/21759/usr/lib/snapd/snap-confine
0.009s /usr/lib/snapd/snap-exec
0.008s /snap/bitwarden/110/command.sh
Total time: 0.557s
error: exit status 1
└[~]> ls -l /home/yamiyuki/snap/bitwarden/110/.
└[~]> ls -l /home/yamiyuki/snap/bitwarden/110/.last_revision
ls: cannot access '/home/yamiyuki/snap/bitwarden/110/.last_revision': No such file or directory
This is after I launched from GUI:
└[~]> ls -l /home/yamiyuki/snap/bitwarden/110/.last_revision
-rw-rw-r-- 1 yamiyuki yamiyuki 31 Jun 8 18:59 /home/yamiyuki/snap/bitwarden/110/.last_revision
└[~]> cat /home/yamiyuki/snap/bitwarden/110/.last_revision
SNAP_DESKTOP_LAST_REVISION=110
└[~]> snap --version
snap 2.63
snapd 2.63
series 16
tuxedo 22.04
kernel 6.5.0-10040-tuxedo
Strange, I just checked journal, and it’s trying to get inside my Documents (stored in my separate internal HDD)
> sudo journalctl -f | grep -e bitwarden
Jun 08 19:09:58 Y4M1-II systemd[4441]: Started snap.bitwarden.bitwarden-2ae4b4b7-2663-44e2-8edd-797af60a4a53.scope.
Jun 08 19:09:58 Y4M1-II audit[2186979]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.bitwarden.bitwarden" name="/media/DATA/WDB4TB/yamiyuki/Documents/" pid=2186979 comm="head" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jun 08 19:09:58 Y4M1-II audit[2186982]: AVC apparmor="DENIED" operation="rmdir" class="file" profile="snap.bitwarden.bitwarden" name="/media/DATA/WDB4TB/yamiyuki/Documents/" pid=2186982 comm="rmdir" requested_mask="d" denied_mask="d" fsuid=1000 ouid=1000