Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2015 12:48:08 +0200
From:      =?UTF-8?B?SXN0dsOhbiBIw7Nib3I=?= <hoboristi@gmail.com>
To:        Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>
Cc:        FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: nfs4acl problems on zfs
Message-ID:  <CAAopPm5Q7yr-d63mYN4XzPgh250wHmXnjg4LAspxVe2dQ=gO_A@mail.gmail.com>
In-Reply-To: <CAOgwaMsQPkn0P4VXJsJrtBxkv6s07RenGgQsp-vN0kb0SGuf-A@mail.gmail.com>
References:  <CAAopPm7TMOn2-zSOXXM%2BOty=AgBNBbWe_qPy6gJqhT%2BpiCQpaA@mail.gmail.com> <CAOgwaMsY4w2MRv4CKdqWFsPvxZRV_pVywBYxsTiNeVF-Bb6mkA@mail.gmail.com> <CAAopPm47Urbc22e_ZGTQa2vMfgtHOeRFcQXJiq7Hh3O1RFYrBQ@mail.gmail.com> <CAOgwaMsQPkn0P4VXJsJrtBxkv6s07RenGgQsp-vN0kb0SGuf-A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Its the default seting, I cannot remove nfsv4acls, and can't mount without
that the pool

2015-04-04 12:24 GMT+02:00 Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>:

>
>
> On Sat, Apr 4, 2015 at 3:02 AM, Istv=C3=A1n H=C3=B3bor <hoboristi@gmail.c=
om> wrote:
>
>> Well, I'm not using nfs, its just a mounting option for my zpool, and I
>> would like to delete some files from that pool, locally. Of course, I'm
>> logged in as root.
>>
>>
>
> Is it necessary to use nfs parameter when drive is local to server ?
> If you remove it , can you change mode ?
>
>
> Mehmet Erol Sanliturk
>
>
>
>> 2015-04-04 11:56 GMT+02:00 Mehmet Erol Sanliturk <m.e.sanliturk@gmail.co=
m
>> >:
>>
>>>
>>>
>>> On Sat, Apr 4, 2015 at 2:45 AM, Istv=C3=A1n H=C3=B3bor <hoboristi@gmail=
.com>
>>> wrote:
>>>
>>>> Hi Gents,
>>>>
>>>> I have a problem with a couple of files, I can't delete or modify
>>>> them.. I
>>>> have a zpool named rpool, mounted with nfs4acl option..
>>>> for example:
>>>>
>>>> rpool on /mnt/rpool (zfs, local, nfsv4acls)
>>>>
>>>> *nas4free: bin # getfacl rcp*
>>>> *# file: rcp*
>>>> *# owner: root*
>>>> *# group: wheel*
>>>> *            owner@:r-x---aARWcCos:------:allow*
>>>> *            group@:r-x---a-R-c--s:------:allow*
>>>> *         everyone@:r-x---a-R-c--s:------:allow*
>>>> *nas4free: bin # rm -f rcp *
>>>> *rm: rcp: Operation not permitted*
>>>>
>>>> ls: -r-sr-xr-x  1 root  wheel  20464 Jul 11  2014 rcp*
>>>>
>>>> rm -f rcp
>>>> rm: rcp: Operation not permitted
>>>>
>>>> Soo, what can I do, instead of recreate the zpool? cmod or setfacl did=
nt
>>>> work..
>>>>
>>>>
>>>> Istvan
>>>> _______________________________________________
>>>>
>>>>
>>>
>>> Change mode in server , not in client .
>>>
>>> My opinion is that there are serious problems in NFS programming both i=
n
>>> FreeBSD and Linux .
>>> I am creating a file myself in client , I am not able to change its mod=
e
>>> in the client .
>>>
>>> In server , if logged in as "user" , it is not possible to change mode
>>> or owner of files created by clients although owner of the directories =
of
>>> server is belong to "user" .
>>>
>>> My solution is to log in server as "root" and when it is necessary
>>> change file owner and mode in server .
>>>
>>>
>>> If you like you may use "sudo" instead of logging as "root" when it is
>>> not suitable . .
>>>
>>>
>>> Thank you very much .
>>>
>>>
>>> Mehmet Erol Sanliturk
>>>
>>>
>>>
>>>
>>
>>
>> Istvan
>>
>
>


--=20
*H=C3=B3bor Istv=C3=A1n*
http://hoboristvan. <http://hoboristvan.info>hu
mobil: +36-20/9403051



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAopPm5Q7yr-d63mYN4XzPgh250wHmXnjg4LAspxVe2dQ=gO_A>