Hi all,

Just wanted to mention a further annoyance:

I have a few scripts rigged up to backup my /home folder to an external
hard drive (which is FAT32).  I recently did a fresh install of Ubuntu
9.10, which I then copied (restored) my files from the external hard
drive, and I just recently noticed everything having the +x bit set.

I should have done a little more research I suppose on this issue before
trusting FAT32 to holding my files.

I've created a semi-fix for anyone with a similar problem:
$ find . -perm /+x -type f -print0 | xargs -0 chmod -c -x

That command should recursively work with the current directory down and
remove the "x" bit from any file, excluding folders.

The only dilemma I'm facing now is a way to avoid removing the "+x" bit
from legitimate files (executables, scripts, etc) that need it.

-- 
NTFS and FAT partitions mounted with executable bits create lots of annoyance
https://bugs.launchpad.net/bugs/78505
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to