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: 3477
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 Online   content
I type Like navaho

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

Top


Top Posters Last 30 Days
AllenAyres 84
Gizmo 28
Zarzal 21
sirdude 19
blaaskaak 13
willing 7
swebs 6
Who's Online
2 Registered (AllenAyres, mrx), 35 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by AllenAyres
07/04/08 10:56 PM
[7.3.x] ubb.links
by AllenAyres
07/03/08 06:15 PM
Changing currency for subscriptions?
by AllenAyres
07/03/08 01:15 PM
Protect users emails
by AllenAyres
07/03/08 11:36 AM
VPS and Newbies
by Gizmo
07/02/08 09:08 PM
Drupal / UBB integration module for Drupal
by blaaskaak
06/30/08 01:52 PM
[7.3.x] Scheduled board close for backup
by AllenAyres
06/30/08 12:51 PM
New Mods
Protect users emails
by Basil Fawlty
06/29/08 08:44 AM
[7.3.x] Scheduled board close for backup
by blaaskaak
06/26/08 04:01 AM
[7.3+] CustomTag - Audo Embedding
by Gizmo
06/24/08 07:52 PM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
Newest Members
ryzilla, M4D, Jer, Kanigo2, Bubba
13302 Registered Users

 

 

 
fusionbb message board php hacks