I have a Java project and I want to change it in intellij, but I can’t do it because of this read-only file or the file is not writable , so how can I change it and execute it?
To switch a read-only attribute of a file
Open the file in the editor or select it in the Project tool window. Perform one of the following actions:
From the main menu, select File | Make File Read Only or File | Make the file available.
Click the lock icon in the status bar.
IntelliJ IDEA | Writable, , , , . root ( : ls -hal /path/to/File.java)
ls -hal /path/to/File.java
- , - chown :
sudo chown yourusername /path/to/File.java,
sudo chown yourusername /path/to/File.java
yourusername - , Intellij IDEA.
yourusername
Source: https://habr.com/ru/post/1678179/More articles:R: Use dplyr :: mutate / dplyr :: to transmute a function that acts on the entire line - rIf you assign a property to an object, can you change it when the object changes? - javascriptHow to create a sticky table header? - htmlDelete sub-array contains common elements - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1678178/how-to-properly-specify-jcenter-repository-in-maven-config&usg=ALkJrhjHXLsyEhzp4iZLmPPuDUoPAx8VtQRemove rows from the data frame using row indices, where row indices can be a zero-length vector - rHow to prevent Facebook Pixel from tracking the same transaction twice? - facebook-javascript-sdkhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1678182/safe-to-store-access-token-inside-asyncstorage&usg=ALkJrhhJbMm1pZolXMpRYGS3LGmQcaaZ-ghttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1678183/typekit-font-converts-ss-to-ss&usg=ALkJrhjZUsixooCF8v91IF6J4NMK1GZ7hgWhat is isomorphism and homomorphism - scalaAll Articles