Revert "Revert "Revert "Revert "Removed the permission error checks""""

This reverts commit 2ffb1a0e1faa04fe852681785e9b8a79ec5ce76e.
Revert "Revert "Revert "Removed the permission error checks"""

This reverts commit e1bce6e8bd6ba2215efe48570015fbf57ce9d90c.
Revert "Revert "Removed the permission error checks""

This reverts commit 58a2592321cd843d0cf647c1a9a71958281870a7.
Revert "Revert "Revert "Removed the permission error checks"""

This reverts commit 464a080828c5abb1678cd20804433eac21bae81b.