{"action":"created","issue":{"url":"https://api.github.com/repos/ahelsing/tickettest2/issues/48","labels_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/48/comments","events_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/48/events","html_url":"https://github.com/ahelsing/tickettest2/issues/48","id":76482100,"number":48,"title":"IOError Permission denied: '/tmp/sfa.log'","user":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ahelsing/tickettest2/labels/gcf","name":"gcf","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ahelsing/tickettest2/milestones/6","html_url":"https://github.com/ahelsing/tickettest2/milestones/1.4","labels_url":"https://api.github.com/repos/ahelsing/tickettest2/milestones/6/labels","id":1110875,"number":6,"title":"1.4","description":null,"creator":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-05-14T20:35:11Z","updated_at":"2015-05-14T20:35:16Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-05-14T20:35:16Z","updated_at":"2015-05-14T20:35:53Z","closed_at":null,"body":"When 2 (unix) users run gcf or omni code on the same machine, you can get errors like:\r\n\r\n```\r\n  File \"/home/lnevers/gcf-1.3.1-rc2/src/sfa/trust/credential.py\", line 44, in <module>\r\n     from sfa.util.sfalogging import logger\r\n  File \"/home/lnevers/gcf-1.3.1-rc2/src/sfa/util/sfalogging.py\", line 120, in <module>\r\n     info_logger = _SfaLogger(loggername='info', level=logging.INFO)\r\n  File \"/home/lnevers/gcf-1.3.1-rc2/src/sfa/util/sfalogging.py\", line 54, in __init__\r\n\r\nhandler=logging.handlers.RotatingFileHandler(tmplogfile,maxBytes=1000000, backupCount=5)\r\n  File \"/usr/lib/python2.6/logging/handlers.py\", line 107, in __init__\r\n     BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)\r\n  File \"/usr/lib/python2.6/logging/handlers.py\", line 59, in __init__\r\n     logging.FileHandler.__init__(self, filename, mode, encoding, delay)\r\n  File \"/usr/lib/python2.6/logging/__init__.py\", line 819, in __init__\r\n     StreamHandler.__init__(self, self._open())\r\n  File \"/usr/lib/python2.6/logging/__init__.py\", line 838, in _open\r\n     stream = open(self.baseFilename, self.mode)\r\n IOError: [13](Errno) Permission denied: '/tmp/sfa.log'\r\n\r\n lnevers@sendaria:~/gcf-1.3.1-rc2$ ls -l /tmp/sfa.log\r\n -rw-r--r-- 1 alice alice 0 Jul  6 14:49 /tmp/sfa.log\r\n```\r\n\n\n _Imported from trac ticket [#48](http://trac.gpolab.bbn.com/gcf/ticket/48),  created by ahelsing on 07-06-2011 at 16:43, last modified: 07-08-2011 at 11:34_\n"},"comment":{"url":"https://api.github.com/repos/ahelsing/tickettest2/issues/comments/102161274","html_url":"https://github.com/ahelsing/tickettest2/issues/48#issuecomment-102161274","issue_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/48","id":102161274,"user":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T20:35:53Z","updated_at":"2015-05-14T20:35:53Z","body":"Good general point.\r\n\r\nIn this case, the file is a log file in /tmp that is always empty. \r\nThe problem only arises if 2 users are sharing a computer. Unlikely.\r\nSo not so important.\r\n\n\n_Trac comment by ahelsing on 07-07-2011 at 11:18_\n"}}