Re: EXTERNAL: Re: Can't attach a file in Bugzilla
Thorsten Schöning <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.webtools |
|---|---|
| Organization | AM-SoFT GmbH IT-Systeme |
| Message-ID | <[email protected]> |
Guten Tag Williams, Ruth, am Montag, 14. September 2020 um 20:52 schrieben Sie: > This has been working correctly for several years and has only > started throwing errors in the last several days. Then try to find what has changed, e.g. by looking at logs of automatically installed updates or alike. > I am not the Sys Admin and do not have the ability to set permissions. Then ask your admin what has changed. > I am on Window 7 Enterprise. > I am using perl 5.20 v52. This confuses me, which OS is actually hosting Bugzilla? The mentioned path and permissions don't sound like Windows and the error in general is mostly not related to any browser-based client. If you are hosting under Windows, I suggest testing uploads with ProcMon running to really see what happens when trying to access the temporary directory. https://docs.microsoft.com/en-us/sysinternals/downloads/procmon > I am not pasting the error message directly, because the systems are not connected. So "GCItemp51995" is more likely "CGItemp51995", isn't it? Anyway, I can't find any reference to such a directory in my CGI 4.35 of Perl 5.22, but ONLY for some older versions of that lib. In those, a package named CGITempFile created directories like yours, but that package has been removed in newer versions. https://metacpan.org/source/MARKSTOS/CGI.pm-3.65/lib/CGI.pm#L4172 https://metacpan.org/source/LEEJO/CGI-4.38/lib/CGI.pod#L1058 https://stackoverflow.com/questions/86175/where-does-cgi-pm-normally-create-temporary-files https://www.perl-community.de/bat/poard/thread/176 https://foswiki.org/Tasks/Item13172 So I suggest searching your whole system hosting Bugzilla for CGI.pm files and check their versions, which of those relate to the Perl you think your are using for Bugzilla etc. > The directory that is wide open is /usr/tmp. (rwxrwxrwx) > "/usr/tmp/GCItemp51995 is a temp directory used by Bugzilla to > upload attachments to Bugzilla. Each time a file is attached a temp > dir with a random number is created. That's how you expect things to work, but the error message reads otherwise to me. That sounds like the random directory is NOT created (anymore?) for some reason. So you need to check if such a directory should really be created automatically at all, which heavily depends on the version of CGI.pm in use. Afterwards you need to check if something is silently preventing creation of that directory for some reason. I'm thinking of something like private temp files of systemd, or some container or chroot-stuff or alike which has recently changed for you. It might even be that some older CGI.pm is used now which is not supposed to work in your environment at all anymore something like that. In any case, I'm somewhat sure now that something important has changed in your setup and you need to find what that was. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: [email protected] AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...........05151- 9468- 55 Fax...............05151- 9468- 88 Mobil..............0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow _______________________________________________ support-bugzilla mailing list [email protected] https://lists.mozilla.org/listinfo/support-bugzilla PLEASE put [email protected] in the To: field when you reply.