If a user has a home directory that has the following permissions:
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: fd00h/64768d Inode: 5472824 Links: 2
Access: (0700/drwx------) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2007-12-04 13:26:29.000000000 +0100
Modify: 2007-12-03 17:06:53.000000000 +0100
Change: 2007-12-03 17:06:53.000000000 +0100
..the session will fail, with an error message in xinit.log:
Exception while starting child!
Traceback (most recent call last):
File "/opt/thinlinc/modules/thinlinc/vsm/sessionstart.py", line 47, in start
File "/opt/thinlinc/modules/thinlinc/vsm/sessionstart.py", line 340, in start_xvnc
OSError: [Errno 13] Permission denied: '/home/user0'
This could be handled in a nicer way. Some possible actions:
*) If create_homedir is True, we could fix the permissions. On the other hand, if an administrator has forbidden a user access to her own home directory, perhaps we should respect that and..
*) Just give an error message in the agent log and return with error to VSM Server.