Drumline not installing
Priority
P3 - Low
Type
Functional
Frequency
Few
Severity
S4 - Minor
Reproducibility
Always
Status
needs info
Regression
No
Workaround
Yes
Project
In an attempt to install the Drumline extension, the following message appears at the end: "Cannot import extension on read-only storage: /".
I tried opening access to system folders, via chmod -R 777, but it did not work.
I am using Ubuntu 18.04, atualized, on Budgie Desktop. I am using a Musescore version 2.3.1, in revision n. 0899e9d.
Comments
Try setting TMPDIR to something which write access
In reply to Try setting TMPDIR to… by Jojo-Schmitz
Please, what is the ideal command line for this modification in the Ubuntu terminal?
Thank You.
TMPDIR="/some/path" mscore
"By design" means that it is not possible to write to the read-only location. We might think about storing temp data somewhere else if the case becomes wide spread.
The default should be to write to
/tmp
(and$TMPDIR
, if that is set, but that does happen already apparently and is the workaround) everything else, esp. trying to write to/
, is a bad bug, and can't be by design.Hm... True. I believe we are writing to temp, research is needed.
No, IIRC even on Windows this is not writing to temp, but to the users home instead. That does have write permissions though, so this goes unnoticed. Not for Linux if HOME is / but the user is not root or the root filesystem is mounted readonly (like for a life file system)
In reply to No, IIRC even on Windows… by Jojo-Schmitz
It is different. Extension is an archive with the files. When user installs an extension, the archive is downloaded to TEMP folder, then automatically extracts to User/MuseScore2/extensions directory.
Yes, I see it uses
QDir::tempPath()
, so as per http://doc.qt.io/qt-5/qdir.html#tempPath this should work, unless$TMPDIR
is set to something stupid like/
?If so, this failure indeed is by design.
I cannot install MDL on my mac because it says cannot install on read-only storage.
Entirely different issue, see #296452: Extensions not Installing in Musescore 3.3 on macOS Catalina
Came up again in #301859: Downloading extensions via Resource Manager fails with "Cannot import extension: storage %1 is full"
To the OP: I tried opening access to system folders, via chmod -R 777 don't do that!