Fixed bug TC-1580 which fixes user's folder and file access permissions