Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 06:47 pm EST
Geeklog Forums
Changing File Management file permissions
The file management files are being uploaded with Apache as the owner. I need to download these files so I can move the site. I can't ftp files owned by Apache.
Can anyone offer a PHP script I can run on my site that will change the owner and the other permissions for file management data files?
Thanks in advance,
John Hughes
Can anyone offer a PHP script I can run on my site that will change the owner and the other permissions for file management data files?
Thanks in advance,
John Hughes
11
12
Quote
Status: offline
jlhughes
Forum User
Full Member
Registered: 04/25/02
Posts: 154
After I posted my request I remembered that Bharat Mediratta wrote a utility for Gallery that does what I need.
I've created a script using Bharat's utility that CHMODs all of the files in the data and tmp directories so that the files can be modified or deleted. (In my case, I need to download the directory so that I could move the site.)
You must be logged in as a file management user in order to execute the script.
You can get a copy of the script here.
I've created a script using Bharat's utility that CHMODs all of the files in the data and tmp directories so that the files can be modified or deleted. (In my case, I need to download the directory so that I could move the site.)
You must be logged in as a file management user in order to execute the script.
You can get a copy of the script here.
10
9
Quote
All times are EST. The time is now 06:47 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content