Skip to content

Check for absolute paths #312

Open
Open
@tabesin

Description

@tabesin

I'm submitting a ... (check one with "x")

  • feature request

Actual Behaviour
The zip files contents are to be put on the desktop of Meilix. However we do not check if they contain files with absolute paths which should not be the case.

Expected Behaviour
Some reasonable, or even heuristic checking if the zips when unpacked in the Desktop folder would stay in the users home dir, in other words only contain relative paths. As we may unpack the zips with root privilege that may become also a security risk.

Example
A file /home/egon/desktop/presentations/mypresentation.ppt should not be packed but a contained /presentations/mypresentation.ppt would be useful because when the home directory is e.g. /home/peter the files won't end up there.

Mind that we may support multiple zip formats here like .tar.gz and .zip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions