OO 3 avab faili võrgukettalt read only
Moderaator: Moderaatorid
OO 3 avab faili võrgukettalt read only
Tere
Äkki siit saab abi? Paigaldasin arvutisse (XP professional) OO 3.0.1. Probleem, et avab faile võrgukettalt (suse+samba) ainult read only. Samas vanem versioon OO avab samu faile, samuti avab MSO samu faile vabalt. Kas viga võib-saab olla samba kasutajaõigustes või on mingi viga OO 3.0.1-s?
Äkki siit saab abi? Paigaldasin arvutisse (XP professional) OO 3.0.1. Probleem, et avab faile võrgukettalt (suse+samba) ainult read only. Samas vanem versioon OO avab samu faile, samuti avab MSO samu faile vabalt. Kas viga võib-saab olla samba kasutajaõigustes või on mingi viga OO 3.0.1-s?
Re: OO 3 avab faili võrgukettalt read only
Selle kohta on siin kirjutatudRiisPeet kirjutas:Probleem, et avab faile võrgukettalt (suse+samba) ainult read only. Samas vanem versioon OO avab samu faile, samuti avab MSO samu faile vabalt. Kas viga võib-saab olla samba kasutajaõigustes või on mingi viga OO 3.0.1-s?
Lühidalt on asi Samba ja Linuxi konfis:
OpenOffice 3 does not lock the file but instead it creates a lock file. This lock file is called '.lock....' - and the starting dot in the file name is what screwed me over: Samba hides the dot files and folders by default because they are considered hidden.
But the problem here is that unix does consider dot files to be hidden by default and that is why Samba on CentOS (and possibly other distributions) have a guarding rule against making dot files or reading them. This means the lock fails on the network share and OO3 goes into Read-Only mode. I now have disabled the veto setting in samba to prevent this but I had to make sure that no other shared folder had actual hidden files (like profiles from programs etc) because somebody somewhere will be stupid some time and will try to remove those files and folders that just became visible because of the changes...
The main problem however is the fact that the default CentOS configuration (and perhaps other distros) is to disallow the creation, access and viewing of dot files on the shares of Samba. This means that if you use a Windows or Linux computer and SMB to get to your shared files, OpenOffice will now always fail to open the file normally as the lock file is not permitted to be created.
Minul näiteks Red Hati ja Sambaga eespoolmainitud probleemi ei ole.





