fix fail with rights
Merge pull request #30 from Wuisch/document

fix fail with rights