Use :shescape for --setugids, --setperms
CVS patchset: 1650 CVS date: 1997/05/20 16:19:45
This commit is contained in:
parent
334697c68f
commit
f770c2a33d
4
rpmpopt
4
rpmpopt
|
@ -9,11 +9,11 @@ postuninstall script: %{RPMTAG_POSTUN}\
|
|||
verify script:\
|
||||
%{VERIFYSCRIPT}\n'
|
||||
|
||||
rpm alias --setperms -q --qf '[%{FILEMODES:octal} %{FILENAMES}\n]' \
|
||||
rpm alias --setperms -q --qf '[%{FILEMODES:octal} %{FILENAMES:shescape}\n]' \
|
||||
--pipe "sed 's/^.../chmod /' | sh"
|
||||
|
||||
rpm alias --setugids -q --qf \
|
||||
'[chown %{FILEUSERNAME}:%{FILEGROUPNAME} %{FILENAMES}\n]' \
|
||||
'[chown %{FILEUSERNAME:shescape}:%{FILEGROUPNAME:shescape} %{FILENAMES:shescape}\n]' \
|
||||
--pipe "sh"
|
||||
|
||||
rpm alias --requires --qf \
|
||||
|
|
Loading…
Reference in New Issue