Commits

Benoit Chesneau  committed e20bd09

fix permissions problems

  • Participants
  • Parent commits 84b0824

Comments (0)

Files changed (1)

File friendpaste/snippets/code.py

             fn = "%s/%s" % (path, id[4:])
             if not os.path.exists(path):
                 os.makedirs(path)
+                os.chmod(path, 0771)
                 self.id = id
                 self.filename = fn
                 found = True