[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11709: allows the user to modify the file when no access is given
From: |
Pádraig Brady |
Subject: |
bug#11709: allows the user to modify the file when no access is given |
Date: |
Thu, 14 Jun 2012 17:57:41 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 |
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
>