php forum
php mysql forum
php mysql smarty
 
Topic Options
#44658 - 07/17/02 07:59 PM CGI open of tmpfile: Permission denied - Attachment File Manager 1.60
websiteworld Offline
Junior Member

Registered: 04/24/02
Posts: 9
I keep getting a CGI open of tmpfile: Permission denied error when trying to upload a file. I thought it may have something to do with XP-Pro. I am the server admin, so I gave the uploads folder full control and tried everything. A quick search of usenet suggest this may acually have something to do with the user's PC, not the server. Thanks in advance!

I'm lost! help

Top
#44659 - 07/18/02 05:27 PM Re: CGI open of tmpfile: Permission denied - Attachment File Manager 1.60
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
You running on a *nix or NT box?
_________________________
I can't afford a good signature editor frown

Top
#44660 - 07/18/02 08:33 PM Re: CGI open of tmpfile: Permission denied - Attachment File Manager 1.60
websiteworld Offline
Junior Member

Registered: 04/24/02
Posts: 9
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by BassTeQ:
You running on a *nix or NT box?</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">The server is running Windows 2000 Server, I have Windows XP Pro locally.

Top
#44661 - 07/18/02 09:47 PM Re: CGI open of tmpfile: Permission denied - Attachment File Manager 1.60
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Hmm strange, I doubt it would have anything to do with the clients PC, more like a server issue. Is the the file read only? Does the user EVERONE have full access to this tmp directory where the tmp files are being created?
_________________________
I can't afford a good signature editor frown

Top
#44662 - 07/19/02 12:09 PM Re: CGI open of tmpfile: Permission denied - Attachment File Manager 1.60
websiteworld Offline
Junior Member

Registered: 04/24/02
Posts: 9
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by BassTeQ:
Hmm strange, I doubt it would have anything to do with the clients PC, more like a server issue. Is the the file read only? Does the user EVERONE have full access to this tmp directory where the tmp files are being created?</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Where are tmp files stored on the web server?

Top
#44663 - 07/19/02 07:36 PM Re: CGI open of tmpfile: Permission denied - Attachment File Manager 1.60
websiteworld Offline
Junior Member

Registered: 04/24/02
Posts: 9
Here is the exact message, I added "everyone" with read/write to the temp directory and it didn't work.

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

CGI open of tmpfile: Permission denied

Top
#44664 - 07/21/02 05:55 PM Re: CGI open of tmpfile: Permission denied - Attachment File Manager 1.60
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Im not very familiar with this hack, but did you set it up correctly? Is there a config area where u define the path that points where this temp file will be stored??
_________________________
I can't afford a good signature editor frown

Top
#44665 - 07/22/02 12:26 AM Re: CGI open of tmpfile: Permission denied - Attachment File Manager 1.60
websiteworld Offline
Junior Member

Registered: 04/24/02
Posts: 9
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by BassTeQ:
Im not very familiar with this hack, but did you set it up correctly? Is there a config area where u define the path that points where this temp file will be stored??</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">I am sure it is all set up correctly because you can click on the View/Delete files and it created a folder for the specified user in the "uploads directory" that is part of the setup. However there is no configuration for a temp directory. I know the paths are correct because I am the server admin too.

$ubbNonCGIPath = "/usr/home/dpstele.com/htdocs/ubb"; ## COPY: $NonCGIPath
$ubbMembersPath = "/usr/home/dpstele.com/htdocs/cgi-bin/Members"; ## COPY: $MembersPath
$ubbCGIURL = "http://www.dpstele.com/cgi-bin/ubb"; ## COPY: $CGIURL
$ubbNonCGIURL = "http://www.dpstele.com/ubb"; ## COPY: $NonCGIURL

$UploadDir = "uploads";

Top
#44666 - 07/28/02 05:45 PM Re: CGI open of tmpfile: Permission denied - Attachment File Manager 1.60
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Sorry I cant really be of much more help, as I mainly deal with UBB on *nix servers not NT.
I know this hack does work on *nix servers so it may be a server bassed issue rather then a coding based one.
_________________________
I can't afford a good signature editor frown

Top
#44667 - 07/28/02 07:20 PM Re: CGI open of tmpfile: Permission denied - Attachment File Manager 1.60
Deb Administrator Offline
Pooh-Bah

Registered: 02/13/00
Posts: 3480
Loc: Wisconsin
Sorry, I'm not familiar with NT setups either. You've probably done this but just in case... did you add those paths to UltBB.setup?
_________________________
- Deb

Top
#44668 - 06/30/04 10:45 PM Re: CGI open of tmpfile: Permission denied - Attachment File Manager 1.60
Mike Bobbitt Offline
Member

Registered: 04/30/01
Posts: 230
Loc: Ottawa, ON, Canada
For the record, this has been solved here:

http://www.movabletype.org/support/index.php?act=ST&f=10&t=9869

Two years late, I know. wink
_________________________
Mike Bobbitt
PERL Stuff

Top
#44669 - 07/01/04 01:39 AM Re: CGI open of tmpfile: Permission denied - Attachment File Manager 1.60
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
heheh, that's dedication wink
_________________________
- Allen wavey
- What Drives You?

Top


Who's Online
0 registered (), 29 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks