Welcome! Log In Create A New Profile

Advanced

Permissions not working for upload module

July 09, 2013 07:37AM
I've recently created an RPM for Cent-Os 4 for NGINX 1.2.6 which includes the `nginx_upload_module version 2.2.0`

When the files get uploaded they don't have correct permissions.

They have the default user `rw permission`

However included the `upload_store_access` with the correct permissions

See my config.

location /upload {
dav_methods PUT;
root /opt/glassfish/domains/domain1/logs/uploadStore/;
upload_store /opt/glassfish/domains/domain1/logs/uploadStore 1;
upload_store_access all:rw;
upload_set_form_field $upload_field_name.name $arg_filename;
upload_set_form_field $upload_field_name.content "$upload_content_type";
upload_set_form_field $upload_field_name.path "$upload_tmp_path";
allow all;
}

The files get output to `/opt/glassfish/domains/domain1/logs/uploadStore/upload/`

Is this correct? I would expect them to just go to `/opt/glassfish/domains/domain1/logs/uploadStore/`

I need to get the output files to be readable by every user.
Subject Author Posted

Permissions not working for upload module

dlynam July 09, 2013 07:37AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 243
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready