https://bugs.freedesktop.org/show_bug.cgi?id=55962
--- Comment #21 from Michael Meeks <[email protected]> --- And of course Julien is quite right - the spadmin code does: // at this point no actual changes will be written // but the write will have checked whether any writeable config exists if( ! m_rPIManager.writePrinterConfig() ) { ... ErrorBox aBox( GetParent(), WB_OK | WB_DEF_OK, String( PaResId( RID_ERR_NOWRITE ) ) ); Which is the expected error message; so - the question is why is none of the config write-able ? :-) Compiling and running with: diff --git a/vcl/unx/generic/printer/printerinfomanager.cxx b/vcl/unx/generic/printer/printerinfomanager.cxx index 6db4904..d6727c5 100644 --- a/vcl/unx/generic/printer/printerinfomanager.cxx +++ b/vcl/unx/generic/printer/printerinfomanager.cxx @@ -679,6 +679,8 @@ static bool checkWriteability( const OUString& rUniPath ) SvFileStream aStream( aSysPath, STREAM_READ | STREAM_WRITE ); if( aStream.IsOpen() && aStream.IsWritable() ) bRet = true; + fprintf( stderr, "Is '%s' writeable? %d\n", + rtl::OUStringToOString( rUniPath, RTL_TEXTENCODING_UTF8 ).getStr(), bRet ); return bRet; } Would at least list the paths we check - it'd be good to get some results from that; it's not reproducible here. Thanks ! :-) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
