File/Drive Use Permissions

I have occasional need to store files of size greater than 4GB on a thumb drive. This rules out the default FAT32 formatting of the thumb drive, so I have been using btrfs. I format my drives using G-Parted, but the problem is my drive permissions are not possible to use except as root. So, I use the chown command to fix this.
My question is two-fold: 1. Is there some way to actually format the drive and have it usable without the chown step? and 2. Is btrfs really my best choice here? If it’s relevant, I use KDE with Dolphin.
Many thanks!

1 Like

The filesystem you choose in this case is really just a matter of preference. I typically just use ext4, as it’s more than enough for a flash drive, but it doesn’t really matter.

As for the permissions. I think fuse may be able to mount a drive as a non-root user, but I’ve never tried, so I don’t know.
Filesystems, to my knowledge and experience, are always generated belonging to root, and there is no way to override this. (I’d love to be proven wrong here. It would save me time too.)
You could generate an ntfs filesystem, but then you have the issue of not having any native *nix filesystem attributes.

You could try creating a command to generate, mount, and and chown the filesystem all in one step. That would at least save doing all the steps manually every time.

Mount the file system and change ownership and/or permissions of the mount point.

Many thanks, gentlemen. It’s not a bad thing to learn more about the CLI. I believe this will come up more in the future as thumb drives and the files we store in them get bigger and bigger.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.