Ticket #618 (new enhancement)
Opened 3 years ago
Detect in advance if install will be impossible due to permissions
|Reported by:||duncan||Owned by:|
People sometimes accidentally install into paths where they do not have write permissions. This can happen because they do not know the default behaviour, accidental misconfiguration, accidental use or non-use of sudo.
It would be a service to users if these conditions were detected up front and some suitable explanation given rather than failing half way through the installation step.
Specifically the directories where files will be installed should be checked. Also any package registration files should also be checked. Note that we should only do this check for commands that are definitely going to install file, we should not do it for configure for example since it's quite possible to configure and build as a user but install as root.