Re: [SLE] file permissions?

From: Mark Hounschell (dmarkh_at_cfl.rr.com)
Date: 08/27/03

  • Next message: Franklin Maurer: "Re: [SLE] Synaptic upgrade"
    Date: Wed, 27 Aug 2003 13:05:52 -0400
    To: suse-linux-e@suse.com
    
    

    zentara wrote:
    >
    > On Wed, 27 Aug 2003 12:28:57 -0400
    > Mark Hounschell <dmarkh@cfl.rr.com> wrote:
    >
    > >I have a file
    > >-rw-r--r-- 1 root root 149811 2003-08-07 17:49 xx
    > >
    > >As a regular user I edit the file. Make some changes and write it back.
    > >Now the file is
    > >-rw-r--r-- 1 markh users 149811 2003-08-27 12:23 xx
    > >
    > >Am I missing something? Why was I able to write the file? Why was its
    > >owner and project changed from root to the users? Do the directory
    > >permissions override the file permissions? I must be missing
    > >something????
    >
    > A user can COPY and edit and save a file owned by root, but the result
    > is a file owned by the user.
    > You didn't change root's file. You made a copy owned by you.
    >

    I must still be missing something. It is in fact the same file. It was
    owned by root
    now it is owned by markh?? I made no copy. It is the same file.

    Doesn't
    -rw-r--r-- 1 root root 149811 2003-08-07 17:49 xx
    mean it is owned by root?

    ???
    Mark

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Franklin Maurer: "Re: [SLE] Synaptic upgrade"

    Relevant Pages

    • Re: [SLE] file permissions?
      ... >Am I missing something? ... >permissions override the file permissions? ... A user can COPY and edit and save a file owned by root, ...
      (SuSE)
    • [SLE] file permissions?
      ... As a regular user I edit the file. ... Am I missing something? ... permissions override the file permissions? ...
      (SuSE)
    • [Trouble Ticket #190335] AutoReply: freebsd-questions Digest, Vol 246, Issue 26
      ... please edit your Subject line so it is more specific ... you need to open a root xterm or even a root shell, ... boot manager is installed for this mirror and I would like to remove it ... was that NFS mount managwed ...
      (freebsd-questions)
    • RE: Linux auditing checklist, documents
      ... Edit the hosts.deny file and add the following lines: ... Disallow root login from different consoles ... number of commands and delete it on logout of the user. ... By default, when you login to a Linux box, it tells you the Linux ...
      (Security-Basics)
    • RE: Linux auditing checklist, documents
      ... Edit the hosts.deny file and add the following lines: ... Disallow root login from different consoles ... number of commands and delete it on logout of the user. ... By default, when you login to a Linux box, it tells you the Linux ...
      (Security-Basics)