TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 317
  • Total: 317

help with download module

Started by wiredgeorge, March 18, 2010, 01:00:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Xarcell

Quote from: IchBinâ„¢ on March 24, 2010, 02:46:28 AM
We still need to confirm that. We also need to confirm which user apache runs as. Here's why
Unix files system assigns permissions to files allowing users,groups, and other (which is anyone) to either read/write/execute.
If you were to look at a file you can see a number like this: 777 or 755 or 644. There are many variations. The first number is the permission that the owner has. Here's what the number can mean depending on what permissions it is giving.
4 = read
2 = write
1 = execute

If you add all those numbers together it equals 7. This means the owner has all permissions for the file. If the number is a six, you can see that they only have read and write permission. If the number is 5 they only have read and execute permission.

This is the same for group (being the second number) and other (being the 3rd number).

If apache is running as a different user than 32190 and apache is not the assigned to be the group, then the permission that apache would use is the "other". So if a file is 774 then apache cannot write or execute the file.

I hope that helps you understand. We need to know this before trying anything else out.

We need to know who the group owner of the files are, and we also need to know which user apache is running as.

Ya, what he said................. because I have no clue.

Lol, I understand the concept though.

TechPro

Hello.

I am the host in question here. Since I only have access to cPanel, a lot of the info you are asking for is not available to me. The site is hosted through JaguarPC and I've had to go to them for answers.

I asked them the questions about group ownership and what user apache is runing under and here is their response. Maybe it will make more sense to you than it does me.

The user.group owner ships for all the files/folders inside the public_html document root of your account should be jtechpro.jtechpro which is your main Cpanel username also. The folder permisssions should be 755 and files 644.

We are running Suphp on the server ,so you cannot setup nobody owner ships for any files.

IchBin

Can you show me a phpinfo() page please? Put the following code into a file named phpinfo.php, upload it to your site and post a link back so I can view it please.
<?php
phpinfo
();
?>


TechPro

#23
Here ya go.

--link-removed---

IchBin

Thanks. I removed the link because not everyone needs to see that. I don't see anything wrong right away. I'm not sure I can trouble shoot this without having access to the server at this point. Is that something you want to do? If so, feel free to send me some info. At first I just need to look at the problem with an account on the forum. After that point I may need FTP and Database access.

TechPro

Forum is here.

http://www.wgcarbs.com/forum/index.php

You can create your own account if you need it. If you need an admin account, I'll have to leave that up to George since it's his site.

If you need FTP access and George agrees to it, I give you that.

wiredgeorge

Ichbin, If you need access to the forum, sign up for an account and I will assume you need super admin status. Thanks! wg

IchBin

#27
Zarprime shared his account with me. I'll just use his if you don't mind. I'll try to take a look in the next little bit and see what is up.

--edit--
Yeah, I'm gonna need FTP access to look a little deeper.

wiredgeorge

That sounds fine by me. I see you are already on the site. TechPro will need to give you an FTP account. I will send him a note... thanks! wg

TechPro

I've got you a FTP account ready but I must be an idiot, I can't figure out how to PM you here. PM me and I'll send you the account info.

This website is proudly hosted on Crocweb Cloud Website Hosting.