View Single Post
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#28
Originally Posted by joerg_rw View Post
This is regularly going to fail, you cannot chmod +x any file on MyDocs since MyDocs is a FAT fs.
Really? Not meaning to be facetious at all, I was genuinely intrigued.

Code:
~/MyDocs $ touch bla
~/MyDocs $ ls -l bla
-rwxrwxrwx    1 user     root             0 Aug 28 22:54 bla
~/MyDocs $ chmod +x bla
~/MyDocs $ ls -l bla
-rwxrwxrwx    1 user     root             0 Aug 28 22:54 bla
~/MyDocs $ chmod -x bla
~/MyDocs $ ls -l bla
-rwxrwxrwx    1 user     root             0 Aug 28 22:54 bla
~/MyDocs $
I was expecting the 777 permissions and chmod +x being pointless. What surprised me a bit was that chmod -x had no effect either. And yes, I also tried as root with the same result.