Spaces:
Runtime error
Runtime error
| import os | |
| for base in ["/data", "/app", "/home", "/tmp", "/"]: | |
| print(f"\n=== CHECK {base} ===") | |
| try: | |
| for root, dirs, files in os.walk(base): | |
| for name in files[:5]: | |
| print(os.path.join(root, name)) | |
| break | |
| except: | |
| print("cannot access") |