Can I create a new fileystem, using Read-only Seed device, to change the ownership of the files in the seed device.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a problem that needs solving and I am trying to understand if BTRFS can solve it.

I have diskimage(currently using ext4).  And I am considering btrfs for,
Lets call this filesystemA
This contains a software build tree done by userA and hence all files are owned by userA

I want an almost instantaneous way to create or copy or clone or seed a new filesystem or directory tree filesystem B, with all the content in filesystem A but is owned by userB

Question: 
1. if I created fileSystemA in btrfs and used it as a seed device in creating filesystem B, What file ownership does the filesystem B have?
2. Can that be changed to userB with any option.
3. What happens when userB tries to modify a fileX on filesystemB that was seeded with filesystemA and has fileX owned by userA
3. I understand btrfs supports snapshots and clones. Does the cloned volume and all its files keep the original owners as in the original volume/snapshot, or can it be specified as part of the cloning process. 

Netapp allows this capability. when cloning but is not open source fileystsem.
Is there anything out there outside of proprietary Netapp filesystem that allows this?
 
Thanks,
Sarvi
Occam’s Razor Rules





[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux