NTFS rights not inherited on files uploaded

Phoca Download - download manager
viry
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 25 Feb 2013, 16:15

NTFS rights not inherited on files uploaded

Post by viry »

--------------------------------------------
2008 r2 (V6.1 7601 Service Pack 1) + IIS 7 (version 7.5.7600.16385)
PHP 5.3.13
MYSQL 5.5.25
Joomla! 2.5.6
Phoca Download version: 2.1.8
--------------------------------------------
Hello,

When a user uploads a file, others can download it.
Even opening all rights category.

After a long search, I discovered that it is a blockage NTFS rights (caused by intranet NTLM browser authentication).

Phoca Download saves files uploaded in a folder (subfolder in "C: \ inetpub \ wwwroot \ phocadownload \ userupload \") with the following NTFS permissions:
- System: total control
- Administrators: full control
- The user who uploaded: total control

Other users are not in the list NTFS permissions, they have no rights by default.
So they can not download. If I change the NTFS right, everything works (group "Everyone" with full access).

I controlled:
The parent folder has the correct permissions (group "Everyone" with full access).
If I create this file directly to a file (on the server without using phoca) rights are properly inherited.
If I change a single law on downloaded file phoca, inheritance is restored (with rights inherited correctly).

:idea: How to set NTFS permissions for that are properly inherited the files uploaded?

Thank you in advance
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: NTFS rights not inherited on files uploaded

Post by Jan »

Hi, unfortuntelly, Phoca Download does not manage rights on files and folders, Folders and Files are created by Joomla! JFile and JFolder methods, so I think your Joomla! needs to be set to be able to work with created folders and files on your server but such cannot be set in Phoca Download as it does not set rights and ownership :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply