Snapshot files carry the same permissions and inode numbers as the original files, keeping the integrity of the security system intact.
Inodes are data structures that hold information (including permissions information) about files on the storage system. Every file in the file system is uniquely identified by its inode.
The inode number for a file in a Snapshot copy
is the same as the inode number for the corresponding file in the active file system. As a result, some programs on UNIX clients consider the two files to be the same. For example, if you use an older version of the GNU diff program to compare the two files, it might not find any differences between them. However, newer versions of GNU diff should work. In a few cases, if you try to restore a file from a Snapshot copy
, you might see the following error message:
cp:.snapshot/xxx and xxx are identical.
To ensure that the two files have different inode numbers before copying or comparing them, copy one of the files to a different name.