Re: lsetxattr/lgetxattr on ext4.

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

 



Eric Sandeen wrote:
> Mingming Cao wrote:
>> On Wed, 2010-03-31 at 17:06 -0700, jvrao wrote:
>>> lsetxattr()/lgetxsttr() functions are not working on a ext4 symlink. 
>>> But works fine on a regular file.
>>>
>>> I tried the following program.. Not sure if I am missing something.
>>> Any help will be appreciated.
>>>
>>>
>>
>> I tried your test program on ext2/3/btrfs, it seems all broken. 
>> Not sure how this not being visible? Thought xattrs are heavily used by
>> default on some distros.
> 
> xfs as well FWIW.
> 
> however, I'm not sure setting user xattrs directly on symlinks is
> a common operation...

Looking at the  attr(5) says user xattrs are not allowed on symlinks and special files.
I guess it is working as designed. :)

- JV

> 
> -Eric
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux