From unknown Mon Aug 18 11:20:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11696: Bug found in Putty linux Resent-From: Vai Dy Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 13 Jun 2012 16:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11696 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 11696@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.133960424315354 (code B ref -1); Wed, 13 Jun 2012 16:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jun 2012 16:17:23 +0000 Received: from localhost ([127.0.0.1]:41107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SeqG3-0003za-25 for submit@debbugs.gnu.org; Wed, 13 Jun 2012 12:17:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55735) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sel7z-0003Kb-Jy for submit@debbugs.gnu.org; Wed, 13 Jun 2012 06:48:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sel5H-00076J-1J for submit@debbugs.gnu.org; Wed, 13 Jun 2012 06:45:56 -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]:34731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sel5G-00076C-SC for submit@debbugs.gnu.org; Wed, 13 Jun 2012 06:45:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sel5F-0002ai-7m for bug-coreutils@gnu.org; Wed, 13 Jun 2012 06:45:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sel5B-00075K-I9 for bug-coreutils@gnu.org; Wed, 13 Jun 2012 06:45:52 -0400 Received: from mail-gg0-f169.google.com ([209.85.161.169]:34898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sel5B-00074c-9R for bug-coreutils@gnu.org; Wed, 13 Jun 2012 06:45:49 -0400 Received: by ggm4 with SMTP id 4so323662ggm.0 for ; Wed, 13 Jun 2012 03:45:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=yWYVSl4R8gFcnm4ZW+FQ81W+vS+W3AJFxSPc9vSZGNs=; b=NB/tsM1yJe6QHepYMiq54kW5YgXICl8UO9mKJsIwPIkDugcPQRnZzfPv/vl1/tqUy2 h3OCyY4EEjKTmael+5MGTkujnEwTC4vyB8pL+gPRCup0OK9D49fkkTFeWL1knK/usHlg bDKVa5O4RqC5Buxb/XVUCR1jcTXx1+htl4YnmdGvz7XqUHmGVKuxhth8XNb4e2bGs2ev wvRmAHqvF4gnYAq6+AYY+OW1xzEnLWiyXZxcj1ip4rzz44B1XchK0fQ/hn3X4iZaLpdB sUaXJ4xrmYBdlE33vVFAyDEdEQ7yF1sOxFt+KOkE8HdzmiNsVjO9YVJ0PVVIu9owtc7N dQVw== Received: by 10.60.2.138 with SMTP id 10mr24093069oeu.58.1339584346390; Wed, 13 Jun 2012 03:45:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.226.72 with HTTP; Wed, 13 Jun 2012 03:45:26 -0700 (PDT) From: Vai Dy Date: Wed, 13 Jun 2012 16:15:26 +0530 Message-ID: Content-Type: multipart/alternative; boundary=e89a8f83ac251d016304c2584908 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-Mailman-Approved-At: Wed, 13 Jun 2012 12:17:22 -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 (------) --e89a8f83ac251d016304c2584908 Content-Type: text/plain; charset=ISO-8859-1 Hi, Currently i'm using putty 0-55 version. Just clarify me whether its a bug or not . 1)Creating a directory 2)Removing all the permission like read, write and execute for owners , groups and users. 3)If i try to delete the file what would be the output ? Thanks! Vaidyanathan.S --e89a8f83ac251d016304c2584908 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

=A0 =A0Currently i'm using putty 0-55 version. J= ust clarify me whether its a bug or not .

1)Creati= ng a directory
2)Removing=A0all the permission like read, write a= nd execute for owners , groups and users.
3)If i try to delete the file what would be the output ?
Thanks!
Vaidyanathan.S
--e89a8f83ac251d016304c2584908-- From unknown Mon Aug 18 11:20:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11696: Bug found in Putty linux Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 13 Jun 2012 16:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11696 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Vai Dy Cc: 11696@debbugs.gnu.org Received: via spool by 11696-submit@debbugs.gnu.org id=B11696.133960603618218 (code B ref 11696); Wed, 13 Jun 2012 16:48:01 +0000 Received: (at 11696) by debbugs.gnu.org; 13 Jun 2012 16:47:16 +0000 Received: from localhost ([127.0.0.1]:41161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Seqix-0004jl-FP for submit@debbugs.gnu.org; Wed, 13 Jun 2012 12:47:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58867) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Seqiv-0004ja-W5; Wed, 13 Jun 2012 12:47:15 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5DGiOKA001266 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 13 Jun 2012 12:44:24 -0400 Received: from [10.36.116.72] (ovpn-116-72.ams2.redhat.com [10.36.116.72]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q5DGiMSJ011625 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 13 Jun 2012 12:44:23 -0400 Message-ID: <4FD8C365.1070908@draigBrady.com> Date: Wed, 13 Jun 2012 17:44:21 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 References: In-Reply-To: X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=ISO-8859-1 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id q5DGiOKA001266 X-Spam-Score: -6.9 (------) 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.9 (------) tags 11696 + notabug close 11696 stop On 06/13/2012 11:45 AM, Vai Dy wrote: > Hi, >=20 > Currently i'm using putty 0-55 version. Just clarify me whether its = a > bug or not . Note putty is just a program on your windows system to access the linux s= ystem. You can see what linux system you're on with: lsb_release -d You can see what version of rm you're using with: rm --version > 1)Creating a directory > 2)Removing all the permission like read, write and execute for owners , > groups and users. > 3)If i try to delete the file what would be the output ? You should be able to remove the file or dir. The dir permissions control operations on files/dirs within the directory, rather than the directory itself. cheers, P=E1draig. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 14 13:00:49 2012 Received: (at control) by debbugs.gnu.org; 14 Jun 2012 17:00:49 +0000 Received: from localhost ([127.0.0.1]:42547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfDPd-0008P3-F7 for submit@debbugs.gnu.org; Thu, 14 Jun 2012 13:00:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4320) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfDPT-0008Oi-JI; Thu, 14 Jun 2012 13:00:45 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5EGviN5001176 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 14 Jun 2012 12:57:44 -0400 Received: from [10.36.116.52] (ovpn-116-52.ams2.redhat.com [10.36.116.52]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q5EGvfr5010764 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 14 Jun 2012 12:57:43 -0400 Message-ID: <4FDA1805.1010309@draigBrady.com> Date: Thu, 14 Jun 2012 17:57:41 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 To: Vai Dy Subject: Re: bug#11709: allows the user to modify the file when no access is given References: In-Reply-To: X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=ISO-8859-1 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id q5EGviN5001176 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control Cc: 11709@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: -6.9 (------) tags + notabug forcemerge 11709 11696 stop I've already answered this request. When you mv a file you're operating on the directory, not the file itself. cheers, P=E1draig. On 06/14/2012 08:40 AM, Vai Dy wrote: > Hi, >=20 > It seems to bug in the following scenario. >=20 >=20 > - created directory > - Inside directory created a file with no access to users ,groups an= d > owners. > - I logged into Linux machine as a user. > - from root if try to modify the file ext, it allows me to do even > though no access is given to anyone. i used mv command here. It modi= fied > successfully. > - When i try to view the file from root with the help of cat , it sa= ys > permission denied. >=20 > E.g; > mkdir dir1 > dir1: touch file1 > dir1: chmod oug=3D file1(No access is given) > dir1: ls -l > ----------- 1 xx yy 0 2012 -06-14 8.23 file1 > cd dir1 > dir1: mv file1 file.ksh >=20 > Please clarify the above . >=20 > Thanks! > Vaidyanathan.S >=20 From unknown Mon Aug 18 11:20:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11696: Bug found in Putty linux Resent-From: Bob Proulx Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 15 Jun 2012 20:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11696 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug To: Vai Dy , 11696@debbugs.gnu.org Received: via spool by 11696-submit@debbugs.gnu.org id=B11696.133979161820249 (code B ref 11696); Fri, 15 Jun 2012 20:21:01 +0000 Received: (at 11696) by debbugs.gnu.org; 15 Jun 2012 20:20:18 +0000 Received: from localhost ([127.0.0.1]:44345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sfd0E-0005GY-6W for submit@debbugs.gnu.org; Fri, 15 Jun 2012 16:20:18 -0400 Received: from joseki.proulx.com ([216.17.153.58]:37052) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sfd0C-0005GQ-1s for 11696@debbugs.gnu.org; Fri, 15 Jun 2012 16:20:17 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 65530211F1; Fri, 15 Jun 2012 14:17:14 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id E93A12DC61; Fri, 15 Jun 2012 14:17:13 -0600 (MDT) Date: Fri, 15 Jun 2012 14:17:13 -0600 From: Bob Proulx Message-ID: <20120615201713.GA22062@hysteria.proulx.com> References: <4FD8C365.1070908@draigBrady.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <4FD8C365.1070908@draigBrady.com> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.9 (-) 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 (-) P=E1draig Brady wrote: > Vai Dy wrote: > > Currently i'm using putty 0-55 version. Just clarify me whether it= s a > > bug or not . It's not a bug. But it might be unexpected to you. It is expected according to interpretation of the permissions. > Note putty is just a program on your windows system to access the linux= system. > You can see what linux system you're on with: lsb_release -d > You can see what version of rm you're using with: rm --version Yes. > > 1)Creating a directory > > 2)Removing all the permission like read, write and execute for owners= , > > groups and users. > > 3)If i try to delete the file what would be the output ? >=20 > You should be able to remove the file or dir. Well... Not quite. It depends upon the details. For example: $ mkdir xx $ mkdir xx/yy $ chmod 0 xx $ ll -dog xx d--------- 3 4096 Jun 15 14:08 xx $ rm -rf xx rm: cannot remove `xx': Permission denied But that is expected behavior given those permission. This is not a bug in rm. This is simply following the instructions when you removed all permissions from the directory. That is an unusual case but one that was actively instructed and so must be respected. To revert the permissions to something reasonable so that they can be removed you can do something like this: $ chmod -R u+rwX xx $ rm -rf xx Bob From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 30 04:26:35 2012 Received: (at control) by debbugs.gnu.org; 30 Aug 2012 08:26:35 +0000 Received: from localhost ([127.0.0.1]:57081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T705B-0006Ev-9W for submit@debbugs.gnu.org; Thu, 30 Aug 2012 04:26:34 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:49878) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T7058-0006Em-DT for control@debbugs.gnu.org; Thu, 30 Aug 2012 04:26:31 -0400 Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 3736A20E44 for ; Thu, 30 Aug 2012 04:25:21 -0400 (EDT) Received: from web5.nyi.mail.srv.osa ([10.202.2.215]) by compute5.internal (MEProxy); Thu, 30 Aug 2012 04:25:21 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=smtpout; bh=yUfJ133wNLWaQHb3TYv5eEzNLWg=; b=j7sht89VPoQ6n8cpm1RMl2G9jUfv pyYxPKkUJYRA2EhWATPUZkMDzmXVaYraeUOnp4iT/Gkm19pn1GV9/9WBYMVnH5em dtt9dHA2MbMQNi6dQGY96zzg7+8L4/TWcuBS/fCNpVHzh8/uSJYntoGdubhVMq/r 09JnsDnZj5MukA4= Received: by web5.nyi.mail.srv.osa (Postfix, from userid 99) id DE71E4C0212; Thu, 30 Aug 2012 04:25:20 -0400 (EDT) Message-Id: <1346315120.10703.140661121426477.2AFE53D5@webmail.messagingengine.com> X-Sasl-Enc: 4nXWxMLkgjDvdikikEcOj9pbHgqp6intQUQ9wPX89h/O 1346315120 From: era eriksson To: control@debbugs.gnu.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface Subject: Still more bug maintenance Date: Thu, 30 Aug 2012 11:25:20 +0300 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control 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 (--) tags 6970 + moreinfo tags 7000 + notabug tags 7731 + moreinfo tags 8294 + moreinfo close 8294 tags 10136 + notabug close 10136 tags 10456 + moreinfo tags 10799 + moreinfo tags 10900 + moreinfo tags 11316 + moreinfo tags 11696 + notabug close 11696 tags 11949 + moreinfo thanks /* era */ -- If this were a real .signature, it would suck less. Well, maybe not.