[GH-ISSUE #908] Directory Users does not work #597

Closed
opened 2026-03-02 16:00:08 +03:00 by kerem · 3 comments
Owner

Originally created by @kimaniidaniel on GitHub (Dec 2, 2022).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/908

Direcotry Users does not work for me. I created a user, then restricted where this user can access using directory_users. However whenever I log in as this user I'm dropped directly on the root /public_html/. Any ideas of what I'm doing wrong?

$directories_users = array([ 'mortgagee-dropbox@netherlands.co.gd' => '/home/856260.cloudwaysapps.com/fzhzabfrey/public_html/mortgagee_report/dropbox/' ]);

Originally created by @kimaniidaniel on GitHub (Dec 2, 2022). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/908 Direcotry Users does not work for me. I created a user, then restricted where this user can access using directory_users. However whenever I log in as this user I'm dropped directly on the root /public_html/. Any ideas of what I'm doing wrong? `$directories_users = array([ 'mortgagee-dropbox@netherlands.co.gd' => '/home/856260.cloudwaysapps.com/fzhzabfrey/public_html/mortgagee_report/dropbox/' ]);`
kerem closed this issue 2026-03-02 16:00:08 +03:00
Author
Owner

@prasathmani commented on GitHub (Dec 2, 2022):

path should start from web root directory

directories_users = array([ 'mortgagee-dropbox@netherlands.co.gd' => '/mortgagee_report/dropbox' ]);
<!-- gh-comment-id:1335333701 --> @prasathmani commented on GitHub (Dec 2, 2022): path should start from web root directory ```php directories_users = array([ 'mortgagee-dropbox@netherlands.co.gd' => '/mortgagee_report/dropbox' ]);
Author
Owner

@kimaniidaniel commented on GitHub (Dec 2, 2022):

Thank you for the reply and this is an AWESOME one page application, i'm soo impressed! However, after making your suggested change it still doesn't work. Now let me explain the setup, I'm not sure if it matters.
I have Tiny File Manager in (root)/dropbox/ folder (so I tell the client log into www.website.com/dropbox/), but the folder I want to give them access to is (root)/mortgagee_report/dropbox/. I'm not sure if this is the problem? I can add you as a user if you want to check it out,

<!-- gh-comment-id:1335357438 --> @kimaniidaniel commented on GitHub (Dec 2, 2022): Thank you for the reply and this is an AWESOME one page application, i'm soo impressed! However, after making your suggested change it still doesn't work. Now let me explain the setup, I'm not sure if it matters. I have Tiny File Manager in (root)/dropbox/ folder (so I tell the client log into www.website.com/dropbox/), but the folder I want to give them access to is (root)/mortgagee_report/dropbox/. I'm not sure if this is the problem? I can add you as a user if you want to check it out,
Author
Owner

@prasathmani commented on GitHub (Apr 8, 2023):

#724

<!-- gh-comment-id:1500783829 --> @prasathmani commented on GitHub (Apr 8, 2023): #724
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#597
No description provided.