From owner-freebsd-questions@FreeBSD.ORG Sat Apr 4 10:02:03 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 3514F441 for ; Sat, 4 Apr 2015 10:02:03 +0000 (UTC) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (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 B479E22B for ; Sat, 4 Apr 2015 10:02:02 +0000 (UTC) Received: by wgin8 with SMTP id n8so37999845wgi.0 for ; Sat, 04 Apr 2015 03:02:01 -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=j9qp+yfydR+sL6+NivdDWZJSE42b+JstWlX1iy+5Q6E=; b=V/Jel3fTLgPb0EVHpYBu1EnSJ6HTbAQs3jSsOtwbBKGtL7ZhG+cHVDePGpKiODcfhj YB5UdvBbi1lJuviyUCVq9rVNZcJ3FD2BeFtZFSBu+62D7L+3Sacio6kRHGqPf6IXBbJT WMaWAdfWja7EQmmVhGaHcEBoPq9SmJln4WZ5r+EBHbjhUMDZaQip2rPaGof6ZM8fYcER wZURlu3139jOcR9JDDvyXRhNU8O8V/4F3pQfm10pTU0pA3bZKT6PybHaBw6VZJXKdfiS uGHNrdq/d6Qb2Dw8yot1WzrD3qW+KLkpm/p/RoS78lAqAv/4wBgkqOZhA7X02kH3f7ne D1lQ== MIME-Version: 1.0 X-Received: by 10.194.222.135 with SMTP id qm7mr13007158wjc.14.1428141721166; Sat, 04 Apr 2015 03:02:01 -0700 (PDT) Received: by 10.180.5.1 with HTTP; Sat, 4 Apr 2015 03:02:01 -0700 (PDT) In-Reply-To: References: Date: Sat, 4 Apr 2015 12:02:01 +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:02:03 -0000 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. 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 didnt >> work.. >> >> >> Istvan >> _______________________________________________ >> >> > > Change mode in server , not in client . > > My opinion is that there are serious problems in NFS programming both in > FreeBSD and Linux . > I am creating a file myself in client , I am not able to change its mode > 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 no= t > suitable . . > > > Thank you very much . > > > Mehmet Erol Sanliturk > > > > Istvan