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 #8 received at 11709 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Vai Dy <vaidydeepak <at> gmail.com>
Cc: 11709 <at> debbugs.gnu.org
Subject: Re: bug#11709: allows the user to modify the file when no access
	is given
Date: Thu, 14 Jun 2012 17:57:41 +0100
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ádraig.

On 06/14/2012 08:40 AM, Vai Dy wrote:
> 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
> 





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

Previous Next


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