diff --git a/src/com/webcodepro/applecommander/storage/os/prodos/ProdosFileEntry.java b/src/com/webcodepro/applecommander/storage/os/prodos/ProdosFileEntry.java index f128232..d2208f7 100644 --- a/src/com/webcodepro/applecommander/storage/os/prodos/ProdosFileEntry.java +++ b/src/com/webcodepro/applecommander/storage/os/prodos/ProdosFileEntry.java @@ -294,9 +294,9 @@ public class ProdosFileEntry extends ProdosCommonEntry implements FileEntry { * Set the lock indicator. */ public void setLocked(boolean lock) { - setCanDestroy(lock); - setCanRename(lock); - setCanWrite(lock); + setCanDestroy(!lock); + setCanRename(!lock); + setCanWrite(!lock); } /**