Public Directories

Ivan Krstic krstic at fas.harvard.edu
Thu Jun 15 10:14:49 BST 2006


Christofer C. Bell wrote:
> So why can't people that want it create it?
> 
> $ sudo mkdir /usr/share/public
> $ sudo chmod 1777 /usr/share/public

This is exactly the wrong way to do it, as it allows anyone to delete or
rename anything within the directory, including things they didn't put
there. This may be desired in certain situations, but not in the general
case.

-- 
Ivan Krstic <krstic at fas.harvard.edu> | GPG: 0x147C722D



More information about the ubuntu-devel mailing list