Hi all,
/mnt/windowsResrc is the mount point for a NTFS partition. Hence, all files and directories on it has permission 555.
/mnt/windowsResrcBak is the mount point for a VFAT partition. It is mounted with umask 0022.
Now when i do this,
Code:
rsync -vrtL --delete /mnt/windowsResrc /mnt/windowsResrcBak
All the copied files and directories end up with permissions of 555 (seems to be preserved?) even though i did not have the "-p" option set for rsync, and /mnt/windowsResrcBak was mounted with a umask of 0022.
Why is this so?
Even more strange (to me), when i umounted /mnt/windowsResrcBak, and then mounted it again with umask 0022, the permissions of 555 for all its files and directories still remained!
I had this understanding that VFAT does not have the ability to persist ownership and permissions, and that these things are "artificially" set when we mount the filesystem using the specified "-o uid=xxxx,gid=xxxx,umask=xxxx" option. But seems like my understanding was totally off?
TIA and Regards,
Edwin