this is the way it needs to be (how filesistem permissions is
implemented)
you need to give it browse permissions chmod rwx so you can do ls -la
(with your permissions settings ls can't really read inside the dir )
This is how you can reproduce your issue
mariuz@borkstationX64:/tmp$ mkdir -p foo/bar
mariuz@borkstationX64:/tmp$ mkdir chmod 644 foo/bar
mkdir: cannot create directory `foo/bar': File exists
mariuz@borkstationX64:/tmp$ chmod 644 foo
mariuz@borkstationX64:/tmp$ ls -lah foo/bar
ls: cannot access foo/bar: Permission denied
mariuz@borkstationX64:/tmp$ ls -lah foo
ls: cannot access foo/bar: Permission denied
ls: cannot access foo/.: Permission denied
ls: cannot access foo/..: Permission denied
total 0
d????????? ? ? ? ? ? .
d????????? ? ? ? ? ? ..
d????????? ? ? ? ? ? bar
** Changed in: ubuntu
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/819947
Title:
using chmod with a folder causes all files to get corrupted
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/819947/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs