Re: Problem with setfacl on Centos 6

Gerard Hooton <[email protected]> Fri, 7 Oct 2016 08:45:38 +0100
Newsgroups gmane.user-groups.linux.ilug.general
Message-ID <[email protected]>
Thanks Colm and Anders,

Using the option nfsvers=3 fixed the problem.


//Ger


On 06/10/16 18:16, Anders Holm wrote:
> In your fstab entry, what options are specified? Is version set? You can
> force the usage of version 3 or version 4 in your mount options.
>
> //anders
>
> On 06/10/2016 18:02, Colm Buckley wrote:
>> My best guess (not knowing CentOS all that well) is that the new client
>> is unable to negotiate an NFSv4 mount with the server, and is falling
>> back to NFSv3, which doesn't support extended ACLs.
>>
>> RHEL seems to have a separate nfs4_setfacl / nfs4_getfacl command for
>> NFS mounts; this might apply in CentOS also.
>>
>>      Colm
>>
>>
>>
>>
>> On Thu, Oct 6, 2016 at 12:56 PM, Gerard Hooton <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>      Hi Colm.
>>
>>      It was the client that was updated.
>>
>>
>>      //Ger
>>
>>
>>
>>
>>      On 06/10/16 17:48, Colm Buckley wrote:
>>>      Was it the NFS client or the NFS server which was updated? It's
>>>      possible that either the new client or the new server doesn't
>>>      support extended ACLs, or that the way in which the export
>>>      options, or the mount options are specified, have changed.
>>>
>>>          Colm
>>>
>>>
>>>      On Thu, Oct 6, 2016 at 12:28 PM, Gerard Hooton <[email protected]
>>>      <mailto:[email protected]>> wrote:
>>>
>>>          Hi All,
>>>
>>>          I updated my lab computers from CentOS 5.11 to 6.8
>>>
>>>          when I do setfacl -R -m <UID>:rx /<some nfs mounted dir>
>>>
>>>          I get "Operation not supported"
>>>
>>>          This worked fine for CentOS 5.x  but not on CentOS 6.x
>>>
>>>          The problem seems to be related to NFS???
>>>
>>>
>>>          --
>>>          Gerard Hooton.
>>>          Senior Technical Officer
>>>          School of Engineering.
>>>          University College Cork.
>>>          College Road.
>>>          Cork.
>>>          Ireland.
>>>          Tel: +353 21 4902296 <tel:%2B353%2021%204902296>
>>>          Mobile: +353 852813491 <tel:%2B353%20852813491>
>>>
>>>          --
>>>          Irish Linux Users Group
>>>          --- You received this message because you are subscribed to
>>>          the Google Groups "ILUG" group.
>>>          To unsubscribe from this group and stop receiving emails from
>>>          it, send an email to [email protected]
>>>          <mailto:ilug%[email protected]>.
>>>          To post to this group, send an email to [email protected]
>>>          <mailto:[email protected]>.
>>>          Visit this group at
>>>          https://groups.google.com/a/linux.ie/group/ilug/
>>>          <https://groups.google.com/a/linux.ie/group/ilug/>.
>>>          To view this discussion on the web, visit
>>>          https://groups.google.com/a/linux.ie/d/msgid/ilug/875c4cfb-cc04-ef8c-f2d4-dd4bb522b4a7%40ucc.ie
>>>          <https://groups.google.com/a/linux.ie/d/msgid/ilug/875c4cfb-cc04-ef8c-f2d4-dd4bb522b4a7%40ucc.ie>.
>>>
>>>
>>>
>>>
>>>      --
>>>      Colm Buckley / [email protected] <mailto:[email protected]> / +353 87
>>>      2469146 <tel:%2B353%2087%202469146>
>>      --
>>      Gerard Hooton.
>>      Senior Technical Officer
>>      School of Engineering.
>>      University College Cork.
>>      College Road.
>>      Cork.
>>      Ireland.
>>      Tel: +353 21 4902296 <tel:%2B353%2021%204902296>
>>      Mobile: +353 852813491 <tel:%2B353%20852813491>
>>
>>
>>
>>
>> -- 
>> Colm Buckley / [email protected] <mailto:[email protected]> / +353 87 2469146
>>
>> -- 
>> Irish Linux Users Group
>> ---
>> You received this message because you are subscribed to the Google
>> Groups "ILUG" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to [email protected] <mailto:[email protected]>.
>> To post to this group, send email to [email protected] <mailto:[email protected]>.
>> Visit this group at https://groups.google.com/a/linux.ie/group/ilug/.
>> To view this discussion on the web, visit
>> https://groups.google.com/a/linux.ie/d/msgid/ilug/CAPbCDfgcbdd%3DjCe79xFmGmBZ-vjpTfUr91QxQotW3NJLntrTxw%40mail.gmail.com
>> <https://groups.google.com/a/linux.ie/d/msgid/ilug/CAPbCDfgcbdd%3DjCe79xFmGmBZ-vjpTfUr91QxQotW3NJLntrTxw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
Gerard Hooton.
Senior Technical Officer
School of Engineering.
University College Cork.
College Road.
Cork.
Ireland.
Tel: +353 21 4902296
Mobile: +353 852813491

-- 
Irish Linux Users Group
--- 
You received this message because you are subscribed to the Google Groups "ILUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send an email to [email protected].
Visit this group at https://groups.google.com/a/linux.ie/group/ilug/.
To view this discussion on the web, visit https://groups.google.com/a/linux.ie/d/msgid/ilug/39f70efa-69c7-9661-f3f6-d733c732d1d6%40ucc.ie.