mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-27 03:15:50 +03:00
[GH-ISSUE #1169] Ownership and permission for root folder #751
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#751
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thomaslvz on GitHub (May 3, 2024).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1169
Hi all,
I have read a lot of issues here and it is not clear to me, so I make a new one
My root path is set to :
$root_path = $_SERVER['DOCUMENT_ROOT'].'files';and i want to know what ownership and permission settings should be granted for my folder
files. It is currently set todrw-rw---- tinyfilemanager www-dataBut this doesnt work, and I dont want to set it to
777(even though this makes it work) to keep things clean.@hestiacn commented on GitHub (May 3, 2024):
Just in the root directory of your web page. There is no point in setting this up. Please refer to: chmod 644 /home/admin/web/Example.com/public_html
@thomaslvz commented on GitHub (May 14, 2024):
Thanks for answering.
What you say does not seem right to me.
My web page is within
/var/www/tinyfilemanager, my root directory is set to/var/www/tinyfilemanager/files.If I do
chmod -R 644 /var/www/tinyfilemanager/filesmy files are not visible from my web browser.I did
chmod -R 755 /var/www/tinyfilemanager/files, this seems to work now@hestiacn commented on GitHub (May 14, 2024):
In fact, /tinyfilemanager can be set to lindex.php and it can become the default access file by directly opening the domain name.