After last reload nginx i have error nginx: [emerg] chown("/gypost/uploads/00", 1001) failed (1: Operation not permitted)
192.168.0.91:/gypost/mail/u
247G 17G 218G 7% /gypost/uploads
it's a mounted directory
exports for this client:
/gypost/mail/u 192.168.0.93(rw,insecure,nohide,sync,no_subtree_check,anonuid=1003,anongid=33,no_all_squash)
fstab in client:
192.168.0.91:/gypost/mail/u /gypost/uploads nfs rw,auto 1 3
In location nginx block:
upload_store /gypost/uploads/00;
A few days ago, it was working correctly. Where problem?
I found the problem, why nginx could not chown. In mount point was several files with permissions 500 (do not know where they came from). But why mounting occur under wrong user, i did not understand (but it does not matter for me).
0 Answers