Getting permission denied error
Posted
by
JM4
on Server Fault
See other posts from Server Fault
or by JM4
Published on 2012-12-03T21:58:40Z
Indexed on
2012/12/03
23:07 UTC
Read the original article
Hit count: 245
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?
© Server Fault or respective owner