-
Notifications
You must be signed in to change notification settings - Fork 595
New profile: mimetype #6247
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
New profile: mimetype #6247
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to be a common CLI utility that is intended to be used on
arbitrary files and I think it's likely that other programs may depend on it.
In which case, it might make sense to avoid blacklisting paths and using
private-
commands to avoid potentially breaking common use cases and/or other
tools, especially since the PR enables the profile by default.
Also, note that it reads ~/.local/share/mime
, so using private
would break
that.
Does it work with the following?
read-only /
If not, how about the following?
read-only ${HOME}
read-only ${RUNUSER}
read-only /tmp
Totally forgot about private, I removed it. read-only / So I went for your suggested Those work fine. |
3f0b308
to
271d394
Compare
Description: Determines the file type. https://metacpan.org/release/File-MimeInfo https://archlinux.org/packages/extra/any/perl-file-mimeinfo/
Use one item per line to make them easier to read. Relates to #5646 #5675 #5682 #5691 #5706 #5707 #5710 #5729 #5733 #5761. Relates to #5780 #5847 #5881 #5885 #5887 #5892 #5920 #5934 #5935 #5943. Relates to #5947 #5954 #6007 #6008 #6009 #6013 #6027 #6028 #6030 #6039. Relates to #6083 #6155 #6180 #6181 #6219 #6226 #6227 #6231 #6232 #6233. Relates to #6234 #6235 #6236 #6237 #6241 #6243 #6244 #6245 #6246 #6247. Relates to #6249 #6250 #6251 #6253 #6254 #6255 #6256 #6259 #6293 #6314. Relates to #6315 #6327 #6328 #6333 #6341 #6365 #6422 #6463 #6536 #6549. Relates to #6558 #6577 #6583 #6584 #6585 #6586 #6587 #6588 #6589 #6590. Relates to #6616 #6654 #6669 #6678 #6679.
mimetype
Description: Determines the file type.
https://metacpan.org/release/File-MimeInfo
https://archlinux.org/packages/extra/any/perl-file-mimeinfo/