Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 3564  / 3 Years ago, mon, november 15, 2021, 2:58:45

I created a folder and I did:



chmod 777 anotherFolder/


I ran:



sudo mount -o loop folder/isoImage.iso anotherFolder/


The permissions of anotherFolder/ changed to "Read Only" and I can not chmod it back to 777, even with sudo. How can I chmod it to 777 ? It outputs me: Read Only File System.



I checked during 2 days in several forums but in vain :(


More From » permissions

 Answers
0

ISO file is special file format called ISO 9660. Here is quote from wikipedia




Since ISO 9660 is by design a read-only, pre-mastered file system, all
the data has to be written in one go or "session" to the medium.




So as a file system is read-only, you cannot mount it with write access.



But you can recreate ISO file, if you want.




  1. You should mount your *.iso file somewhere

  2. Then copy it to some temp folder

  3. Using mkisofs util create new ISO file.



Here is a little example:



sudo mount -o loop folder/isoImage.iso anotherFolder/
mkdir new_copy_of_iso
cp -R anotherFolder/* new_copy_of_iso/
umount anotherFolder
mkisofs -R -o name_new.iso new_copy_of_iso

[#26260] Tuesday, November 16, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
assionortly

Total Points: 423
Total Questions: 121
Total Answers: 115

Location: Chad
Member since Wed, Sep 30, 2020
4 Years ago
;