View Single Post
  #1 (permalink)  
Old 07-09-2005, 03:18 PM
Robert Nichols
Guest
 
Posts: n/a
Default Re: Using sudo to deny chown/chmod recursively

In article <1120839134.633665.118230@o13g2000cwo.googlegroups .com>,
sldghmr <ray.hall@gmail.com> wrote:
:Actually, I think I mis-stated what I'm really trying to do here. I'd
:like to define an entire directory (and all subdirectories) as not
:being able to be chown'd/chmod'd.
:
:Is that possible?

If the whole subtree is read-only and the filesystem is ext2/ext3, you
can use 'chattr' to set the "i" (immutable) attribute.

--
Bob Nichols AT comcast.net I am "rnichols42"

Reply With Quote
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45