If i setup in content type -> field manager -> audio field settings - path to file = blogs-audio/[user-raw]
After audio file upload i see blogs-audio and user folder with no group and others access rights only owner have access to folders (chmod flags 700):
drwx------ 5 fantasy-portal fantasy-portal 120 Sep 17 13:02 .
drwxrwxr-x 45 fantasy-portal fantasy-portal 4232 Sep 17 13:02 ..
drwx------ 2 fantasy-portal fantasy-portal 48 Sep 17 13:02 amon
drwx------ 2 fantasy-portal fantasy-portal 48 Sep 17 13:02 jgs
drwx------ 2 fantasy-portal fantasy-portal 48 Sep 17 13:02 mascher
fantasy-portal.ru/www/sites/default/files/blogs-audio $

I look to filefield module and allways see 0755 flags on mkdir functions...

Comments

tamerzg’s picture

Status: Active » Postponed (maintainer needs more info)

File uploads and folders are managed by FileField, AudioField works above it. I couldn't reproduce it. Anyone else with similar problem?

Mascher’s picture

I think filefild programmers must create config options for module, where site admin can select mask of file and folder creation... Module create files and folders with default access flags? Where i can look this default file and folder creation access flags? (chmod flags)

tamerzg’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Unaware of any such code. Audiofield doesn't deal with file system directly and therefore I am closing this bug.