mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-01-14 09:30:02 +00:00
Set lock flag unless destory, rename and write are all enabled
This commit is contained in:
parent
8ca3e27fc4
commit
3b99c1fdd0
@ -287,7 +287,7 @@ public class ImportCommand extends ReadWriteDiskCommandOptions {
|
||||
builder.fileData(as.getDataFork());
|
||||
builder.resourceData(Optional.ofNullable(as.getResourceFork()));
|
||||
builder.prodosFiletype(fileType);
|
||||
builder.locked(info.getAccess() == 0xc3);
|
||||
builder.locked((info.getAccess()&0xc2) != 0xc2); //Unlocked if destory, rename and write are all enabled
|
||||
builder.auxiliaryType(info.getAuxType());
|
||||
|
||||
if (as.getFileDatesInfo() != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user