1

I'm running Ubuntu 24.10. My /media directory (the usual mountpoint for external HDD) has the following permissions:

$ ls -l / | grep media
drwxr-xr-x   4 root root       4096 mag 16  2024 media

The owner is root but it has permissions to execute (aka enter) the directory. From normal user I can do:

$ ls /media/
mark  root

if I run Audacity as normal user (installed from snap) and try to open an audio file it refuses to enter the /media directory:

error

Error opening directory /media: Permission denied

I tried:

sudo chmod -R a+rxw /media/

but nothing has changed. What should I do in order to let Audacity entering this directory?

3
  • Please edit your question and add more detail. What is your operating system? What is /media? Is it a local directory? Is it a mount point? Is it a network directory? Since only root has execute permissions, it is normal that audacity can't entrer the directory (entering it, cding into it, requires execute permission), but it is not normal that you cannot change the permissions, that will probably be down to exactly what /media is. Commented Apr 17 at 10:25
  • I suspect there are problems with the mount access permissions, since /media is usually a mountpoint for removable devices. Until you answer @terdon's questions, it remains only a guess. Commented Apr 17 at 11:26
  • Thank you both, I've updated the question with the requested information. Please, feel free to ask further details Commented Apr 17 at 12:36

1 Answer 1

3

You've confirmed that you're installing from a Snap. Applications installed in this way are constrained to specific parts of the filesystems. Once you've installed the Snap you can use the Permissions button that appears, to extend the access to include removable devices:

Installing Audacity as a Snap

Permissions can be set

Permissions extended for removable devices

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.