udisks
                                
                                
                                
                                    udisks copied to clipboard
                            
                            
                            
                        Adding WRITE ACL to /run/media/$USER
As the title suggests, I was wondering whether it would be worth adding the WRITE permission for the relevant user for /run/media/$USER.
The reason behind this is that I was creating a user systemd.automount for a remote filesystem and inside /run/media/$USER seemed like a natural spot for the mount point, but given the user does not have write access, systemd failed.  The other option would be within $XDG_RUNTIME_DIR, but given the UID can change, the result is a path which can change which seems incompatible with the way systemd mounts work.
Reference: udiskslinuxfilesystem.c:add_acl()
https://github.com/storaged-project/udisks/blob/master/src/udiskslinuxfilesystem.c#L492
Would you like me to create a PR?
Would you like me to create a PR?
Yes please, we're free to experiment now.