Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-25-2009, 09:41 AM   #1
Registered: Jul 2008
Posts: 32

Rep: Reputation: 15
how to preserve file permissions using mkisofs utility


I am using the mkisofs utility to burn a CD-ROM in Red hat linus 5.3 version

I have used mkisofs to burn the CD-ROM. But indeed it didnt preserve the existing file permissions

"-r" option when used make it publicly readable.

Is there any option in mkisofs that preserves the file permission as it is?

Thanks in advance!

Old 04-25-2009, 10:13 AM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (
Posts: 1,900

Rep: Reputation: 69
What these permissions would mean?

Write permissions are useless - CDROM is not random-rewrite medium, and read permissions are useless, too - you'd better suppose everyone has at least one box with root access.. So ISO FS format just does not include full POSIX permissions.

If you want to use it as a backup, just tar and gzip the files. You'll save some space and even some time (less data to burn beats more processing).
Old 04-25-2009, 12:37 PM   #3
Registered: Jul 2008
Posts: 32

Original Poster
Rep: Reputation: 15
The files have the permission "rw-rw-rw"
After i burn them in the CD-ROM, i have the permissions as "r--r--r--"

Neither i would like have to have the same permission on my CD too..
Old 04-25-2009, 12:48 PM   #4
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Again, it's not possible. Tar the files at least, that will preserve permissions, gzip, bzip, etc is optional.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mkisofs having problems with file names binarybob0001 Linux - Software 3 04-22-2006 09:10 PM
Mount DVD While Preserve Upper Case File Names xptools Linux - Software 2 12-12-2005 10:18 AM
Heeelp! How to preserve file date modification attribute Slackovado Slackware 1 03-30-2005 09:36 AM
mkisofs utility lowlifeish Linux - Software 2 02-25-2005 03:04 PM
Preserve file permissions when copying from NTFS to a Samba share? somedude Linux - Software 4 06-11-2004 09:20 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration