From owner-freebsd-questions@FreeBSD.ORG Sat Apr 4 10:48:10 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7B61BDC3 for ; Sat, 4 Apr 2015 10:48:10 +0000 (UTC) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 05BA4831 for ; Sat, 4 Apr 2015 10:48:10 +0000 (UTC) Received: by wiaa2 with SMTP id a2so162201863wia.0 for ; Sat, 04 Apr 2015 03:48:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=82z5JoLRgtuALI2IlTKe256CVaV4IHwjlfxoVQxtZdk=; b=k4pNKD4TD2PjiExAF1LNsWjaFYrgr78U/j0cHj21FDl0chIlBvVzUHhjShwVsmek4V YYsY7bKMzUqe0FgAkPiSm7GEG22ptg9kAqNm9d26qySJxJAMfOSxLScBVsX7X2hLtg6L ffz9mkmaygYeA2j6WQ3Yy7Ox/lwAbQSPOhwNJ3Ggs2FLhYFm3T95A55pbq8tiwVwW6lz Oixo8Gv421aXHrLgoid6C7ONzO5lTdwQKPMG+JnS2aXXghPMpFeItB0uae41IRCcunPa KEHHbDVj7kmU/bY+qxCtA0MeWJWVr9Wg3HNFFE7cxtg/KYR11xPfTiJSMaFLqIVV40m4 XVhw== MIME-Version: 1.0 X-Received: by 10.194.192.167 with SMTP id hh7mr13090337wjc.151.1428144488441; Sat, 04 Apr 2015 03:48:08 -0700 (PDT) Received: by 10.180.5.1 with HTTP; Sat, 4 Apr 2015 03:48:08 -0700 (PDT) In-Reply-To: References: Date: Sat, 4 Apr 2015 12:48:08 +0200 Message-ID: Subject: Re: nfs4acl problems on zfs From: =?UTF-8?B?SXN0dsOhbiBIw7Nib3I=?= To: Mehmet Erol Sanliturk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2015 10:48:10 -0000 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 : > > > On Sat, Apr 4, 2015 at 3:02 AM, Istv=C3=A1n H=C3=B3bor 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 > >: >> >>> >>> >>> On Sat, Apr 4, 2015 at 2:45 AM, Istv=C3=A1n H=C3=B3bor >>> 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. hu mobil: +36-20/9403051