Skip to content

[Enhancement]: Access to pipe file to user for the mod_user_pipe plugin #70

@sosie-js

Description

@sosie-js

Is there a way to make the pipe file accessible when controling using python as it is relocated and unaccessible to user, I got when using pyaudiacity

PermissionError: [Errno 13] Permission denied: '/tmp/snap-private-tmp/snap.audacity/tmp/audacity_script_pipe.to.1000'

I modified pyaudacity main file

with

       USE_SNAP=True
        snap_tmp = ""
        if USE_SNAP:
            snap_tmp="/tmp/snap-private-tmp/snap.audacity"
        write_pipe_name = snap_tmp+"/tmp/audacity_script_pipe.to." + str(os.getuid())
        read_pipe_name = snap_tmp+"/tmp/audacity_script_pipe.from." + str(os.getuid())
        eol = "\n"

and I had also to do extra sudo chown on linux behind:

sudo chown  `whoami`:root /tmp/snap-private-tmp
sudo chown  `whoami`:root /tmp/snap-private-tmp/snap.audacity
sudo chown  -R  `whoami`:root /tmp/snap-private-tmp/snap.audacity/tmp

What changes would you like?

Access or relocating possibily to user home writable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions