Skip to content

Use -perm /a+x instead of -perm +a+x in calls to find #19983

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

Merged
merged 1 commit into from
Dec 22, 2014

Conversation

Munksgaard
Copy link
Contributor

The use of +a+x is deprecated.

Fixes #19981.

bors added a commit that referenced this pull request Dec 19, 2014
Use `-perm /a+x` instead of `-perm +a+x` in calls to find

Reviewed-by: alexcrichton
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Dec 21, 2014
@alexcrichton
Copy link
Member

@Munksgaard
Copy link
Contributor Author

Ah, well that ain't good. The current approach -perm +a+x fails for me though, on Gentoo. Maybe try something different?

$ find --version
find (GNU findutils) 4.5.14
Packaged by Gentoo (4.5.14-r1)
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS(FTS_CWDFD) CBO(level=2) 

Edit for clarification: find +a+x fails for me.

@bors bors merged commit 3d6babe into rust-lang:master Dec 22, 2014
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.

mk/tests.mk: find -perm +mode is deprecated
3 participants