joe@deadmeat:/var/www $ cd test/
bash: cd: test/: Permission denied
joe@deadmeat:/var/www $ ls test/
ls: test/testfile.dat: Permission denied
ls: test/testfile.dat~: Permission denied
Recreation:
1. gksudo [or sudo] gedit
2. Write testfile.dat (It can be empty, whatever).
3. Save testfile.dat to /var/www/test -
making sure you create the folder inside gedit.
4. Open aterm, xtrem, gnome-terminal, or whatever, and type cd /var/www
5. Execute above commands.
Should this be allowed? If you can't even move into the folder, you shouldn't be allowed to list it's contents. In fact, the opposite behavior is displayed here, where I can navigate to iago's home folder, but not list the directory.
joe@deadmeat:~ $ ssh -p 8001 www.javaop.com
Last login: Tue Apr 18 17:02:03 2006 from aca2e2b1.ipt.aol.com
Linux 2.4.29.
NOTE: Please don't run SETI@home on Darkside, I don't have a lot of CPU to begin with. If anything, run it on Pie.
Mr. Salter's side of the conversation was limited to expressions of assent.
When Lord Copper was right he said "Definitely, Lord Copper"; when he was
wrong, "Up to a point."
"Let me see, what's the name of the place I mean? Capital of Japan?
Yokohama isn't it?"
"Up to a point, Lord Copper."
"And Hong Kong definitely belongs to us, doesn't it?"
"Definitely, Lord Copper."
-- Evelyn Waugh, "Scoop"
joe@darkside:~$ cd /home/iago
joe@darkside:/home/iago$ ls
/bin/ls: .: Permission denied
Also, this seems to be only in effect for folders created by the superuser.
joe@darkside:/home$ ls iago
/bin/ls: iago: Permission denied
Discuss?