nginx-ts-module
nginx-ts-module copied to clipboard
Can't start nginx with NFS mount, permission denied
I have a NFS mount on where I want to generate the hls and dash files. The directory is mounted as nobody:nobody and has sufficient permissions.
Nginx won't startup because it can't create the path in the ts_hls and ts_dash directive.
I suspect that it wants to set the uid/gid to that of the user defined in the nginx.conf. Can this be circumvented somehow?
Well, if nginx can't create directories then permissions are not sufficient. Top-level directories are created by nginx master, which is usually started as root. So no problem normally exists at this stage.