Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 11:51 am EST

Geeklog Forums

file permissionshack neededmaybe?


Status: offline

mock

Forum User
Newbie
Registered: 09/29/04
Posts: 2
i am hosting my geeklog at a site where the file's owner:group is set to nobody:nobody because that's how php does it. the file permissions are set to 644. this does not allow me to edit or remove the images in the images/userphotos and images/articles folders.

is there a way to control this as is? is this going to require a hack? is there a workaround?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Can you not change the permissions with your ftp client?

bye, Dirk
 Quote

Status: offline

mock

Forum User
Newbie
Registered: 09/29/04
Posts: 2
Quote by Dirk: Can you not change the permissions with your ftp client?

bye, Dirk


no. i was ssh-ed into the box and didn't have permissions to make those changes. i have to get an admin to do it. but i need to set it so that i don't have to bug them when i wan them changed.

their comments were as follows:

Quote by tech support:
PHP runs under the web server, which means that it runs as
the same user(nobody). There is no way around this, so if
you want files that you can modify yourself, you will need
to put this part into a Perl script. Perl runs under suexec
so it will switch to your user before running the script.


it's up to me to code it so that i have control.
 Quote

All times are EST. The time is now 11:51 am.

  • 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