[Discuss] USB thumbdrive, Linux only usage: FAT vs NTFS vs other? TRIM support?
Edward Ned Harvey (blu)
blu at nedharvey.com
Fri Mar 1 08:11:50 EST 2013
> From: discuss-bounces+blu=nedharvey.com at blu.org [mailto:discuss-
> bounces+blu=nedharvey.com at blu.org] On Behalf Of John Abreau
>
> find /path/to/thumb drive -xdev -type f -exec chmod 666 '{}' ';'
> find /path/to/thumb drive -xdev -type d -exec chmod 777 '{}' ';'
You could do the same thing with capital X. Capital X will set the execute bit for directories and not files, unless the x is already set on files.
chmod a+rwX
More information about the Discuss
mailing list