Any particular reason for using ext2? I guess not. It's still the default FS in gparted (d'oh!) but if the partition is still empty you should reformat with ext4 for journaling and better performance. Open Terminal and type:
Code:
sudo umount /dev/sda5
sudo mkfs.ext4 /dev/sda5
Re. your actual question - for extX file systems you can simply take ownership on everything recursively after mounting the partition:
Code:
sudo mount /dev/sda5 "/media/clovis/New Data Logical"
id=$(id -u) # no sudo here
sudo chown -R $id:$id "/media/clovis/New Data Logical"
Take note that root always owns a partition (as a block device, such as /dev/sda1). You can only take ownership on file system objects.
Bookmarks