arma3 / DokanPbo

Mount PBO files as drives or folders in the file system
GNU Lesser General Public License v3.0
23 stars 5 forks source link

Remove invalid file/directory attributes #14

Closed dedmen closed 5 years ago

dedmen commented 5 years ago

The attributes don't make sense and actually break stuff. Archive flag is intended for backup programs, if the flag is set that means someone edited the file since the last backup. Temporary flag marks files which when written into are temporary and don't ever have to hit disk and can stay in ram and be deleted when their last handle is gone, which doesn't make any sense for us. Temporary flag on directory broke directory copying out of DokanPbo drive, I don't even think temp flag on directory is valid.

dedmen commented 5 years ago

Changes tested and working. For the File readOnly see #15 We always have a writeable directory, so we could make use of that.