What plug must I use if I have an application that needs to be able to read any file on any disk?
Working in my home path:
→ grex --file inpt.txt
But everywhere else:
→ sudo grex --file /etc/vim/vimrc
permission denied: the specified file could not be opened
What plug must I use to allow read. I tried “/” but that triggers a manual review.
When there is a file I want to read on disc I get read errors. Data is an extra drive I mounted to my host.
/dev/mapper/vgmint-root / ext4
/dev/mapper/sda /Data ext4
→ ll test_port80.pl
-rwxr-x— 1 user1 adm 467 Mar 19 2020 test_port80.pl
→ grex --file test_port80.pl
error: the specified file could not be found
I created my snapcraft.yml like this:
apps: grex: command: bin/grex plugs: - home - removable-media