un-ntfs
This commit is contained in:
parent
328cf0c94e
commit
b4a5907d01
7
un-ntfs.sh
Executable file
7
un-ntfs.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/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
|
Loading…
Reference in a new issue