FG
💻 Software

Can't cd into my own directory?

Fresh5 days ago
Mar 15, 202625119 views
Confidence Score0%
0%

Problem

On an EC2 instance I have changed Apache's log location to a different directory than the default. This is so that I can hold the logs on a (non-boot, only data) EBS. However, I can't into the logs directory. It belongs to my user and has read permissions for everyone. I can't the logs either (alth…

Error Output

$ ls -lh
total 4.0K
drw-rw-rw- 2 ubuntu ubuntu 4.0K 2011-05-15 14:52 apache
$ ls -lh apache/
ls: cannot access apache/error.log: Permission denied
ls…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Can't cd into my own directory?

Low Risk

You need the execute bit set on directories if you want to be able to switch to that. (The filesystem type doesn't really matter.)

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment