Skip to content

Updated permissions plugin to change directory permissions too.#1324

Merged
xsteadfastx merged 5 commits intobeetbox:masterfrom
xsteadfastx:master
Feb 17, 2015
Merged

Updated permissions plugin to change directory permissions too.#1324
xsteadfastx merged 5 commits intobeetbox:masterfrom
xsteadfastx:master

Conversation

@xsteadfastx
Copy link
Contributor

tried to implement feature request #1308. whats your opinion about it? i added my own way to find the folders to run chmod on. like this it only changes artist and album folders in the beets directory and not on full ancestors.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any particular reason not to just use a set to begin with?

@sampsyo
Copy link
Member

sampsyo commented Feb 14, 2015

Looks like it's on the right track! I'd love to avoid some of the complexity in get_music_directories, though, which may be easy by reusing some existing code.

@xsteadfastx
Copy link
Contributor Author

you know what? thank you so much for your comments. im still a beginner and this helps me alot. i will try my best :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about ancestor.startswith(library) for specificity?

@sampsyo
Copy link
Member

sampsyo commented Feb 17, 2015

Looking good! Could you please add a changelog entry? After that (and the tiny thing above), please go ahead and hit the merge button. 😃 ✨

xsteadfastx added a commit that referenced this pull request Feb 17, 2015
Updated permissions plugin to change directory permissions too.
@xsteadfastx xsteadfastx merged commit 1249911 into beetbox:master Feb 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants