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?
is there a way to control this as is? is this going to require a hack? is there a workaround?
14
6
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
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.
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.
10
10
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