On Tue, Oct 09, 2007 at 05:25:17PM -0700, tom arnall wrote: > Well, I got a list of perm's for stuff in /dev (from a sarge system. I'm on > etch). There were only two diff's: two sound devices. But there are lots of > insane permissions throughout the rest of the system. Is this because when I > did 'chmod -R 777 /dev' I also in effect did 'chmod -R 777 /dev/hda1'? But > when I do 'ls -R /dev/hda1' I get only '/dev/hda1'. Why the diff' in the > scope of the commands? And where do you read about this kind of thing? well, ls and chmod are different utilities, so the -R could easily have different effects despite having apparently the same function. I seem to recall once I did a chown -R something and it followed the /. and /.. links in the directory so that it started walking up the directory tree. luckily I stopped it. Perhaps chmod -R is doing a similar thing? A
Attachment:
signature.asc
Description: Digital signature