Improve error codes
EACCES means that an operation is not possible in the current state.
This is not to be confused with EPERM meaning that the user does not have the necessary credentials. Also compare HTTP results 401 and 403.
Also compare with EINVAL (VLC_EBARVAR) meaning that operating is not possible because the value of a parameter is invalid.