Mercurial > ufpm
view ufpm.1 @ 2:9ecf26c73fb8
Doc enhancment: updated to current.
author | John Schneiderman <JohnMS@CodeGNU.com> |
---|---|
date | Wed, 10 Mar 2010 07:08:21 +0000 |
parents | c321d56f779c |
children |
line wrap: on
line source
.TH "ufpm" "1" "09 Mar 2010" "John Schneiderman" "ufpm: File Permissions Made Simple" .SH NAME ufpm \- A Bash script to set uniform permissions. .SH SYNOPSIS .B ufpm [ .I options... ] .SH DESCRIPTION .B ufpm will set uniform permissions of all the users home files and directories. The exact permissions are determed for each file based on its file type. The default permissions are: regular files will have their permissions set to 640; regular file backups will have their permissions set to 440; regular directories will have their permissions set to 750; hidden directories will have their permissions set to 700; script files will have their permissions set to 740; and the files in the .ssh folder will have their permissions set to 600. .SH "EXIT STATUS" The script returns 0 on a success. A 1 if it fails during the process. A 2 if it fails because something is missing for the script to work. .SH OPTIONS .B e \- makes all ELF files executable by their owner. .PP .B g .I group \- changes all files and directories to have a group owner of group. .PP .B h \- gives a limited overview of the available options. .PP .B s \- enables silent mode. Directories are not displayed. .PP .B u .I user \- changes all files and directories to have an owner of user. .PP .B v \- gives the version information about ufpm. .PP .B V \- enables verbose mode. All files that are changed are displayed. .SH FILES /usr/bin/ufpm .SH VERSION 1.5.0. .SH BUGS and REQUESTS Please use the reporting tool on .B http://bugs.codegnu.com , and follow the instructions from there. .SH COPYRIGHT Copyright (C) 2006 - 2010 John Schneiderman .PP This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.