View Single Post
Posts: 252 | Thanked: 252 times | Joined on Nov 2009
#344
Hi Saturn,

No problem. Just glad to help. The app is truly a great idea

I'm testing the devel version, yes.

Here are the command outputs:
Code:
Nokia-N900:~# cat /etc/sudoers|grep smscon*
user ALL = NOPASSWD: /opt/smscon-editor/smsconEditorCopyConfig, /opt/smscon-editor/smsconEditorCreatePass *
user ALL = NOPASSWD: /opt/smscon/smscon
Code:
Nokia-N900:~# ls -al /opt/smscon*
/opt/smscon:
drwxr-xr-x    2 root     root         4096 Oct  7 20:00 .
drwxr-xr-x   28 root     root         4096 Oct  7 19:35 ..
-rwxr-xr-x    1 root     root        14636 Oct  3 13:53 smscon
-rw-r--r--    1 root     root           15 Oct  7 20:00 smscon_code
-rw-r--r--    1 user     users        1721 Oct  7 20:02 smscon_config
-rwxr-xr-x    1 root     root        75515 Oct  3 13:53 smscon_daemon

/opt/smscon-editor:
drwxr-xr-x    2 root     root         4096 Oct  7 19:35 .
drwxr-xr-x   28 root     root         4096 Oct  7 19:35 ..
-rwxr-xr-x    1 root     root          128 Oct  7 17:48 smscon-editor
-rw-r--r--    1 root     root         1968 Oct  7 17:48 smsconEditorAskPass.py
-rwxr-----    1 root     root           78 Oct  7 17:48 smsconEditorCopyConfig
-rwxr-----    1 root     root           31 Oct  7 17:48 smsconEditorCreatePass
-rw-r--r--    1 root     root        36474 Oct  7 17:48 smsconEditorMain.py
-rw-r--r--    1 root     root        76571 Oct  7 17:48 smsconEditorMainGUI.py
-rw-r--r--    1 root     root         2030 Oct  7 17:48 smsconEditorNewPass.py
-rw-r--r--    1 root     root           36 Oct  7 17:48 smsconEditorPass
Code:
Nokia-N900:~# ls -al /home/user/.smscon*
drwxr-xr-x    2 user     users        4096 Oct  7 19:42 .
drwxr-xr-x  122 user     users       12288 Oct  7 19:42 ..
Running smscon-editor from terminal and clicking "Update Settings" gives the following output:
Code:
Nokia-N900:~/.smscon-editor$ /opt/smscon-editor/smscon-editor 
Traceback (most recent call last):
  File "/opt/smscon-editor/smsconEditorMain.py", line 484, in doCreateConfigGeneral
    os.rename( Path + ConfigFile, Path + ConfigFile + "~" )
OSError: [Errno 2] No such file or directory
So something is apparently not working properly. I do get a message telling me that the config file was loaded successfully to begin with, though.
__________________
dragly.org
 

The Following User Says Thank You to dragly For This Useful Post: