nginx-ts-module icon indicating copy to clipboard operation
nginx-ts-module copied to clipboard

Can't start nginx with NFS mount, permission denied

Open ghost opened this issue 8 years ago • 1 comments

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?

ghost avatar Oct 21 '17 08:10 ghost

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.

arut avatar Nov 30 '17 20:11 arut