I have a new disk with one
btrfs partition on it and want to mount it via
fstab. The problem is, that all files are now owned by
root but I want them to be owned by the user with ID 1000 (and group ID 1000).
ntfs partition on my old disk the entry looked like this:
UUID=AAAE86DAAE869E87 /media/disk ntfs auto,uid=1000,gid=1000,errors=remount-ro 0
btrfs entry looks like this:
UUID=eaadb7d0-4dba-46a7-85ac-0fbf81821840 /media/disk btrfs defaults 0 1
I can't set the
gid option on
btrfs, because when I do it, I'll get an error while booting (the options
gid do not exist).
Is there an opportunity to set the ownership of all files to a specific user?