When using Linux, /media is often a reserved directory.
Specifically: /media/derrell/8a40b384-ba80-4ede-99be-6e927897be79
looks like something the automounter did
When this happens:
- It creates a mount point under
/media/YOUR_USERNAME - If there’s a label on the drive, it’s used, else the UUID is used
- MOST IMPORTANTLY - exclusive access permission is asserted for ONLY your username.
Since this is a Pi, I suspect you’re using a USB drive for the media ?
If true, I suggest you mount the drive somewhere other than under /media/your_username to avoid permission problems.
Please see below (pay attention to the USB part)