[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automatic downloading of non-free software by stuff in main



On Wed, 2017-12-06 at 09:09 +0500, Andrey Rahmatullin wrote:
> On Tue, Dec 05, 2017 at 12:48:36PM -0800, Diane Trout wrote:
> > I would love for files downloaded via a web browser or email client to
> > be marked as having come from the Internet. (Major bonus points if a
> > sync tool like nextcloud can keep files I generated labeled separate
> > from ones my coworkers made)
> > 
> > OS X web browsers do this, and when you try to open them the OS will
> > prompt "this came from the internet, do you want to open it". It looks
> > like its implemented with a few extended attributes. [1]
> 
> Windows too (implemented with NTFS alternate data streams).
> 
> > Do most of our file systems have extended attributes turned on by now?
> 
> I think (or at least hope) so.

Yes, xattrs are supported in most filesystems on Linux and our official
kernel packages enable them wherever they're an optional feature.

$ grep -rwl xattr_handler fs | grep -o '^fs/[^/]*/' | sort -u
fs/9p/
fs/afs/
fs/btrfs/
fs/ceph/
fs/cifs/
fs/ecryptfs/
fs/ext2/
fs/ext4/
fs/f2fs/
fs/fuse/
fs/gfs2/
fs/hfs/
fs/hfsplus/
fs/jffs2/
fs/jfs/
fs/kernfs/
fs/nfs/
fs/ocfs2/
fs/orangefs/
fs/overlayfs/
fs/reiserfs/
fs/squashfs/
fs/ubifs/
fs/xfs/

Ben.

-- 
Ben Hutchings
If the facts do not conform to your theory, they must be disposed of.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: