Getting this error when i set up a new user on linux and try to run gam under the new user.
i changed the Permissions and Group ownership from Root to the new users and still no go:
it still works fine under Root, but i would prefer not to use Root. Ideas?
Traceback (most recent call last):
File "/opt/gam/gam-test/gam.py", line 7172, in <module>
doPrintUsers()
File "/opt/gam/gam-test/gam.py", line 5355, in doPrintUsers
cd = buildGAPIObject(u'directory')
File "/opt/gam/gam-test/gam.py", line 535, in buildGAPIObject
service = apiclient.discovery.build(api, version, http=http)
File "/opt/gam/gam-test/oauth2client/util.py", line 132, in positional_wrapper
return wrapped(*args, **kwargs)
File "/opt/gam/gam-test/apiclient/discovery.py", line 196, in build
resp, content = http.request(requested_url)
File "/opt/gam/gam-test/oauth2client/util.py", line 132, in positional_wrapper
return wrapped(*args, **kwargs)
File "/opt/gam/gam-test/oauth2client/client.py", line 490, in new_request
redirections, connection_type)
File "/opt/gam/gam-test/httplib2/__init__.py", line 1553, in request
_updateCache(headers, merged_response, content, self.cache, cachekey)
File "/opt/gam/gam-test/httplib2/__init__.py", line 448, in _updateCache
cache.set(cachekey, text)
File "/opt/gam/gam-test/httplib2/__init__.py", line 715, in set
f = file(cacheFullPath, "wb")
IOError: [Errno 13] Permission denied: u'/opt/gam/gam-test/gamcache/
www.googleapis.com,discovery,v1,apis,admin,directory_v1,rest,prettyPrint=false,204b160b95cee4cb5da6ae1de8d3c4e9'