On Tue, Feb 1, 2011 at 1:01 PM, Lukasz Szybalski <[email protected]> wrote:
> I have mounted a folder inside my "controllers" where I access files
> but when I start tg2 I get this error message.
> The folder is mounted with cifs using smbfs.
> Why is routs stopping my whole TG2 app?

Somewhere along the way, it's trying to list a directory:

> line 490 in find_controllers
>  for fname in os.listdir(dirname):
> OSError: [Errno 13] Permission denied:
> '/home/xyz/xyz/xyz/controllers/mountedfolder/System Volume
> Information'

Since TG2 establishes the list of controllers at startup, this tells
me that the startup procedures are failing. The reason they're failing
is because the user that is listing those directories you are serving
do not have permissions to access the directories. Without knowing
your exact configuration, it's difficult at best, but the end result
is this:

The user account that is responsible for serving the directory must
have read (and, under unix, execute) permissions on all directories it
could access. If it doesn't, it will fail to start.

-- 
Michael J. Pedersen
My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171
          Yahoo/pedermj2002, MSN/[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to