can – Query filesystem permissions
Find a file
2026-02-09 23:55:28 +01:00
.gitignore Recreate repo 2026-02-05 22:05:32 +01:00
action.c Recreate repo 2026-02-05 22:05:32 +01:00
action.h Recreate repo 2026-02-05 22:05:32 +01:00
can.1 can.c, can.1: remove long flags from synopsis 2026-02-09 23:55:28 +01:00
can.c can.c, can.1: remove long flags from synopsis 2026-02-09 23:55:28 +01:00
COPYING Recreate repo 2026-02-05 22:05:32 +01:00
GNUmakefile Recreate repo 2026-02-05 22:05:32 +01:00
group.c Recreate repo 2026-02-05 22:05:32 +01:00
group.h Recreate repo 2026-02-05 22:05:32 +01:00
README.org Recreate repo 2026-02-05 22:05:32 +01:00
user.c Recreate repo 2026-02-05 22:05:32 +01:00
user.h Recreate repo 2026-02-05 22:05:32 +01:00

Installing

Run gmake to build, then gmake install to install. The Makefile tries to autodetect the platform, but one can be passed with PLATFORM=... to override. Tested platforms:

  • FreeBSD
  • Linux (Gentoo)
  • NetBSD
  • OpenBSD
  • SunOS (OpenIndiana)

Dependencies

Build time

Run time

Usage

can [-GghqU] [--gid] [--group] [--help] [--quiet] [--uid] user action path

See cwm(1) for details.

TODOs

TODO Test compatibility with other *nix systems

License

can is licensed under the GNU General Public License version 3 only.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, exclusively version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.