maown

2013-07-14 18:22 UTC
  • Xyne

Metadata

Description:

Monitor a shared directory and automatically adjust file ownership and permissions.

Latest Version:

2012.12.24.1

Architecture:

  • i686
  • x86_64

Arch Repositories:

  • [xyne-i686]
  • [xyne-x86_64]

AUR ID:

59611

Arch Forum ID:

141498

Tags:

Deprecation

Maown is deprecated. The same functionality with much more versatility is provided by Autochown.

About

See the maown man page below.

Maownd

The package includes a configurable daemon to manage multiple directories for different groups. See the maownd.conf man page below.

FAQ

Why don't you just use ACLs?

ACLs do not change the owner of files in a shared directory, which is what I need. ACLs do not enforce permissions either.

Why did you name it "maown"?

It forcibly takes ownership of items for the supposed good of the group. It's a bit of a communist, so I thought of Mao. It can also be read as "my own", so I went with that. Other names included "grown" for "group own" and "kleptown" because it's a file kleptomaniac.

MAOWN(1)

Name

maown - monitor a shared directory and automatically adjust file ownership and permissions

Synopsis

maown [options] <user> <group> <directory> [<directory>...]

Description

maown is a tool for group collaboration. It recursively monitors shared directories with inotify and responds to events that affect file ownership and permissions. File ownership is changed to <user>:<group> and group file permissions are made set to match the user file permissions.

This ensures that all members in the group have the same permissions to the file as the owner while also ensuring that the designated owner can manage the entire directory tree without restrictions.

maown can be used in combination with access control lists and other methods for sharing directories between users.

Note: maown must be run with superuser permissions to be able to chown files.

MAOWND.CONF(5)

Name

maownd.conf - maown daemon configuration file

Synopsis

maown.conf

Description

The configuration file is read by the daemon to launch instances of maown automatically.

File Format

Each line in the file is passed to a new instance of maown. The line format is

<user> <group> <directory> [<directory>...]

A single line should be used for each user and group combination.

Empty lines and lines beginning with "#" are ignored.

Tracking Instances

Instances are launched in daemon mode and configured to write their PIDs to /etc/maownd.d. These are killed by the daemon when it is stopped.

Help Message

$ maown -h

maown 2012.12.24
usage: maown [options] <user> <group> <directory> [<directory>...]

options:
  -d: fork process to background and print PID
  -f <path>: write PID to path
  -h: display this message and exit

TODO

TODO

  • add support for excluding subdirectories (glob patterns | regexes?)
  • add option to recursively change permissions and exit instead of watching
Contact
echo xyne.archlinux.ca | sed 's/\./@/'
Feeds
Blog News
Validation
XHTML 1.0 Strict CSS level 3 Atom 1.0