mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-28 02:32:00 +00:00
Merge pull request #92 from ThomasFok/fix/as_import_lock_flag
acx - Imported AppleSingle files are locked
This commit is contained in:
commit
23ae480321
@ -287,7 +287,7 @@ public class ImportCommand extends ReadWriteDiskCommandOptions {
|
|||||||
builder.fileData(as.getDataFork());
|
builder.fileData(as.getDataFork());
|
||||||
builder.resourceData(Optional.ofNullable(as.getResourceFork()));
|
builder.resourceData(Optional.ofNullable(as.getResourceFork()));
|
||||||
builder.prodosFiletype(fileType);
|
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());
|
builder.auxiliaryType(info.getAuxType());
|
||||||
|
|
||||||
if (as.getFileDatesInfo() != null) {
|
if (as.getFileDatesInfo() != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user