in reply to Re^6: File permissions problem (updated)
in thread File permissions problem
Hi Wayne,
PerlMonks is more of a place to learn Perl, and not usually a place where people do others' work for free - unless a monk happens to be interested, but that's not always the case, especially the more freebies one asks for ;-) If you're planning on fixing more bugs in the code, the best way to go would be to pick up at least a little bit of Perl yourself. perlintro is a good place to start, as well as Tutorials and learn.perl.org. Anyway, having said that...
Disclaimer: I don't know the rest of the "guiguts" code, so I don't know if the following will fix the issue 100% or if there will be any negative side effects on other parts of the code.
I'd try to hack the fix by adding the line chmod(0666&~umask,$filename) or warn "Couldn't chmod $filename"; after the line if ( rename( $tempfilename, $filename ) ) { (untested).
BTW, it'd be best to mention the existing bug report: https://sourceforge.net/p/guiguts/bugs/133/
Regards,
-- Hauke D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: File permissions problem (updated)
by wdhammond (Novice) on Dec 16, 2016 at 18:09 UTC | |
by haukex (Archbishop) on Dec 17, 2016 at 12:32 UTC | |
by wdhammond (Novice) on Dec 18, 2016 at 16:54 UTC | |
by haukex (Archbishop) on Dec 19, 2016 at 13:16 UTC |