|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
The Problem is i cant upload anymore This is on my forums btw. So what happened?? I dont know? Any idea's ? Well yeh, i moved my forum from one domain to another? Everything seemed to be working fine. Database and posts were working great. Updated the paths for uploading avatars and attachements. And then? First the troubles began with the avatars path? No matter what i changed it too the file check would fail? I previously had it set to a subdomain so i could monitor bandwidth, and allow my forums to be functional. so all i changed with in the path was the domain name checked the permissions and it should work? Nothing can be written to my subdomain folders. 777 I'm checking somestuff out now, but just wondering if anyone else has had a problem? As its doing my nut in now?
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Check paths, check permisions, check directory owners... All sorts of things can go awry lol...
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
Paths are good. Permissions are good.
Directory owners? Under same reseller account, just diffrent User accounts.
Doing more testing to see if its a server thing or a 7.1 thing?
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
It's likely a server thing; in some cases apache will create files as the "apache" or "root" user, vs the user they belong to; so yes, checking the actual "owners" of files is a nessessity at times as well
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
Humm Strange.... Or not strange? As i mentioned above, i copied and pasted basically my forum directory to its new location. SQL didnt have to move as they were all under the same owner. Domain's are under the same owner too. Only the subdomains which i use for attachments, have a diffrent owner. Before the move Domain A works fine (File Test) Copied and pasted files to new location. Ran Permissions check, needed to change a few but all green in UBB. DOMAIN B will not pass the file test for uploads, even though its the same url / path to the subdomain? I went back to Domain A and the file test workd fine It is a strange one? ========================= Not sure how you would check the files "Actual Owners" ? Ive restarted the httpd and mysqld no changes, and also Direct Admin. Still the same.
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
ls -hal via SSH will display file permissions/owners.
Additionally, via FTP most clients have a "view owners" directive.
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
I can see the owners in Direct Admin?
UID & GID Are Both the same user name (Not Root) At the subdmain & also same but diffrent user name at Domain A & B
I'm going to have to think about this one, and perform some houskeeping as it could be somthing stupid, thats causing this....
Then get gizmo in to fix it lol...
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I don't know, i doubt directadmin cares about the file owners, but i've never used it...
the UID should be the same on the files as it is on any other files...
In any case you told me on AIM you're gong to hound me in the morning, so i'm waiting on you to take up lol
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
Well i got the files writing again Phew? I dont know what it was that ive done, or which worked? I did add this to the httpd.config <Directory |DOCROOT|> Options +ExecCGI </Directory> Which was in my Domain A and add it to Domain B And its writes now
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
That should only allow for CGI scripts to be executed in the document root.. It shouldn't affect uploading I don't think...
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
ls -hal?? what is the difference between that and ls -al?
|
|
|
|
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
|
Pooh-Bah
Joined: Jul 2006
Posts: 2,143 |
man ls
-h When used with the -l option, use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the number of digits to three or less using base 2 for sizes.
Short answer: human readable.
|
|
|
|
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
|
Pooh-Bah
Joined: Jul 2006
Posts: 2,143 |
ls -alh
list it all in long format, but make it human readable.
|
|
|
|
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
|
Pooh-Bah
Joined: Jul 2006
Posts: 2,143 |
bold letters need to be about 90 pixels fatter, or so.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
SPAMMER!, but yeh Dave has summed it up quite nicely... If you don't want to read in bytes, -h is quite handy... I use it with df all the time.
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
thanks guys
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
2 members (Nightcrawler, Ruben),
694
guests, and
214
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|