From c49ea68c55be3e9fe8d2bc57815988bd92bb5ebf Mon Sep 17 00:00:00 2001 From: krad Date: Mon, 1 Aug 2016 16:29:33 -0700 Subject: [PATCH] Fix to enable running CI jobs locally Summary: We may not have permission on all /dev/shm to fix the sticky bit. Making the sticky bit fix advisory. Test Plan: Run CI job locally Subscribers: andrewkr, dhruba, leveldb Differential Revision: https://reviews.facebook.net/D61371 --- build_tools/rocksdb-lego-determinator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/rocksdb-lego-determinator b/build_tools/rocksdb-lego-determinator index c3f32820c..6e14f72c1 100755 --- a/build_tools/rocksdb-lego-determinator +++ b/build_tools/rocksdb-lego-determinator @@ -59,7 +59,7 @@ fi CLEANUP_ENV=" { 'name':'Cleanup environment', - 'shell':'rm -rf /dev/shm/rocksdb && mkdir /dev/shm/rocksdb && chmod +t /dev/shm && make clean', + 'shell':'rm -rf /dev/shm/rocksdb && mkdir /dev/shm/rocksdb && (chmod +t /dev/shm || true) && make clean', 'user':'root' }"