<!ELEMENT permissions (option?, name+)> <!ATTLIST permissions base CDATA #IMPLIED mode CDATA #REQUIRED> |
This element occurs in the elements alfs, else, stage. and then
This element allows to change the permissions of a (set of) file(s) or directory(ies).
The sub-element(s) name contain the name(s) of the files whose permission is to be modified.
The attribute base gives the name of the directory in which the command will be performed
The attribute mode gives the new access mode, as used in the command chmod.
The only option supported is "recursive"
<permissions mode="755"> <name>/usr/bin/lex</name> </permissions> |
The equivalent bash script is :
echo Changing permissions of /usr/bin/lex to 755 chmod 755 /usr/bin/lex |