Saves copied off a cartridge via the Retrode will have their mode bits set to 444 (r--r--r--) on Linux.
This has the annoying side-effect that, if saveswap is run on them, you're likely to wind up with the following set of steps:
Naively run saveswap on the file.
It dies with an error.
chmod the file writable
Re-run saveswap.
It dies because the previous run left a read-only backup file that it can't overwrite.
Saveswap should either detect this an exit before creating the backup or set the appropriate permissions for you. (I'll need to think about what would provide the best balance for use in scripts and non-scripted use.)
Saves copied off a cartridge via the Retrode will have their mode bits set to
444
(r--r--r--
) on Linux.This has the annoying side-effect that, if saveswap is run on them, you're likely to wind up with the following set of steps:
chmod
the file writableSaveswap should either detect this an exit before creating the backup or set the appropriate permissions for you. (I'll need to think about what would provide the best balance for use in scripts and non-scripted use.)