It is common for junior developers and system administrators to be blocked because of permissions. This article describes how to identify and fix a permission issue, as this is a FAQ on StackOverflow.
Identifying permission issues Here a self explaining case, probably the easiest, which happens when trying to access something which is directly blocked by the lack permissions:
>>> mkdir /mnt/foo mkdir: cannot create directory `/mnt/foo': Permission denied Now a more obscure cases.
Read More