Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the common command dpkg-statoverride in Linux

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about how to use the common command dpkg-statoverride in Linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Linux common command dpkg-statoverride command is a utility to rewrite the status of software packages under Debian linux. The dpkg-statoverride command has three basic functions, that is, add, delete, and display rewrite list.

Syntax format dpkg-statoverride [parameters]

Common parameters:-add add an overwrite to the file-remove delete an overwrite for the file-- list displays a list of all overwrites-- update if the file exists, immediately perform an overwrite operation instance to list the override entries in the current database

Deng@itcast:~/test$ dpkg-statoverride-- list geoclue geoclue 755 / var/lib/geoclue root lp 775 / var/log/hp/tmp root crontab 2755 / usr/bin/crontab root mlocate 2755 / usr/bin/mlocate root ssl-cert 2755 / etc/ssl/private hplip root 755 / var/run/hplip root messagebus 4754 / usr/lib/dbus-1.0/dbus-daemon-launch-helper deng@itcast:~/test$ modify the permission attributes of a folder

Deng@itcast:~/test$ dpkg-statoverride-- update-- add openssl openssl 751 / var/lib/openssl forces the permission attribute of a folder to be modified

Deng@itcast:~/test$ dpkg-statoverride-- force-- update-- add openssl openssl 751 / var/lib/openssl deletes files from the database

Deng@itcast:~/test$ dpkg-statoverride-remove / usr/bin/tree Thank you for your reading! This is the end of the article on "how to use dpkg-statoverride in Linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report