I don't think this is a good idea - the directory could have been created by the user for e.g. an /etc/fstab mount point.
Just use /run/media or put /media on tmpfs and you won't have this problem.
I don't think this is a good idea - the directory could have been created by the user for e.g. an /etc/fstab mount point.
Just use /run/media or put /media on tmpfs and you won't have this problem.