Go Back   Wireless and Wifi Forums > News > Newsgroups > comp.security.misc
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #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
  #2 (permalink)  
Old 07-09-2005, 04:20 PM
Walter Roberson
Guest
 
Posts: n/a
Default Re: Using sudo to deny chown/chmod recursively

In article <daoprj$6eq$1@omega-3a.right.here>,
Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> wrote:
|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.

Alternately, a loopback filesystem mounted as read-only might work.
--
'The short version of what Walter said is "You have asked a question
which has no useful answer, please reconsider the nature of the
problem you wish to solve".' -- Tony Mantler

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:02 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

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