SHA256
1
0
forked from pool/permissions
OBS User unknown 2008-04-21 00:03:43 +00:00 committed by Git OBS Bridge
parent dd00be3745
commit d1eaa9c3d6
4 changed files with 28 additions and 13 deletions

View File

@ -1,11 +1,9 @@
.\" .\"
.\" S.u.S.E. man page for chkstat .\" SUSE man page for chkstat
.\" Copyright (c) 2000-2003 SuSE Linux AG, Nuernberg, Germany.
.\" please send bugfixes or comments via http://www.suse.de/feedback
.\" .\"
.\" Author: Ruediger Oertel .\" Author: Ruediger Oertel
.\" .\"
.TH CHKSTAT 8 "Jul 9, 1998" "Version 0.1" "Tool to check and set file permissions" .TH CHKSTAT 8 "2008-04-17" "SUSE Linux" "Tool to check and set file permissions"
.\" .\"
.UC 8 .UC 8
.SH NAME .SH NAME
@ -18,10 +16,11 @@ chkstat \- Tool to check and set file permissions
.RB \|[\| \-\-noheader ] .RB \|[\| \-\-noheader ]
.RB \|[\|\|[\| \-\-examine\ file\ ] ... ] .RB \|[\|\|[\| \-\-examine\ file\ ] ... ]
.RB \|[\|\|[\| \-\-files\ filelist\ ] ... ] .RB \|[\|\|[\| \-\-files\ filelist\ ] ... ]
.RB \|[\|\|[\| \-\-root\ directory\ ] ... ]
.B permission-file ... .B permission-file ...
.\" .\"
.SH DESCRIPTION .SH DESCRIPTION
The perl script The program
.I /usr/bin/chkstat .I /usr/bin/chkstat
is a tool to check and set file permissions. is a tool to check and set file permissions.
.PP .PP
@ -46,6 +45,9 @@ Check permissions for this file and not all files listed in the permissions file
Check permissions for the files listed in Check permissions for the files listed in
.IR filelist .IR filelist
and not for all files listed in the permissions files. and not for all files listed in the permissions files.
.TP
.IR \-\-root\ directory
Prefix the files given in the permissions files by this directory.
.PP .PP
.SH EXAMPLE .SH EXAMPLE
.PP .PP
@ -67,8 +69,10 @@ and wildcards are not supported for the filepath. Lines starting
with '#' and empty lines are treated as comments. with '#' and empty lines are treated as comments.
.SH COPYRIGHT .SH COPYRIGHT
1996-2003 SuSE Linux AG, Nuernberg, Germany. 1996-2003 SuSE Linux AG, Nuernberg, Germany.
.SH AUTHOR
Reinhold Sojer (http:/www.suse.de/feedback) 2008 SUSE LINUX Products GmbH
.PP .SH AUTHORS
Useful changes and additions by Tobias Burnus <burnus@gmx.de> Reinhold Sojer, Ruediger Oertel, Michael Schroeder
.PP
Useful changes and additions by Tobias Burnus

View File

@ -286,6 +286,8 @@ main(int argc, char **argv)
while (argc > 1) while (argc > 1)
{ {
opt = argv[1]; opt = argv[1];
if (!strcmp(opt, "--"))
break;
if (*opt == '-' && opt[1] == '-') if (*opt == '-' && opt[1] == '-')
opt++; opt++;
if (!strcmp(opt, "-s") || !strcmp(opt, "-set")) if (!strcmp(opt, "-s") || !strcmp(opt, "-set"))

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 17 09:45:03 CEST 2008 - lnussel@suse.de
- update chkstat manpage and support '--' argument for chkstat
(bnc#57438)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 12 13:09:51 CET 2008 - lnussel@suse.de Wed Mar 12 13:09:51 CET 2008 - lnussel@suse.de

View File

@ -1,5 +1,5 @@
# #
# spec file for package permissions (Version 2008.3.12) # spec file for package permissions (Version 2008.4.21)
# #
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
@ -15,7 +15,7 @@ Name: permissions
License: GPL v2 or later License: GPL v2 or later
Group: Productivity/Security Group: Productivity/Security
AutoReqProv: on AutoReqProv: on
Version: 2008.3.12 Version: 2008.4.21
Release: 1 Release: 1
Provides: aaa_base:/etc/permissions Provides: aaa_base:/etc/permissions
Requires: /sbin/SuSEconfig Requires: /sbin/SuSEconfig
@ -84,6 +84,9 @@ install -m 644 %{SOURCE9} $RPM_BUILD_ROOT/etc
/var/adm/fillup-templates/sysconfig.security /var/adm/fillup-templates/sysconfig.security
%changelog %changelog
* Thu Apr 17 2008 lnussel@suse.de
- update chkstat manpage and support '--' argument for chkstat
(bnc#57438)
* Wed Mar 12 2008 lnussel@suse.de * Wed Mar 12 2008 lnussel@suse.de
- new PolicyKit permissions (bnc#295341) - new PolicyKit permissions (bnc#295341)
- remove obsolete entries for scmxx and zapping - remove obsolete entries for scmxx and zapping
@ -158,7 +161,7 @@ install -m 644 %{SOURCE9} $RPM_BUILD_ROOT/etc
- add /usr/bin/fusermount (#133657) - add /usr/bin/fusermount (#133657)
* Mon Nov 21 2005 lnussel@suse.de * Mon Nov 21 2005 lnussel@suse.de
- remove Xwrapper, it's a symlink nowadays (#134611) - remove Xwrapper, it's a symlink nowadays (#134611)
* Wed Nov 02 2005 dmueller@suse.de * Thu Nov 03 2005 dmueller@suse.de
- don't build as root - don't build as root
* Thu Oct 13 2005 meissner@suse.de * Thu Oct 13 2005 meissner@suse.de
- nici moved to /var/opt/novell/... - nici moved to /var/opt/novell/...
@ -303,7 +306,7 @@ install -m 644 %{SOURCE9} $RPM_BUILD_ROOT/etc
* Thu Sep 18 2003 kukuk@suse.de * Thu Sep 18 2003 kukuk@suse.de
- Fix group of straps, popauth and ntping - Fix group of straps, popauth and ntping
- Remove some GNOME games which do not need special rights anymore - Remove some GNOME games which do not need special rights anymore
* Tue Sep 16 2003 kukuk@suse.de * Wed Sep 17 2003 kukuk@suse.de
- permissions.easy: change group of bing, vboxbeep, plpnfsd to - permissions.easy: change group of bing, vboxbeep, plpnfsd to
trusted, majordomo/wrapper to daemon trusted, majordomo/wrapper to daemon
* Tue Sep 16 2003 kukuk@suse.de * Tue Sep 16 2003 kukuk@suse.de