Samba share and file attributes

Eric Shubert ejs at shubes.net
Thu Apr 16 09:37:33 MST 2009


Alan Dayley wrote:
> On Thu, Apr 16, 2009 at 9:00 AM, Craig White <craigwhite at azapple.com> wrote:
>> ----
>> I think we just went through this with someone else on list a
>> month or so ago.
>>
>> You probably want to check how the file system is mounted
>> xattr? as that is pretty key to getting extended attributes.
>>
>> You will definitely want to look at the man page for smb.conf
>> - specifically at the 'ea support' and 'store dos attribtes' sections.
>>
>> The 'map' attributes functionality pretty much depends upon
>> them. create mask & force commands might influence (override)
>> some of the other settings.
> 
> The file system is not mounted xattr.  Is there an easy way to:
> 
> - Confirm that the kernel can support xattr?
> -- This is a Red Hat Enterprise Linux 5 system

CentOS5 does, so I'd bet that RHEL5 does as well.

> - Remount the file system with xattr?
> -- Samba shares are at /var/sambashares.  Lots of other important
> stuff is in the /var mount tree, as you may well imagine.

I don't know of a problem with doing so. I have one server with the 
whole / mounted with user_xattr (it's a VM, so I didn't bother with 
separate partitions).

> Alan


-- 
-Eric 'shubes'



More information about the PLUG-discuss mailing list