I'd like to set up one external hard drive that would serve as the backup drive for two different laptops, both running Linux. I understand this is problematic b/c each machine will have its own set of user IDs, which can cause permission conflicts/general chaos.
I'm just wondering if there are any solutions I haven't considered. I would use ext4, but for the permissions issue. I thought about using NFS and sharing the drive over the network, but that's not really the use case I want -- I want each laptop to be able to plug into the drive and use it. I would also like the file system to be encrypted.
So is there a graceful way to do this, or is it just not in the cards? Is there another file system designed for this use case? Should I just use NTFS or HFS+?
UPDATE: As requested below, updating to add: there is no trust issue, as the two laptops are just mine and my wife's. And there is no specific problem that I foresee -- rather, it just feels sketchy, since I don't think ext4 was designed to be used this way.
With that said, I think I'll just stick with a single ext4 encrypted partition, keeping each backup in separate directories, and not worry about it. :) Thanks!
john
in one is UID 1000 won't bothersally
in the other with the same UID. Unless it's a trust issue where you don't wantsally
deletingjohn
's files, in which case I'd suggest separately encrypted partitions (or LVs).