Skip to contentSkip to conversation

Does copying extended attributes copy access control lists?

DISCUSSION Joseph D. Wagner 2 participants 2 messages Dec 30, 2003 VFS

lore
Share & tools
lore
#0 lore raw

It's my understanding that Linux EXT2/EXT3 stores ACL's inside Extended Attributes. Logically, one would believe that copying extended attributes would translate to also copying access control lists among the other extended attributes.

Is this logical extrapolation correct? Is my basic understanding correct?

Thanks for the clarification.

Joseph D. Wagner

#1 lore raw
Quoted 6 lines · Joseph D. Wagner

It's my understanding that Linux EXT2/EXT3 stores ACL's inside Extended Attributes. Logically, one would believe that copying extended attributes would translate to also copying access control lists among the other extended attributes.

Is this logical extrapolation correct? Is my basic understanding correct?

This is correct on ext2/ext3 and XFS (maybe JFS also). Might not be true on other filesystems though, depending on implementation.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/