Specifying file permission for audio records.
Hello. I want audio files recorded from callcenter to be available to a web server. Both webserver and FS runs on same server. The storage directory for holding recorded audio files is on the same server. FS run in unprivileged mode, and the directory for recorded audio files have permission 775. Webserver runs unprivileged under another user. The problem is that created recorded audio files by FS get the 770 permission. How to change this behavior, so permission of created files will inherit directorys permision? -- Mimiko desu.
On Sat, Dec 29, 2012 at 11:51 AM, Mimiko <vbvbrj@gmail.com> wrote:
I want audio files recorded from callcenter to be available to a web server. Both webserver and FS runs on same server. The storage directory for holding recorded audio files is on the same server. FS run in unprivileged mode, and the directory for recorded audio files have permission 775. Webserver runs unprivileged under another user.
Something like this? http://en.wikipedia.org/wiki/Setuid#setuid_and_setgid_on_directories Gabe
On 30.12.2012 02:30, Gabriel Gunderson wrote:
On Sat, Dec 29, 2012 at 11:51 AM, Mimiko <vbvbrj@gmail.com> wrote:
I want audio files recorded from callcenter to be available to a web server. Both webserver and FS runs on same server. The storage directory for holding recorded audio files is on the same server. FS run in unprivileged mode, and the directory for recorded audio files have permission 775. Webserver runs unprivileged under another user.
Something like this?
http://en.wikipedia.org/wiki/Setuid#setuid_and_setgid_on_directories
Well I looked and tried finally. It not quite what I need. I need the everyone permission to be inherited. Not the group ID, but permission set on directory. For example directory have this permission: 777. When FS writes a file to that directory, permission of that file became 750. And is not inherited from parent. -- Mimiko desu.
participants (2)
-
Gabriel Gunderson
-
Mimiko