mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 19:05:54 +03:00
[GH-ISSUE #760] Upload from URL error #520
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#520
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 @crispa on GitHub (Mar 26, 2022).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/760
Hi everyone,
I love Tinyfilamager, Thank you!
I have a problem after upload image from URL:
But image file exists in my storage...
Upload from URL was set to permission 0600 and upload image from file is set 0644, it's a problem about permissions?
@prasathmani commented on GitHub (Mar 28, 2022):
mostly this will issue occur when you change the
$root_pathconfiguration, please make sure you change$root_urlas well.@crispa commented on GitHub (Mar 28, 2022):
Thank you for your reply.
I tried many options but don't work.
Only when upload from URL persmissions was seted 0600...
@crispa commented on GitHub (Apr 4, 2022):
No any update about this problem??
@informas commented on GitHub (Jun 28, 2023):
I have the same problem.
I saw that when we "Upload from URL" the file permissions are set to "600" and TFM require "0604" to show the file or enable access,
@RavanH commented on GitHub (Feb 6, 2024):
Hi all, it is because Tiny File Manager uses tempnam() to create the temporary file. This function creates a file with 600 permissions by default.
This can be fixed by adding a
chmodto the success block that starts on line 650 so it looks like this: