EDIT: was able to fix this by logging in with another account in the same group, and accessing it that way. It only worked because I was lucky enough to have that other account in the same group though. I'd still like to know if there's another way around this issue.
hmm...
i meant to do
> chmod 755 <directory>
but I typed
> chmod 75 <directory>
which results in
> d---rwxr-x 5 justin 512 Oct 24 19:35 gallery
I own the directory, but can't access it.
I don't have root.
What to do...