On my Media Temple DV 4.0 server I am getting permission denied errors:
-bash: cd: httpdocs: Permission denied
If I switch from my login user to sudo (sudo su) or switch to root using su-, I can access the directory with any issue. This is just my site's files directory though so not sure why I'm being denied.
Additionally, I added my user to the visudo commands file with:
user ALL=(ALL) ALL
Any suggestions to what else could be the issue?
Check the permissions on the directory and change them if necessary.