You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
# Brutally reset file permissions to sane defaults for files/folders that have
|
|
# been tainted by a poorly mounted NTFS drive (777).
|
|
pushd "$1"
|
|
fdfind -t f -x chmod 644
|
|
fdfind -t d -x chmod 755
|
|
popd
|