[clug] Editing FAT attributes in Linux

Scott Ferguson scott.ferguson.clug at gmail.com
Wed Feb 4 00:59:34 MST 2015

On 04/02/15 18:39, Alex Satrapa wrote:
> On 4 Feb 2015, at 18:00, Scott Ferguson
> <scott.ferguson.clug at gmail.com> wrote:
>> It's unclear to me what you want.
> I want to set the “hidden” attribute of files on FAT and FAT32 file
> systems, from a Unix command line.

because I am sharing that filesystem with other people... (the full what?)

Which still doesn't explain *why* .files are on those filesystems. Hence
my comment about XDG allergies.  Though I suspect when you say "UNIX"
you mean OSX (Linux != UNIX - except when some people can't get an
answer to a question about OSX).  :(

Does OSX scatter .files over the filesystem?
I ask because in my limited experience, Linux does not, but OSX
(._resource fork files) does.

>> The simplest solution is to simply leave Windows "hide known file
>> extensions" enabled - which, if memory serves correctly, makes
>> .files hidden.
> I don’t have control over the other users’ systems. 

Hence my "unclear" comment - you hadn't mentioned "other users" previously.

> I do have control
> over the file system I’m producing. I don’t have qualms about file
> system metadata being stored in dot files, but lots of Windows users
> seem to consider it “rude” for all these strange files to be littered
> all over the file system. FAT doesn’t support xattrs so the data has
> to be stored *somewhere*.
> My way of solving the problem is to hide the files from view.

Which mattrib will do for you.

> After
> all, perception is reality :)

Um, OK [nods and backs away]

> Alex

Kind regards

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/linux/attachments/20150204/bbb084c2/attachment.pgp>

More information about the linux mailing list