root only on newly initialized sata drive?

Xen list at xenhideout.nl
Fri May 19 18:19:45 UTC 2017


Dave Stevens schreef op 19-05-2017 20:13:
> I have booted a live 16.04 and used gparted to remove the partition
> then recreate it and format it to ext4. Fine so far. When trying to
> save to the the drive I can't unless I use sudo. The permissions show
> the drive's only partition is owned by root. How do I change this? I
> know how to chown but don't see why it's created as root-owned by
> default.

Root is the system user (id 0).

If you want the root directory of your partition (/) to be owned by 
something else you will have to chown it like you say.

Regards.




More information about the ubuntu-users mailing list