Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117756645
rpm-file-permissions
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
436 B
Referenced Files
None
Subscribers
None
rpm-file-permissions
View Options
#!/bin/sh
CHECK_DIRS
=
"/ /opt /etc /usr /usr/bin /usr/lib /usr/lib64 /usr/share /usr/libexec"
rpm_format
=
"[%{FILESTATES:fstate} %7{FILEMODES:octal} %{FILENAMES:shescape}\n]"
rpm -q --qf
"
$rpm_format
"
filesystem
|
while
read
line
do
eval
"set --
$line
"
case
$1
in
normal
)
;;
*
)
continue
;;
esac
case
"
$CHECK_DIRS
"
in
*
"
$3
"
*
)
chmod
"
${
2
: -4
}
"
"
$3
"
;;
esac
done
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, Apr 4, 8:47 AM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18823315
Default Alt Text
rpm-file-permissions (436 B)
Attached To
Mode
rKOLABSTWOICORE kolab-s2i-core
Attached
Detach File
Event Timeline