Hi Wine Gurus, I noticed this issue as other people trying to access my documents are unable to, until I chmod 777 on the documents. This only occurs when I created *new* documents, spreadsheets or powerpoint presentations, not when altering already existing said documents. Yes, this issue is prevalent with all three types of documents. My system specs: OS: OpenSUSE Office: 2003 Wine: 1.3.17 Is there any way I can alter this behavior, like in regedit or a wine conf file? Thanks! [Question]
Have you tested what a normal gedit/kwrite native does. This could be normal effect of umask. Wine does obey what the Linux platform tells it to do. Wine normally stays well clear of permission operations.
On Wed, Apr 20, 2011 at 12:28 PM, oiaohm <wineforum-user at winehq.org> wrote:> Have you tested what a normal gedit/kwrite native does. > > This could be normal effect of umask. ?Wine does obey what the Linux platform tells it to do. > > Wine normally stays well clear of permission operations. >I think it is an effect of what Office does to write a file. Remember in Word and Excel when you write a file the following happens: 1.Office creates a new file 2. then deletes the old 3. then renames the new file to the old and after this rename the windows operating system detects this pattern and assigns the permissions and acl of the old file to the new file. Linux has no such odd file behavior so in the case of samba they had to emulate this. I am not sure what wine does.
John Drescher. Wine has samba developers who help out. So that MS office bug does not happen. If you notice the issue was not with altering existing documents. New file creates obey umask. Of course this is one of the issues I have to take a serous light to as well. Technically you really should not be directly creating new files in shared locations. Also why are the files 755. 644 is more than good enough for most cases for doc and excel files. 755 is for executable and directories. I know DAC is weak but basic secuirty right helps.