[PR #514] This PR adds change ownership when user is root. #998

Open
opened 2026-03-02 16:02:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/prasathmani/tinyfilemanager/pull/514
Author: @jpralves
Created: 3/23/2021
Status: 🔄 Open

Base: masterHead: master


📝 Commits (10+)

  • d1fe0cd Add change ownership when user is root.
  • 1955c54 Add missing handling chown for folders.
  • 5aaa2e7 Fix label 'Change Permissions' with lng support.
  • 1dcb90b Added Dockerfile for building docker image.
  • 7360a57 Removed default users. Added environment variables ADMIN_USER, ADMIN_PASS, RO_USER, RO_PASS to create dynamic users.
  • 6412750 Changed ace javascript to get the min.js version.
  • c977a3b Define versions of JS/CSS libraries used as constants.
  • 54d2365 Add support to show binary files in hex dump format.
  • 36ae5aa Add support for webp extension.
  • 6ac39a0 Show ownership in numeric uid:gid when username and/or group are not available.

📊 Changes

18 files changed (+2783 additions, -927 deletions)

View changed files

0-upload_large_dumps.ini (+5 -0)
Dockerfile (+36 -0)
Dockerfile.debug (+37 -0)
Dockerfile.user (+10 -0)
README-docker.md (+132 -0)
📝 README.md (+31 -0)
build.sh (+11 -0)
📝 config.php (+110 -8)
debug-files/Earth_Western_Hemisphere_transparent_background.png (+0 -0)
debug-files/Ghostscript_tiger.svg (+314 -0)
debug-files/JPEG_example_flower.jpg (+0 -0)
debug-files/phpinfo.php (+5 -0)
debug-files/script.sh (+9 -0)
debug/99-xdebug.ini (+6 -0)
docker-compose.yml (+17 -0)
startup.sh (+20 -0)
📝 tinyfilemanager.php (+1724 -757)
📝 translation.json (+316 -162)

📄 Description

Feature to change the ownership of a file or folder. Only works when the user running php is root.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/prasathmani/tinyfilemanager/pull/514 **Author:** [@jpralves](https://github.com/jpralves) **Created:** 3/23/2021 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`d1fe0cd`](https://github.com/prasathmani/tinyfilemanager/commit/d1fe0cdf0ccdcc29b4da5301b51d981be04d0b2a) Add change ownership when user is root. - [`1955c54`](https://github.com/prasathmani/tinyfilemanager/commit/1955c5412ff5bf961c6e0125dbd06c6b6e6c96be) Add missing handling chown for folders. - [`5aaa2e7`](https://github.com/prasathmani/tinyfilemanager/commit/5aaa2e7e0941009b9a84e2d17d8219fad90af701) Fix label 'Change Permissions' with lng support. - [`1dcb90b`](https://github.com/prasathmani/tinyfilemanager/commit/1dcb90b7028637a91a82cf7658406afbab77feb5) Added Dockerfile for building docker image. - [`7360a57`](https://github.com/prasathmani/tinyfilemanager/commit/7360a57b5a1bb42e5d5a0b60fe83c4b96f3bcea0) Removed default users. Added environment variables ADMIN_USER, ADMIN_PASS, RO_USER, RO_PASS to create dynamic users. - [`6412750`](https://github.com/prasathmani/tinyfilemanager/commit/6412750419d07ba3f6abce2bb386232b12211e64) Changed ace javascript to get the min.js version. - [`c977a3b`](https://github.com/prasathmani/tinyfilemanager/commit/c977a3b4bee2ced93ba633e55a0326f4d25ec0a1) Define versions of JS/CSS libraries used as constants. - [`54d2365`](https://github.com/prasathmani/tinyfilemanager/commit/54d2365a20cff8728b757466414512e72936bed0) Add support to show binary files in hex dump format. - [`36ae5aa`](https://github.com/prasathmani/tinyfilemanager/commit/36ae5aa9e32f90f2b1d1c2d7d8456ba1428483ec) Add support for webp extension. - [`6ac39a0`](https://github.com/prasathmani/tinyfilemanager/commit/6ac39a000da4be890bbf7da735b335d4ad5b69d7) Show ownership in numeric uid:gid when username and/or group are not available. ### 📊 Changes **18 files changed** (+2783 additions, -927 deletions) <details> <summary>View changed files</summary> ➕ `0-upload_large_dumps.ini` (+5 -0) ➕ `Dockerfile` (+36 -0) ➕ `Dockerfile.debug` (+37 -0) ➕ `Dockerfile.user` (+10 -0) ➕ `README-docker.md` (+132 -0) 📝 `README.md` (+31 -0) ➕ `build.sh` (+11 -0) 📝 `config.php` (+110 -8) ➕ `debug-files/Earth_Western_Hemisphere_transparent_background.png` (+0 -0) ➕ `debug-files/Ghostscript_tiger.svg` (+314 -0) ➕ `debug-files/JPEG_example_flower.jpg` (+0 -0) ➕ `debug-files/phpinfo.php` (+5 -0) ➕ `debug-files/script.sh` (+9 -0) ➕ `debug/99-xdebug.ini` (+6 -0) ➕ `docker-compose.yml` (+17 -0) ➕ `startup.sh` (+20 -0) 📝 `tinyfilemanager.php` (+1724 -757) 📝 `translation.json` (+316 -162) </details> ### 📄 Description Feature to change the ownership of a file or folder. Only works when the user running php is root. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#998
No description provided.