Re: Scripts

From: Will McDonald (wmcdonald_at_gmail.com)
Date: 10/27/05

  • Next message: Shane Presley: "Re: e2lable"
    Date: Thu, 27 Oct 2005 17:08:17 +0100
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    Has the directory had its "immutable" flag switched on?

    [root@willspc wmcdonald]# mkdir immutable
    [root@willspc wmcdonald]# chown wmcdonald.wmcdonald immutable/
    [root@willspc wmcdonald]# ls -ld immutable/
    drwxr-xr-x 2 wmcdonald wmcdonald 4096 Oct 27 17:04 immutable/
    [root@willspc wmcdonald]# lsattr immutable/
    [root@willspc wmcdonald]# chattr +i immutable/
    [root@willspc wmcdonald]# cd immutable/
    [root@willspc immutable]# touch blahfile
    touch: cannot touch `blahfile': Permission denied
    [root@willspc wmcdonald]# su - wmcdonald

    [wmcdonald@willspc ~]$ ls -ltr immutable/
    total 0
    [wmcdonald@willspc ~]$ ls -ld immutable/
    drwxr-xr-x 2 wmcdonald wmcdonald 4096 Oct 27 17:04 immutable/
    [wmcdonald@willspc ~]$ cd immutable/
    [wmcdonald@willspc immutable]$ touch sneefile
    touch: cannot touch `sneefile': Permission denied
    [wmcdonald@willspc immutable]$

    Will.

    On 27/10/05, Russell Golden <dragonite.wylie@verizon.net> wrote:
    > Yeah i might want to include that... lol. Red Hat Linux 9.
    > (Note to self: other people are not telepaths)
    >
    > Bill Medland wrote:
    >
    > >On October 24, 2005 06:34 pm, Russell wrote:
    > >
    > >
    > >>For some reason, I am unable to write to my scripts folder.
    > >>Even root can't write to it. What the freak is going on???
    > >>
    > >>
    > >
    > >What OS? If it's Red Hat Enterprise Linux 4 then might the
    > >problem be the SELinux?
    > >
    > >
    > >
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list
    >

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Shane Presley: "Re: e2lable"