Welcome to Geeklog, Anonymous Tuesday, April 16 2024 @ 10:48 pm EDT

Geeklog Forums

Changing File Management file permissions


Status: offline

jlhughes

Forum User
Full Member
Registered: 04/25/02
Posts: 154
curious
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
 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.
 Quote

All times are EDT. The time is now 10:48 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