lkml.org 
[lkml]   [2005]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: FAT, NTFS, CIFS and DOS attributes
From
H. Peter Anvin said:
> Michael B Allen wrote:
>>
>>>b) if xattr is the right thing, shouldn't this be in the system
>>>namespace rather than the user namespace?
>>
>> If we're just thinking about MS-oriented discretionary access control
>> then
>> I think the owner of the file is basically king and should be the only
>> normal user to that can read and write it's xattrs. So whatever
>> namespace
>> that is (not system).
>>
>
> system namespace means that it's a name defined by the kernel as opposed
> to a name defined by the user. One of the most glaring design errors in
> this whole thing, in my opinion, but if we're going to use xattrs we
> probably should stick with it.
>
> Thus, I'd propose:
>
> system.dosattrib - DOS attributes (single byte)
> system.dosshortname - DOS short name (e.g. for VFAT)

Oh, from the man page I thought 'system' attributes were "extended
attributes to which ordinary processes should not have access". Is that
not true? If it is true, how would an ordinary user change these attrs?

Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.105 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site