You can put this in a script and then change the permissions to make it executable by all users, so that others on the system can use it, too, as in Listing 3.
您可以将它放到一个脚本中,然后更改其权限,以使得所有的用户都可以执行它,以便系统中其他的用户也可以使用它,如清单3所示。
The only other way to insure that unwanted permissions do not creep in is to dump them and compare them to your script.
确保不会出现不希望的权限设置的唯一其他方法是进行转储并与您的脚本进行比较。
应用推荐