Hi all,

The way I understand it, there are two possible "defaults write..." syntaxes:

There is (from the sogo faq pages)
 * "defaults -u sogo write..."
and there is (from the SOGO Installation Guide.pdf)
 * su - sogo
 * "defaults write..."

On debian wheezy, sogo 2.0 from the repositories, it seems that mixing the two (with and without the "-u sogo") causes a NEW file to be created each time...

Is this expected??!

See below, what happens here:

sogo@wheezy:~$ cat /home/sogo/GNUstep/Defaults/.GNUstepDefaults
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" "http://www.gnustep.org/plist-0_9.xml";>
<plist version="0.9">
<dict>
    <key>NSGlobalDomain</key>
    <dict>
    </dict>
    <key>sogod</key>
    <dict>
        <key>SOGoAppointmentSendEMailNotifications</key>
        <string>YES</string>
        <key>SOGoTimeZone</key>
        <string>America/Montreal</string>
    </dict>
</dict>
</plist>sogo@wheezy:~$
sogo@wheezy:~$ defaults -u sogo write sogod SOGoAppointmentSendEMailNotifications YES
sogo@wheezy:~$ cat /home/sogo/GNUstep/Defaults/.GNUstepDefaults
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" "http://www.gnustep.org/plist-0_9.xml";>
<plist version="0.9">
<dict>
    <key>NSGlobalDomain</key>
    <dict>
    </dict>
    <key>sogod</key>
    <dict>
        <key>SOGoAppointmentSendEMailNotifications</key>
        <string>YES</string>
    </dict>
</dict>
</plist>sogo@wheezy:~$
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to