No access to USB disks/sticks as working dir

root [1] .!ls
ls: cannot open directory ‘.’: Permission denied
fine : ~/root_source_macros
faulty: /media/user/seagate-usb-drive
faulty: /media/user/Luxor_stick
installation: Ubuntu 24.10 snap container

Hi,

Welcome to the ROOT Community!
I am sorry to read you cannot access the USB stick. ROOT does not seem to be involved. Could you please have a look to some online documentation about the way your setup handles containers and mounts?

Cheers,
Danilo

The snap requires admin approval to access /media or /mnt

Try sudo snap connect root-framework:removable-media

1 Like

Solved ! It isn’t the ROOT framework, indeed. It’s the snap container configuration. Thank you for your support.

The command is correct, and more needn’t be done.
One shouldn’t just copy it, though.
Unwanted chars may creep into the string.
Just enter the command, and everything will be fine.
Thank you for your help.

Sorry, that was my phone’s autocorrect inserting a space automatically, I’ve updated it now :slight_smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.