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

Fix directory permissions for /usr/share folder #104

Open
hertg opened this issue Mar 15, 2023 · 0 comments
Open

Fix directory permissions for /usr/share folder #104

hertg opened this issue Mar 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hertg
Copy link
Owner

hertg commented Mar 15, 2023

Should be 755 not 644 to allow directory listing. It only works now because the binary is run as root with CAP_DAC_READ_SEARCH. Related to #102.

if err := os.MkdirAll(filepath.Dir(sharePath), 0644); err != nil {

@hertg hertg added the bug Something isn't working label Mar 15, 2023
@hertg hertg self-assigned this Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Planned
Development

No branches or pull requests

1 participant