Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix startup when user doesn't have write permission to SSW #235

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samaloney
Copy link
Collaborator

@samaloney samaloney commented Dec 19, 2024

Addresses the crash mentioned in #234 but not the underling issue.

Output from SSW startup when the stix_conf_version.txt file is missing and user doesn't have write access e.g. after and saw_upgrade.

Executing SSW IDL_STARTUP for: STIX
% Compiled module: STX_CHECK_CONFIG_FILES.
% Compiled module: HAVE_NETWORK.
% Compiled module: URL_FIX.
% Compiled module: HAS_URL_SCHEME.
% Compiled module: URL_PARSE.
% Compiled module: IS_NUMBER.
% Compiled module: IS_STRUCT.
% Compiled module: SOCK_CHECK.
% Compiled module: SOCK_HEAD.
% Compiled module: IS_URL.
% Compiled module: IS_FTP.
% Compiled module: IS_SSL.
% Compiled module: IDLNETURL2__DEFINE.
% Compiled module: HTTP_PROXY.
% Compiled module: IS_NUMBER2.
% Compiled module: SOCK_IDL_AGENT.
% Compiled module: USE_PROXY.
% Compiled module: HAVE_PROXY.
% Compiled module: SOCK_CODE.
% Compiled module: SOCK_CONTENT.
% Compiled module: SOCK_CONTENT_HTTP.
% Compiled module: BYTE2STR.
% Compiled module: SOCK_ERROR.
% Compiled module: SOCK_DECODE.
% Compiled module: MERGE_STRUCT.
% Compiled module: LOC_FILE.
% Compiled module: TRIM2.
% Compiled module: CHKLOG.
% Compiled module: FIX_SLASH.
% Compiled module: BREAK_FILE.
% Compiled module: TEST_OPEN.
% Compiled module: SOCK_COPY.
% Compiled module: REM_DUP_KEYWORDS.
% Compiled module: SOCK_GET.
% Compiled module: CURDIR.
% Compiled module: IS_MEMBER.
% Compiled module: MPRINT.
% Compiled module: GET_CALLER.
% Compiled module: STRPAD.
% SOCK_GET_MAIN: No write access to directory - /usr/local/ssw/so/stix/dbase/detector
% STX_UPDATE_DET_CONFIG_FILES: Warning congiguration file elut_index.csv not found.
% SOCK_GET_MAIN: No write access to directory - /usr/local/ssw/so/stix/dbase/detector
% STX_UPDATE_DET_CONFIG_FILES: Warning congiguration file science_echan_index.csv not found.
% Compiled module: STR2FILE.
% Compiled module: FILE_BREAK.
% Compiled module: COMDIM2.
% STR2FILE: Denied write privilege for file: /usr/local/ssw/so/stix/dbase/detector/stix_conf_version.txt

@samaloney
Copy link
Collaborator Author

samaloney commented Dec 19, 2024

Could use a test by someone else on a different install and ideally platform (not macOS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant