Setting permissions on a new partition

das paagol at gmail.com
Tue Jun 19 05:26:12 UTC 2007


On Tue, 2007-06-19 at 00:19 -0400, Rashkae wrote:
> Errrr, no, that's not what you want,,, forget changing fstab at all
> 
> You mount the partition somewhere on your filesystem, as in this 
> example, /mnt/data.  Once mounted, use chown to change the ownership
> of 
> that directory (make it recursive if you want to affect all the stuff 
> you've put in there as root already)
> 
> sudo chown -R username /mnt/data
> 

Yeah, not only that, the other way makes the system a bit vulnerable
too, by making it accessible to other users too. And this 'chown -R' is
a far simpler way, and safe. 





More information about the ubuntu-users mailing list