Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
mount_slccmpt01()
def do_folder(path):
results = w.ls(path, return_data = True)
for result in results:
w.chmod(path + '/' + result['name'], 0x666)
if not result['is_file']:
do_folder(path + '/' + result['name'])
do_folder('/vol/storage_slccmpt01')
unmount_slccmpt01()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment