~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/man/faq.rst

  • Committer: David Coles
  • Date: 2009-12-10 05:06:10 UTC
  • Revision ID: coles.david@gmail.com-20091210050610-vls2dc5rxzp77e17
Update FAQ to match more informative 'UnsafeJail' error message

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
The default is :file:`/var/lib/ivle/sessions`.
64
64
 
65
65
 
66
 
... ivle-buildjail throw an UnsafeJail exception
67
 
------------------------------------------------
 
66
... ivle-buildjail fail with 'Error: Jail contains world writable path'
 
67
-----------------------------------------------------------------------
68
68
 
69
69
When running :program:`ivle-buildjail` you may occasionally see an error 
70
70
like::
71
71
 
72
 
    Traceback (most recent call last):
73
 
      File "bin/ivle-buildjail", line 158, in <module>
74
 
        raise UnsafeJail(d)
75
 
    __main__.UnsafeJail: /var/lib/ivle/jails/__base_build__/tmp/.ICE-unix
 
72
    Error: Jail contains world writable path: 
 
73
    '/var/lib/ivle/jails/__base_build__/tmp/.ICE-unix'.
 
74
    This is a security vulnerability as jail template contents are shared 
 
75
    between users. Please either make this path world unwriteable or remove it 
 
76
    from the jail.
76
77
 
77
78
This means that writable files exist in the Jail template. If left in the jail 
78
79
then users would be able to edit a file that is shared between all jail 
79
80
instances. The usual solution is just to remove these file from the jail build 
80
81
directory and try again.
81
82
 
 
83
At present it is not possible to include world writable files outside a user's 
 
84
home directory so if this file is deliberately included you will need to 
 
85
ensure that it is not world writeable.
 
86
 
82
87
 
83
88
... the console return 'Console Restart' messages
84
89
-------------------------------------------------