[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Scripts



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
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]