Comments (3)
Thanks for the report, but repeating these steps does not lead to above mentioned error in my case. I simply get.
opendir failed for /tmp/a: Permission denied
I'll surely investigate it later, but could you provide some info about your setup?
- What system do you have?
(uname -a
,lsb_release -drc
) - What gcc version have you used for building metastore?
(gcc -v
) - Do you use any custom FLAGS during build?
(set | grep FLAGS=
) - What libc implementation and version are you using?
- What filesystem do you use and how it is mounted?
(mount | grep $(df /tmp | awk 'NR==2{print$1}')
)
from metastore.
I was able to reproduce this using the following steps:
mkdir /tmp/a
touch /tmp/a/foo
setfattr -n user.foo -v foo /tmp/a/foo
chmod 000 /tmp/a/foo
metastore -s /tmp/a/
#0 0x00007ffff784d627 in raise () from /lib64/libc.so.6
#1 0x00007ffff784edba in abort () from /lib64/libc.so.6
#2 0x00007ffff788c423 in __libc_message () from /lib64/libc.so.6
#3 0x00007ffff7894158 in _int_free () from /lib64/libc.so.6
#4 0x00007ffff7897828 in free () from /lib64/libc.so.6
#5 0x0000000000402c00 in mentry_free (m=0x60b5e0) at ./src/metaentry.c:57
#6 0x0000000000403008 in mentry_create (path=0x7fffffffc860 "/var/tmp/d/foo") at ./src/metaentry.c:282
#7 0x00000000004030cf in mentries_recurse (path=0x1ca7 <error: Cannot access memory at address 0x1ca7>,
mhash=0x1ca7, st=0x6) at ./src/metaentry.c:336
#8 0x00000000004031c3 in mentries_recurse (path=0x1ca7 <error: Cannot access memory at address 0x1ca7>,
path@entry=0x608020 "/var/tmp/d", mhash=0x1ca7, st=0x6, st@entry=0x606400 <settings>)
at ./src/metaentry.c:357
#9 0x000000000040329c in mentries_recurse_path (opath=<optimized out>, mhash=0x7fffffffd8d0,
st=0x606400 <settings>) at ./src/metaentry.c:372
#10 0x00000000004017ea in main (argc=3, argv=0x7fffffffd9f8) at ./src/metastore.c:522
from metastore.
Thank you, @dfandrich, for refined reproduction steps.
I'll look into it this week.
from metastore.
Related Issues (20)
- Cygwin support HOT 2
- More documentation with exemplary git hooks HOT 1
- Change default installation prefix to /usr/local HOT 1
- Parallelize store action HOT 3
- Add option to show metastore version (`-V`, `--version`) HOT 1
- Store and apply actions fail when user or group ID of some dirs/files in file system has no entry in password or group database HOT 4
- Mac support HOT 6
- Cygwin and Mingw (Windows) support HOT 3
- Can't change owner when current owner is numeric UID HOT 2
- OpenBSD support
- Reading metadata file with xattrs leads to corruption in memory on 64-bit platforms HOT 7
- Managing Git workflows in large repos HOT 1
- Record attributes only for specified dirs/files HOT 1
- Apply action silently proceeds when owner or group of some dirs/files in metadata has no entry in password or group database
- Revamp messages and their verbosity levels
- Introduce OS-agnostic API internally to support different POSIX systems
- Do not skip nanoseconds when applying mtime HOT 1
- Release new version
- Support other attributes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metastore.