~ruvolof/cvmfs-test/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
####################
# This help file contains all help entry of commands bundled in the shell.
# It's read when help command is invoked but the daemon is not running.
####################

Short:Usage: command <options>
Short:
Short:Shell commands:
Short:  help (h)	Print this help and exit.
Short:  exit (q)	Exit from the shell.
Short:  fixperm	Fix permission for files and directories.
Short:  restart	Restart the daemon.
Short:  setup		Setup the environment for the daemon.
Short:  start		Start the daemon.
Short:  status	Check whether the daemon is running.
Short:

setup:
setup:setup
setup:	Setup the environment for the daemon.
setup:	Usage: setup
setup:
setup:	This command will do:
setup:	  1) Compiles the C wrapper to run the daemon with setuid.
setup:	  2) Creates a new user called 'cvmfs-test'.
setup:	  3) Chown the wrapper to the new user.
setup:	  4) Sets the setuid bit on the wrapper.
setup:	  5) Creates /var/log/cvmfs-test.
setup:	  6) Assigns the log folder to cvmfs-test user. (PERM 777)
setup:	  7) Adds cvmfs-test to the /etc/sudoers file.
setup:
setup:	For 2, 3, 4, 5, 6 and 7 you will need to be in the sudoers file.
setup:

fixperm:
fixperm:fixperm
fixperm:	Fix permission for files and directories.
fixperm:	Usage: fixperm
fixperm:	
fixperm:	This command will execute the next commands:
fixperm:	  find -type f -name "*.pm" -exec chmod 644 {} +
fixperm:	  find -type f -name "*.pl" -exec chmod 755 {} +
fixperm:	  find -type d -exec chmod 755 {} +
fixperm:	  find -type f -name "*help" -exec chmod 644 {} +
fixperm:	  find -type f -name "*.sh" -exec chmod 755 {} +
fixperm:

start:
start:start
start:	Start the daemon.
start:	Usage: start <options>
start:
start:	Available options:
start:	  --stdout STDOUT	Redirect daemon output on STDOUT.
start:				Default to /var/log/cvmfs-test/daemon.output.
start:	  --stderr STDERR	Redirect daemon error on STDERR.
start:				Default to /var/log/cvmfs-test/daemon.error.
start:

restart:
restart:restart
restart:	Restart the daemon.
restart:	Usage: restart <options>
restart:
restart:	Available options are the same of the 'start' command.
restart: