Skip to content

loginitems Unusable Over su Session #1

@RandomDSdevel

Description

@RandomDSdevel

When I ran loginitems -l under su -l $OTHER_REDACTED_USER, I got the following error from osascript:

/usr/local/bin/loginitems-ls:68:72: execution error: An error of type -10810 has occurred. (-10810)

I suspect that this probably has to do with the fact that su does something funny and creates an execution environment that loginitems wasn't expecting. I don't recognize and couldn't find any documentation on that particular error code, though, so good luck if you decide to chase down the root cause of this problem. In the meantime, I'll just switch users to use loginitems under other accounts.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions