Specify UID/GID for files downloaded via Firefox #5988
-
Hi, Can Firejail do something similar when I run Firefox and download files? That is run firejail firefox as myself but any downloaded files to ~./Downloads are saved as another user with restricted permissions? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Note for reader:
|
Beta Was this translation helpful? Give feedback.
-
That would be a privilege escalation, wouldn't it? Do you specify that in a transmission config or in podman? If podman does this, we might can do something similar but if transmission chowns the files then Firefox would need to do so. |
Beta Was this translation helpful? Give feedback.
-
It's specified in the docker/podman compose file docker hub |
Beta Was this translation helpful? Give feedback.
-
You can use the inotify-tools in a shell script for stuff like this. Very likely these are packaged and available in your OS. No need to alter anything in Firejail IMO. |
Beta Was this translation helpful? Give feedback.
-
OK thanks. I'll check that out. |
Beta Was this translation helpful? Give feedback.
You can use the inotify-tools in a shell script for stuff like this. Very likely these are packaged and available in your OS. No need to alter anything in Firejail IMO.