From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B15F91386C3 for ; Sat, 26 Jan 2013 23:05:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E9F921C046; Sat, 26 Jan 2013 23:05:18 +0000 (UTC) Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6503721C036 for ; Sat, 26 Jan 2013 23:05:16 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id 16so958931wgi.15 for ; Sat, 26 Jan 2013 15:05:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :organization:x-mailer:mime-version:content-type :content-transfer-encoding; bh=3CtXvCJY1cuW7dIOt4tWAG9x3QTSQ4cdbJTCm8pg+dE=; b=Nthx/n9kKH4ZgUpgPGA3t0bqS1K9+F1eLwh1CFE8Ma1qfH2aM9FrcHfr9VnO9Sk8B4 5ubHxY7md0ZVSp5q0TvS0uEyA927Clk5bRXziz+i5/6dls1RynZHX8JVXbYMvPFZa73E 7FkGKJTAfssopimjSmzCeiNX2KGLppNUWEn3Mdff2zGg4OJai7DPfelnWuRoNLc/p4cn KxezZQo7rw53pIiA0p1RFK3t8JiZdV4r50OWvwTW8Qt5liZD8fvStPOdf719NMCIRh3s 23PjCEBkNPtUxxqvZZkITpNKG/n1tAWmM93AkiTCbBU/m2QD5phO808W7LOUU5k9iHrX +TXg== X-Received: by 10.180.84.193 with SMTP id b1mr3481610wiz.26.1359241515053; Sat, 26 Jan 2013 15:05:15 -0800 (PST) Received: from khamul.example.com (196-210-100-45.dynamic.isadsl.co.za. [196.210.100.45]) by mx.google.com with ESMTPS id eo10sm5374169wib.9.2013.01.26.15.05.11 (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 26 Jan 2013 15:05:13 -0800 (PST) Date: Sun, 27 Jan 2013 01:04:30 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Subdirectories on NFS server missing 'executable' permission Message-ID: <20130127010430.03803eaa@khamul.example.com> In-Reply-To: <510400BB.5090407@seichter.de> References: <510400BB.5090407@seichter.de> Organization: Internet Solutions X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.14; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 6cbd2a84-2c0c-415d-9170-42165b396b88 X-Archives-Hash: d68317de6a1644175c07ce41baebf1b4 On Sat, 26 Jan 2013 17:13:47 +0100 Ralph Seichter wrote: > Hi list members, > > I set up Gentoo as an NFS server, and I am experiencing problems with > one of my NFS clients. When this specific client creates new > directories within the NFS-exported directory, the permissions are > 0644 instead of 0755 ('executable' is missing). The client does not > allow passing any arguments when mounting a remote directory, so I > wonder if this can be fixed on the server side? My exports > configuration looks like this: > > # /etc/exports > /mnt/foo > 192.168.235.0/24(rw,async,all_squash,no_subtree_check,anonuid=1003,anongid=1003,insecure) /mnt/bar > 192.168.235.0/24(rw,sync,no_root_squash,no_subtree_check,anonuid=1003,anongid=1003,insecure) > > Both /mnt/foo and /mnt/bar were created like this: > > mkdir /mnt/foo && chown root:root /mnt/foo && chmod 1777 /mnt/foo > > It does not matter whether the client creates a new directory > in /mnt/foo or /mnt/bar, the executable bit is always missing. > > Your ideas are appreciated. Thanks! What sort of client is this, and what umask is it using? That's regular shell umask, not some fancy thing related to fs mounts. -- Alan McKinnon alan.mckinnon@gmail.com