From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 19 03:46:34 2012 Received: (at submit) by debbugs.gnu.org; 19 Mar 2012 07:46:34 +0000 Received: from localhost ([127.0.0.1]:56378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S9XIX-0005tr-JA for submit@debbugs.gnu.org; Mon, 19 Mar 2012 03:46:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38230) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S9NEP-0008Ne-W8 for submit@debbugs.gnu.org; Sun, 18 Mar 2012 17:01:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9Mkv-0007pz-LZ for submit@debbugs.gnu.org; Sun, 18 Mar 2012 16:31:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:39570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9Mkv-0007pv-Fk for submit@debbugs.gnu.org; Sun, 18 Mar 2012 16:31:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9Mkt-0001Rk-LK for bug-coreutils@gnu.org; Sun, 18 Mar 2012 16:31:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9Mkr-0007pb-Mu for bug-coreutils@gnu.org; Sun, 18 Mar 2012 16:31:07 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:46137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9Mkr-0007pD-Cq for bug-coreutils@gnu.org; Sun, 18 Mar 2012 16:31:05 -0400 Received: by iajr24 with SMTP id r24so10061519iaj.0 for ; Sun, 18 Mar 2012 13:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9hUSOHGJy6cOhywmZXiyMUAUq/1pYeLLCrxNETDTdUw=; b=X5BJc1ipw1yO+9HYc3JTM6NttLYH+Txq9wX0YCtAE3gOpfnZBq9yDIifX4pNMJsz4q YAO8hGlPrizeZikDN0ikAqxmeFfP33NyhwYnSTPpmLi5MNFBKsTncv9DRRWNkWddFnNu cysEWQte1n9sXjkoIa/q5dKvo1/2BmO/O1O9fnQW7ONOziqLKnQylfrJ8puFWZrtRwF5 UoSruX4k0YHSJ8VzxPFi+J0K0AiWrg5pemajIfK1QJE2eBO8hNxWTcw6OIO0LeUvvYuF JOZgDlaUJ6pz5wERY0VmoPTnPKZEbEaKSH4KXZngx6RNO58EXKSxzJz+e8odI2KxRcOU 1F6Q== MIME-Version: 1.0 Received: by 10.60.1.7 with SMTP id 7mr11261011oei.71.1332102662289; Sun, 18 Mar 2012 13:31:02 -0700 (PDT) Received: by 10.60.55.196 with HTTP; Sun, 18 Mar 2012 13:31:02 -0700 (PDT) Date: Sun, 18 Mar 2012 21:31:02 +0100 Message-ID: Subject: chmod - new feature - restore default mode regarding the umask value From: Julien Blitte To: bug-coreutils@gnu.org Content-Type: multipart/mixed; boundary=e89a8f83a973fd77f004bb8a51d1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 19 Mar 2012 03:46:32 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --e89a8f83a973fd77f004bb8a51d1 Content-Type: multipart/alternative; boundary=e89a8f83a973fd77ed04bb8a51cf --e89a8f83a973fd77ed04bb8a51cf Content-Type: text/plain; charset=UTF-8 Hello, I have used for a while a modified chmod for my own use, I think it could be usefull to other people. The option --umask is added to chmod to be used in order to restore default mode to files and directories regarding the current umask value. Attached, the up to date implementation (git format-patch) for last version of coreutils and gnulib. It save some time for me. Some use cases for this feature: You have just changed your umask value and you want to update your home's files: $ umask 0027 $ chmod --umask --recursive ~ You are a beginer, you have performed mode changes - a mistake - a and you want to restore default mode: $ chmod 3106 my_file.ext $ chmod --umask my_file.ext You copied data from on other file system (e.g. usb key, ntfs) witch does not support rigths (and you forgot to mount with correct fmask / dmask options): $ cp -R /media/usb/data_dir/ ~ $ chmod --umask --recursive ~/data_dir/ You are a system administrator and you want to reset users' files: # umask 0022 # chmod --umask --recursive ~/home/* etc. Regards, -- Julien Blitte --e89a8f83a973fd77ed04bb8a51cf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello,

I have used for a while a modified chmod for my own use, I th= ink it could be usefull to other people.
The option --umask is added to = chmod to be used in order to restore default mode to files and directories = regarding the current umask value.

Attached, the up to date implementation (git format-patch)=C2=A0 for la= st version of coreutils and gnulib.
It save some time for me.

Som= e use cases for this feature:
You have just changed your umask value and= you want to update your home's files:
$ umask 0027
$ chmod --umask --recursive ~

You are a beginer, you= have performed mode changes - a mistake - a and you want to restore defaul= t mode:
$ chmod 3106 my_file.ext
$ chmod --umask my_file.ext

You copied data from on other file system (e.g. usb key, ntfs) witch does n= ot support rigths
(and you forgot to mount with correct fmask / dmask op= tions):
$ cp -R /media/usb/data_dir/ ~
$ chmod --umask --recursive ~/= data_dir/

You are a system administrator and you want to reset users' files:<= br># umask 0022
# chmod --umask --recursive ~/home/*

etc.

= Regards,
--
Julien Blitte
--e89a8f83a973fd77ed04bb8a51cf-- --e89a8f83a973fd77f004bb8a51d1 Content-Type: application/x-gzip; name="chmod-umask-coreutils.patch.gz" Content-Disposition: attachment; filename="chmod-umask-coreutils.patch.gz" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gzyioafy0 H4sICEc2Zk8AA2NobW9kLXVtYXNrLWNvcmV1dGlscy5wYXRjaACtWG1z0zgQ/u5fseTmwGns1M5r K65MeyWlvUtbJkk5ZoDxOLaSiPol+KXAHL3ffivJTpSkIYXBw9SRvPto99nVasVZEocwdpsHXqPt 2c3GhHY996Dje2N66HmHzQO3PfY92z7ojDsULuMIhnQOdhcsi4h/0LAsWztDGAJ/5QGjEfwZsCyj 8MdHMayPxfB4GrosqHtx+EJ76WaUwDCPDLAP4NJNEMRu4B/SaJB2A2qWbVnaMB9/pF5G4N3rk9Hp +QfwZmHsg2nmoZvegm6GVYjnGUObWDgPaEijzOXDuqaZpqlBmnj7QqfuwTcA6BxC7Ycfs3g0sGHC ApqiGW40pb4B7UNgUUoTvmaq16rojQU+DaicMKua5rPJBC2esgzcfdWesTrSWOTTL+C6Ldfrduv1 xmHTnzSaCGd1Wi3uzKq2hnatIRwfg9mwjA7U8G8Xjo81+I1FXpD7GIg081lcn71Q56Y0Q/LWJtOv 6X72dU5TPl9bnU+RXCGuKFTwQ0bD+qyiTvr0zmRRzGe5WZ2GgcGtdZpGw0bDgEZ5CG9oMo5Tln3V YH8PRjOKxKUsoX5BL2QxZDiL3tE6wN4+hpNH18NXknuZ+OAUsnvy/Rxtq+1EM0DmT0LTLE5wOIkT 8FHYwyFD18VqtZ2rOajjeK43w3VrP7uuyKhHr5jQ6XLFkjcWsYy5QYF+5wY5YrMJYMqFbDrLYEwh otSn/iqPYoFMqjlCjfPHUS8mgDYgSulE4UEK8URlCl3x8iRldzT4Wlehx3EcFB8XQVmApjRbIEKe smgKKJjg5gUvoWIDC1pA+KMQU6CiviOMLklYICOhHoUUdSN862k+n6N4iiulGTedJglSHuKUO6Vp ddNkAe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RkhMyJSQmxCXEIKRGyBEhle/EooQKH431HSiAikWITUiDkCYhLULahHQI6aJe 1fiuptrmFhVaqbm8mpt2VUbp8JDvp3azzQvwI8IkH8/FSGHDSlQz7soLI8bhjTPDm81z9fMYrw63 SiWUGCFiKITi8X5O+dWLRu444Neiz2UHj/vhdu1AV5o2XJM3JSuVtlhxxWpHbZtPz08GW76Xec5F QH89uH41OLl0rk4uewac3IzOrwfDqqJabFoiSG3LY6zWbuH7Uckvn3utfPF0lV1pUddE/y0alc1p ePoUNtvXxaEv71S6JZp9rGeeG/FigZ3TmEVULZ6igpX1qUifSnV5euX8UAa99/Zi5JydXPRvBr3y 473sdx4w7tu3VeNAGle4zBVET6C2BMpe3WG8qPDS6qUXD1j+s1BYQ9cIEahKVj/MyWZIRV40D2Re HLQMu/W4vBAAop1bJac4eYomjrfBoggKLhf3KqXdXTS5Ym4zIjuZZxE2fswX6/HGjJ8pn/I4Kxdd rrojVR5j/9qta92H0tz1SvwTNq9D7DR8EdOVn0prjD4V//1plZlwr5kmaHa9W2/XW5r2P3JrXlzS FQAA --e89a8f83a973fd77f004bb8a51d1 Content-Type: application/x-gzip; name="chmod-umask-gnulib.patch.gz" Content-Disposition: attachment; filename="chmod-umask-gnulib.patch.gz" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gzyioihe1 H4sICB85Zk8AA2NobW9kLXVtYXNrLWdudWxpYi5wYXRjaACVVVFv2zYQfuevOKAvtiUrkqxIjjsM duPE8RAvhe2sBbZBoCTKViqJLkWhM5b+9x0p1atrJ0AFQeSRvON3d9+dbgUvwE09PxgOPD+yUy+N L904SJPUcyM7sJ0rP43ZIBpc0gAWvIQV24ETgG2P9AuubTvkFs2M4Lc6z1gJ7/JMSga/PGnRirQ4 3hQ0y62YF7+SKZVsBKu6NMEZwoIKNOK4+Bm53mhwBYbt2DZZ1dETi+UI/nw/WV/f/Q0FT7I0i6nM eFlByVjCEki5gHiLW9Dv1wWtPkGnX3SB79Qpi5B+v08gz6ILPMLiLS03zIoBngGfIRjtc3Jk2x5x oN2rJJX9gsaCV7ip964O6nhmAGmWswoa/UR7lpUVExptx+iaYEPCctbI/S4h6E2KqDeZBHpxAjE6 WSJZmbB/gA69eOBRy7KT2LaTADBYvucpT8/YIYjunK3xGPqO65g+GGpwPMCVgn5iYYnHQr4L2eea 5hV0lFooMd5fQjU1oV0oWKl8YUmXYDAEk7UoYfeWwFcCxLjowbJZojoyWquNDmaHCZ1GkFsqoWKy AlwqsqrSuU0VKymGK83Qvla1AHoXxCBGJUUdywZEa65HDC2inQNcNXSJ8S8xDthe9M6Eyf39ovsW YX/FK+B77DuelZIJkBwoykLQPfD0FZeQAoIhwRPthQoNLB6mN+FqvZz/PjOVlcnqej4HdCQrN00E Yl5KinQBlskt3oaHeCxpDmVdRExoK9WOxVm6VzoKSVTxvJYNCBOwCqp9EfE8i1+C9QVNv8q57SlP ti3nhs4g9iPPstw08X3qvMq57XnObTXnXN+8BAO/viLcuWQ2Ai92KsQdjEwllTcCel0k18saOuqh CnooWHqq+R0xQpo81dWBLCZEnOffiG2eu6Mx1jN1Jk6e1rS65iw/f2SngkPgDSsxHacpOW410ela mxT/ynYdP7YsbzBIHJqcJuVY6/+sHK/rVmAOsBGY2IXHY10AkzxHarYcjzIs0IaoSL2IAU1TbM3I 8WjfdN+mPOFNU7JwfYecDzXv383XK/hLxa2zCuerx/kUu6eazQ6zP9Yfm9nyw8fHw2x2mD10VeEj qMUxGCrYodgQCN5N61zqXwI2j0wgRC72mviQ1uiQ/kG0neQY6vTmdvJ4vw6n86WGjYiNBrHC9Nwi ev6GR0XIDoKg7Uk/CU2wTZ0jLXUT+Rl0y5vZj+geV0uF6kM7LmfL91pux+XD+k7LODaofd9vUCNL iGMF1qXlEfIf6f+0DAgIAAA= --e89a8f83a973fd77f004bb8a51d1-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 19 11:27:00 2012 Received: (at 11043) by debbugs.gnu.org; 19 Mar 2012 15:27:01 +0000 Received: from localhost ([127.0.0.1]:57145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S9eU7-00020d-RG for submit@debbugs.gnu.org; Mon, 19 Mar 2012 11:27:00 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:37541) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S9eTv-00020L-92 for 11043@debbugs.gnu.org; Mon, 19 Mar 2012 11:26:58 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id CD48C39E800D; Mon, 19 Mar 2012 07:56:15 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9EekycDIYdmv; Mon, 19 Mar 2012 07:56:15 -0700 (PDT) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 81C2439E8007; Mon, 19 Mar 2012 07:56:15 -0700 (PDT) Message-ID: <4F67490F.2080907@cs.ucla.edu> Date: Mon, 19 Mar 2012 07:56:15 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Julien Blitte Subject: Re: bug#11043: chmod - new feature - restore default mode regarding the umask value References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11043 Cc: 11043@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Isn't the proposed "chmod --umask FILES" almost the same as "chmod a=,+rwX FILES"? If so, perhaps all we need to do is to update the documentation to mention this already-standardized solution to a common problem. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 20 10:25:30 2012 Received: (at 11043) by debbugs.gnu.org; 20 Mar 2012 14:25:30 +0000 Received: from localhost ([127.0.0.1]:58065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SA009-0001Hr-Lp for submit@debbugs.gnu.org; Tue, 20 Mar 2012 10:25:30 -0400 Received: from mail-gy0-f172.google.com ([209.85.160.172]:40113) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SA007-0001Hk-Eg for 11043@debbugs.gnu.org; Tue, 20 Mar 2012 10:25:29 -0400 Received: by ghbg16 with SMTP id g16so65774ghb.3 for <11043@debbugs.gnu.org>; Tue, 20 Mar 2012 06:54:50 -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=0jVr+IDeH4KG6U9Dzmutd8E3Bqf8+fmXkOWVCETBCoQ=; b=sF/XuBoaVagXUxCldGb92M6dMiftGv8Dk2oeUAoYJxc/45rrwwP3FYaDQIKvMXjImy ujfKaYg81FfEPqpUEy11/XYtjIONo7FPFnoVgPRKOnpmbBQcVBYoVqTxsWMGhV24SrG3 NkxFFhSYgnFBDkXxIlIL9vxKCMih0KfP0P9ZghydtYUkAoq81tXTbe4aIknkdAZgBVsF DJiedXzTyk17Xf9/HgALmewoghmSzBV4Qo97RKESH29FN41TDVycXYw5HpYy29lTn29v KHNnNIe7o3OjCgXOirkw1hPmt1PhNqlKEtyU+F9RGyAMEQFqV/UIPE80OQiukCVV/M/f ylVQ== MIME-Version: 1.0 Received: by 10.60.8.103 with SMTP id q7mr18153902oea.61.1332251690838; Tue, 20 Mar 2012 06:54:50 -0700 (PDT) Received: by 10.60.55.196 with HTTP; Tue, 20 Mar 2012 06:54:50 -0700 (PDT) In-Reply-To: <4F67490F.2080907@cs.ucla.edu> References: <4F67490F.2080907@cs.ucla.edu> Date: Tue, 20 Mar 2012 14:54:50 +0100 Message-ID: Subject: Re: bug#11043: chmod - new feature - restore default mode regarding the umask value From: Julien Blitte To: Paul Eggert Content-Type: multipart/alternative; boundary=e89a8ff1c7dec8aa1904bbad04eb X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11043 Cc: 11043@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) --e89a8ff1c7dec8aa1904bbad04eb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, You are right. To be exact, it's the same as "chmod a=3D,-s,+rwX FILES" (to handle directories SGID and SUID also). Then, these patchs are not usefull, but yes, a few lines more - with this example - in documentation would help some guys like me. Thanks, Julien Le 19 mars 2012 15:56, Paul Eggert a =C3=A9crit : > Isn't the proposed "chmod --umask FILES" almost the > same as "chmod a=3D,+rwX FILES"? If so, perhaps all we need > to do is to update the documentation to mention this > already-standardized solution to a common problem. > --e89a8ff1c7dec8aa1904bbad04eb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello,

You are right.
To be exact, it's the same as "chm= od a=3D,-s,+rwX FILES" (to handle directories SGID and SUID also).
= Then, these patchs are not usefull, but yes, a few lines more - with this e= xample - in documentation would help some guys like me.

Thanks,
Julien


Le 19 mars 2012= 15:56, Paul Eggert <eggert@cs.ucla.edu> a =C3=A9crit :
Isn't the proposed "chmod --umask FILES" almost the
same as "chmod a=3D,+rwX FILES"? =C2=A0If so, perhaps all we need=
to do is to update the documentation to mention this
already-standardized solution to a common problem.

--e89a8ff1c7dec8aa1904bbad04eb-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 27 12:26:01 2012 Received: (at 11043) by debbugs.gnu.org; 27 Mar 2012 16:26:02 +0000 Received: from localhost ([127.0.0.1]:41498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SCZDc-0000Nd-Fg for submit@debbugs.gnu.org; Tue, 27 Mar 2012 12:26:01 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:51140) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SCZD4-0000N0-94 for 11043@debbugs.gnu.org; Tue, 27 Mar 2012 12:25:59 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 4AB14A60003; Tue, 27 Mar 2012 08:54:09 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jzG9cPllFmDQ; Tue, 27 Mar 2012 08:54:08 -0700 (PDT) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id BDE3CA60001; Tue, 27 Mar 2012 08:54:08 -0700 (PDT) Message-ID: <4F71E29C.8060201@cs.ucla.edu> Date: Tue, 27 Mar 2012 08:54:04 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120310 Thunderbird/11.0 MIME-Version: 1.0 To: Julien Blitte Subject: Re: bug#11043: chmod - new feature - restore default mode regarding the umask value References: <4F67490F.2080907@cs.ucla.edu> In-Reply-To: <4F67490F.2080907@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11043 Cc: 11043@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Here's a proposed patch to document the already-existing feature on this point. >From 2defd3856672bacf5c422e616625f13e3a56d9e9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 27 Mar 2012 08:52:20 -0700 Subject: [PATCH] doc: add chmod examples * doc/coreutils.texi (chmod invocation): Add examples. --- doc/coreutils.texi | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 835c245..da1ecc5 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -10299,6 +10299,24 @@ Recursively change permissions of directories and their contents. @exitstatus +Examples: + +@smallexample +# Change file permissions of FOO to be world readable +# and user writable, with no other permissions. +chmod 644 foo +chmod a=r,u+w foo + +# Add user and group execute permissions to FOO. +chmod +110 file +chmod ug+x file + +# Set file permissions of DIR and subsidiary files to +# be the umask default, assuming execute permissions for +# directories and for files already executable. +chmod -R a=,+rwX dir +@end smallexample + @node touch invocation @section @command{touch}: Change file timestamps -- 1.7.6.5 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 15 12:29:07 2018 Received: (at 11043) by debbugs.gnu.org; 15 Oct 2018 16:29:07 +0000 Received: from localhost ([127.0.0.1]:51052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gC5jv-0005tx-F1 for submit@debbugs.gnu.org; Mon, 15 Oct 2018 12:29:07 -0400 Received: from mail-it1-f181.google.com ([209.85.166.181]:32979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gC5jt-0005tP-L4 for 11043@debbugs.gnu.org; Mon, 15 Oct 2018 12:29:05 -0400 Received: by mail-it1-f181.google.com with SMTP id h6-v6so27969462ith.0 for <11043@debbugs.gnu.org>; Mon, 15 Oct 2018 09:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=DyoWC7C7sHoKONeNJvV4d6gUiD6TI0K24DhFiOhk1ps=; b=AMTgI5j5s1zKcaNK/8Bk/G8jNn0AumRr2npo8WXamKn44PU36buAYyHBMP2zTKADIX XZjOplnzZbiPZFq9Sutimqw3HagJStKoxxMj/KhGuTS9+O10iWkkZngp8Hd/9mRyNwep BfgjmVIncJeHKb9A1+5vCgLsMU20aZazaNji7mG9eGX5FRhb0wNVfE66lmORKwS1RDez lSmg6r8RASerP15H/UzwACF79XXtIV+2zTxxbpFyQIVcMeXQikERIXrDmTBmz+GU/zJ7 CDVKfSjH/rQ0QROSt469QIxUjgT9f1Zxt7g3jnAWq8DtWlXp33gj2kpa0L0tGECXCIqg RPlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DyoWC7C7sHoKONeNJvV4d6gUiD6TI0K24DhFiOhk1ps=; b=QXE4pnRMySvZnkiYPH/M1FzACBCJ523c290DHMBpsEyOCUszGP7P5QH4YRdpDe9UDn cOwBuSNDiB0WFg4Ev/L4I5rYOdX7t1Y1Q7b+V2cA+STUlhjgQJ/bAFT+SII0kkle8yQa ViwN2d++OXGev0SB+pJWtAG26qXFvMOOefnRRMJghBumnWFhWe0y76AujWmVs/Q4U3H9 on+W445NUemwO92dL9DMEqespfEo0BIt/Apcu5jKCrbqea8NTYP9xmV6N3lI4GALRYw7 O/UMRGrCl25krVTOKhlwLCvc0j5u5v4ome4zOnahIGKBriTCh73aTTBcNtJfuzt1aQ3A 5Jig== X-Gm-Message-State: ABuFfojvWKCMWqw80Hj3G7JUmWe50ZeXt9KNn/rqHVRLDvWoeSCpUPmz PZpFIvnCrJkAaJ8CW30p9VE6DicAqV0= X-Google-Smtp-Source: ACcGV62cneGEzYUdbx63b1FyrdVX2/v0BsyePrEtgn0XTMlSJPddGeezO1xuiql5vIyH2krJNcBmmw== X-Received: by 2002:a24:c044:: with SMTP id u65-v6mr12645698itf.22.1539620939497; Mon, 15 Oct 2018 09:28:59 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id t196-v6sm4762259ita.30.2018.10.15.09.28.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Oct 2018 09:28:57 -0700 (PDT) Subject: Re: bug#11043: chmod - new feature - restore default mode regarding the umask value To: Paul Eggert References: <4F67490F.2080907@cs.ucla.edu> <4F71E29C.8060201@cs.ucla.edu> From: Assaf Gordon Message-ID: Date: Mon, 15 Oct 2018 10:28:56 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <4F71E29C.8060201@cs.ucla.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 11043 Cc: 11043@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) (triaging old bugs) On 27/03/12 09:54 AM, Paul Eggert wrote: > Here's a proposed patch to document the > already-existing feature on this point. Seems like the patch in https://bugs.gnu.org/11043#14 was ready but never committed. OK to commit? -assaf From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 15 19:56:06 2018 Received: (at 11043) by debbugs.gnu.org; 15 Oct 2018 23:56:06 +0000 Received: from localhost ([127.0.0.1]:51632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCCiT-0004GI-PR for submit@debbugs.gnu.org; Mon, 15 Oct 2018 19:56:05 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:33794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCCiQ-0004Fk-Hu for 11043@debbugs.gnu.org; Mon, 15 Oct 2018 19:56:04 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0127C160FBF; Mon, 15 Oct 2018 16:55:57 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 87JVg_SxtpF3; Mon, 15 Oct 2018 16:55:56 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 18E9A16162E; Mon, 15 Oct 2018 16:55:56 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pO6UxRKgpmCd; Mon, 15 Oct 2018 16:55:56 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id F1BB8160FBF; Mon, 15 Oct 2018 16:55:55 -0700 (PDT) Subject: Re: bug#11043: chmod - new feature - restore default mode regarding the umask value To: Assaf Gordon References: <4F67490F.2080907@cs.ucla.edu> <4F71E29C.8060201@cs.ucla.edu> From: Paul Eggert Openpgp: preference=signencrypt Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= xsFNBE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h+te38gTcISVr0G IPplLz6YhjrbHrPRF1CN5UuL9DBGjxuN35RLNVEfta6RUFlR6NctTjvrABEBAAHCwWUEGAEC AA8FAkyAcmQCGwwFCRLMAwAACgkQ7ZfpDmKqfjSrHA/+KzAKvTxRhA9MWNLxIyJ7S5uJ16gs T3oCjZrBKGEhKMOGX4O0GA6VOEryO7QRCCYah3oxSG38IAnNeiwJXgU9Bzkk85UGbPEd7HGF /VSeHCQwWou6jqUDTSDvn9YhNTdG0KXPM74aC+xr2Zow1O2mhXihgWKD0Dw+0LYPnUOsQ0KO FxHXXYHmRrS1OZPU59BLvc+TRhIhafSHKLwbXK+6ckkxBx6h8z5ccpG0Qs4bFhdFYnFrEieD LoGmnE2YLhdV6swJ9VNCS6pLiEohT3fm7aXm15tZOIyzMZhHRSAPblXxQ0ZSWjq8oRrcYNFx c4W1URpAkBCOYJoXvQfD5L3lqAl8TCqDUzYxhH/tJhbDdHrqHH767jaDaTB1+Talp/2AMKwc XNOdiklGxbmHVG6YGl6g8Lrbsu9NZEI4yLlHzuikthJWgz+3vZhVGyNlt+HNIoF6CjDL2omu 5cEq4RDHM44QqPk6l7O0pUvN1mT4B+S1b08RKpqm/ff015E37HNV/piIvJlxGAYz8PSfuGCB 1thMYqlmgdhd9/BabGFbGGYHA6U4/T5zqU+f6xHy1SsAQZ1MSKlLwekBIT+4/cLRGqCHjnV0 q5H/T6a7t5mPkbzSrOLSo4puj+IToNjYyYIDBWzhlA19avOa+rvUjmHtD3sFN7cXWtkGoi8b uNcby4U= Organization: UCLA Computer Science Department Message-ID: <32d6fcc2-4d16-1d9e-9a85-90b249052f61@cs.ucla.edu> Date: Mon, 15 Oct 2018 16:55:55 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 11043 Cc: 11043@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On 10/15/18 9:28 AM, Assaf Gordon wrote: > On 27/03/12 09:54 AM, Paul Eggert wrote: >> Here's a proposed patch to document the >> already-existing feature on this point. > > Seems like the patch in https://bugs.gnu.org/11043#14 > was ready but never committed. > > OK to commit? Yes, and thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 17 17:45:43 2018 Received: (at 11043) by debbugs.gnu.org; 17 Oct 2018 21:45:43 +0000 Received: from localhost ([127.0.0.1]:55890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCtdP-0000SG-GU for submit@debbugs.gnu.org; Wed, 17 Oct 2018 17:45:43 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:40542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCtdN-0000Rx-Hl; Wed, 17 Oct 2018 17:45:42 -0400 Received: by mail-pl1-f195.google.com with SMTP id 1-v6so13306773plv.7; Wed, 17 Oct 2018 14:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=7cvhhlcLPdae5tMOHlHrLcG8r2M7EHa7s876yCr5pKQ=; b=In2Nk9p00YCUdmCrTw+M5Lc75Bw2TPUha9E/I86Yl/Ih5VyTwAOa4P23teDdWphSny 29Su02Z1oy6uIQbGUXFXSpvPhg/sssMoSbXZLf+5kPjTfqUeJ3SCpog3p5OQIQPCP51r oaG2T5KY9FlMey28BSmbxkaaxZj3AvkUIZYuL1Pt+WsvcqHmHHzhmnbpp7xdDP8jAL6x Ah7dFFIMqW7edO9oaa3n8a9Jlz1X3LVAefHBmuD6vFIkIsieYtYQWZNvXlhzuIfTiFAg RmjCgyo+GW2JjGxibSkTmcUb5pu1vzmA1op9unGFd8+kplNqaswXFdP5S59JpWLifwHU Y37w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7cvhhlcLPdae5tMOHlHrLcG8r2M7EHa7s876yCr5pKQ=; b=Pd2IYFVGUGPjwqgqEeFfreTfBNR+wv+VYBb/4cG8lo2KVxTYQJRvXpxznh47O2N82N rt8HoqwX0vlh/E67BQfTdmVKb1pxzRFd/PvAC6PMOS8Wc8nlCeulDzNhXRJTaYq5sI4K CyfzOBqW0QDy07obZX7Agu5kCfdweeObQSX3PsmE4Rl9rC00vjITU1vexW50uJERiig6 aGdkF+SqYsipJslrTsD371O6A/iyEiiJJQWs43zG3jTYakx/G5gXbKo/7xTctXUNJoGA IrN3+ikZTqBs3LpYCLh6VFH9pUKzZfgybrZdoolu5+jse/OSIET5sEzMUKHGMWMJg9rF nDvA== X-Gm-Message-State: ABuFfoiViOWn0AhbmG6No26Hk0TXLOfbieSKvCa585+TNAt8c0gxT6uE KpGGa/j7oAHmbIwZNg7pHx5nI6FH X-Google-Smtp-Source: ACcGV60RiiGXsrYx1tIYn20itgxzy7My7i84fIdbKhxmxyjJOYICksBgHIGHbiIhX60NpCRxyxg/Ew== X-Received: by 2002:a17:902:ceb:: with SMTP id 98-v6mr28042924plt.331.1539812734848; Wed, 17 Oct 2018 14:45:34 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id y71-v6sm27005328pfk.70.2018.10.17.14.45.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Oct 2018 14:45:33 -0700 (PDT) Subject: Re: bug#11043: chmod - new feature - restore default mode regarding the umask value To: Paul Eggert , 11043@debbugs.gnu.org References: <4F67490F.2080907@cs.ucla.edu> <4F71E29C.8060201@cs.ucla.edu> <32d6fcc2-4d16-1d9e-9a85-90b249052f61@cs.ucla.edu> From: Assaf Gordon Message-ID: <3ec9e21e-4cae-e146-d391-4529014749d3@gmail.com> Date: Wed, 17 Oct 2018 15:45:31 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <32d6fcc2-4d16-1d9e-9a85-90b249052f61@cs.ucla.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 11043 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 11043 fixed close 11043 stop On 15/10/18 05:55 PM, Paul Eggert wrote: > On 10/15/18 9:28 AM, Assaf Gordon wrote: >> On 27/03/12 09:54 AM, Paul Eggert wrote: >>> Here's a proposed patch to document the >>> already-existing feature on this point. >> >> Seems like the patch in https://bugs.gnu.org/11043#14 >> was ready but never committed. >> >> OK to commit? > > Yes, and thanks. > Pushed here: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=4d5db7193c956a8fc33b57456cf51d7bca17e586 From unknown Sat Aug 16 21:22:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 15 Nov 2018 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator