GNU bug report logs - #11709
allows the user to modify the file when no access is given

Previous Next

Package: coreutils;

Reported by: Vai Dy <vaidydeepak <at> gmail.com>

Date: Thu, 14 Jun 2012 16:23:01 UTC

Severity: normal

Tags: notabug

Merged with 11696

Done: era eriksson <era <at> iki.fi>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vai Dy <vaidydeepak <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: allows the user to modify the file when no access is given
Date: Thu, 14 Jun 2012 13:10:36 +0530
[Message part 1 (text/plain, inline)]
Hi,

    It seems to bug in the following scenario.


   - created directory
   - Inside directory created a file with no access to users ,groups and
   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 modified
   successfully.
   - When i try to view the file from root with the help of cat , it says
   permission denied.

E.g;
mkdir dir1
dir1: touch file1
dir1: chmod oug=  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

Please clarify the above .

Thanks!
Vaidyanathan.S
[Message part 2 (text/html, inline)]

This bug report was last modified 12 years and 346 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.