Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Useful Commands
(view source)
Revision as of 23:22, 10 January 2014
489 bytes added
,
23:22, 10 January 2014
→RPM's
Line 192:
Line 192:
|-
|-
| rpm -qf <filename> || reports what package a file belongs to
| rpm -qf <filename> || reports what package a file belongs to
+
|-
+
| rpm -qV <packagename> || reports if permission and ownership are OK
+
|-
+
| rpm --setugids <packagename> || set right group owner to rpm
+
|-
+
| rpm --setperms <packagename> || set right permissions to rpm
|}
|}
+
+
===Restore permissions an ownership===
+
If you want to restore all permissions and right ownership of arpm, you can do this in a root terminal. See [[bugzilla:6851#c15]]
+
for f in $(rpm -qa); do echo $f; rpm --setugids $f; done
+
for f in $(rpm -qa); do echo $f; rpm --setperms $f; done
===YUM'ing and repositories===
===YUM'ing and repositories===
Stephdl
Administrators
5,576
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search