8000 realpath invokation on the media directory requires read access to all parent directories · Issue #15 · azatoth/minidlna · GitHub
[go: up one dir, main page]

Skip to content

realpath invokation on the media directory requires read access to all parent directories #15

Open

Description

chdir (executable) access should be sufficient for all directories leading up to the media dir itself.

The problematic line is: https://github.com/azatoth/minidlna/blob/master/minidlna.c#L475

Other invokations of realpath follow this pattern:

				path = realpath(x, y);
				if( !path )
					path = x

… which tackles the issue and we should probably follow here as well?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0