Rock Ridge: Changing Permissions with GEAR PRO Mastering Edition

From GEAR Software Knowledgebase

(Difference between revisions)
Jump to: navigation, search

Revision as of 20:42, 17 May 2006

When creating CDs with Rock Ridge extensions on GEAR PRO Mastering for Windows, only files with the EXE and BAT extensions have their execute permission bits set.

Since Windows systems do not have the read, write, execute permission, GEAR Pro Mastering Edition for Windows makes use of some basic rules when determining what permission bits to set in the Rock Ridge extensions.

As a result, only files with EXE and BAT extensions will have the execute permission bits set. UNIX script files usually do not have these extensions and therefore do not have their execute permission bits set.

Use the CHMOD batch file command to change the permission bit settings of files loaded in an image.

The format for the command is as follows: CHMOD [-r] |

The -r option allows you to change the permissions for all files and directories recursively from the specified . Wild cards can be used in the file_spec.

This batch file command can be run from either the File|Run Batch Command menu option or from a GEAR batch file.

example: CHMOD 555 \bin\gear will result in the file gear receiving the following permissions: -r-xr-xr-x

Personal tools
wiki navigation