[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#398793: [Adduser-devel] Bug#398793: adduser: Non system wide readable (home) directories should not be 751



On Thu, 16 Nov 2006, Olaf van der Spek wrote:
> Adduser choses 751, which is wrong IMO, as the directories are still
> readable, they're just not listable.

The directories aren't readable either; their contents may be, but you
can't see what the contents are.
 
> ~/public_html (probably) won't work with 751, but that's the choice
> and problem of the administrator that choses no.

$ mkdir testing; echo 'hi' > testing/hello; chmod 0664 testing/hello; sudo chown root:root -R testing; sudo chmod 0751 testing;
$ cat testing/hello
hi
$ ls testing
ls: testing: Permission denied
$ sudo chmod 750 testing;
$ cat testing/hello
cat: testing/hello: Permission denied

Any questions?


Don Armstrong

-- 
America was far better suited to be the World's Movie Star. The
world's tequila-addled pro-league bowler. The world's acerbic bi-polar
stand-up comedian. Anything but a somber and tedious nation of
socially responsible centurions.
 -- Bruce Sterling, _Distraction_ p122

http://www.donarmstrong.com              http://rzlab.ucr.edu



Reply to: