It looks like you aren't downloading to your home directory. Most browsers by default go to /home/username/Downloads.
In your example above, it looks like you are downloading to /run/user/1000/doc/4e7dfc82/Downloads
That is not a standard location. But even so, you could download to it.
User 1000 is probably you, but we can double check that.
grep 1000 /etc/passwd
If it's not you, we have another problem, but if it is you...
sudo chown -R dxhum:dxhum /run/user/1000/doc/4e7dfc82/Downloads
should fix it.
Maybe OP is using Firefox as a Snap and running into some sort of permission issue?
Code:firefox --version
/run is a system directory in memory. What does /etc/passwd say your home directory is supposed to be?It was me, so I tried the chown command you suggested.
It said: chown: cannot access '/run/user/1000/doc/4e7dfc82/Downloads': Permission denied
I don't use Snaps but you should have a look at the permissions of the Firefox snap on your installation. Have a look here.Yes, it is a snap.
/run is a system directory in memory. What does /etc/passwd say your home directory is supposed to be?
Signed,
Matthew Campbell
I don't use Snaps but you should have a look at the permissions of the Firefox snap on your installation. Have a look here.
Ubuntu 24.10 To Enhance Snap Permissions Handling - Phoronix
www.phoronix.com
No matter how you've installed Firefox (snap, flatpak, distro), the downloads are configured in Firefox settings. Go to settings, scroll down to the section that says Files and Applications and ensure Save Files To is set to Downloads. Then ensure you have the proper rights setup for your Downloads folder. You will unless you've done something wrong and changed that. To check open a terminal and type 'ls -al'. This will produce a list of everything in your home directory. Look for the line that has Downloads on it. Check the entire line. It should look like this 'drwxrwxr-x. 1 carl carl 88 Oct 19 17:06 Downloads' . The rights are the first set of letters drwxrwxr-x. This tells you that the user and the group have read/write/execute rights to the Downloads directory. Then in my example it shows carl carl, this tells you that the user Carl and the group Carl have those rights to the directory.
Let us know what you have there.
Your Downloads directory really doesn't require group access. Nothing in your home directory tree should have world access.No matter how you've installed Firefox (snap, flatpak, distro), the downloads are configured in Firefox settings. Go to settings, scroll down to the section that says Files and Applications and ensure Save Files To is set to Downloads. Then ensure you have the proper rights setup for your Downloads folder. You will unless you've done something wrong and changed that. To check open a terminal and type 'ls -al'. This will produce a list of everything in your home directory. Look for the line that has Downloads on it. Check the entire line. It should look like this 'drwxrwxr-x. 1 carl carl 88 Oct 19 17:06 Downloads' . The rights are the first set of letters drwxrwxr-x. This tells you that the user and the group have read/write/execute rights to the Downloads directory. Then in my example it shows carl carl, this tells you that the user Carl and the group Carl have those rights to the directory.
Let us know what you have there.