Apply Recursive ACL Safely?




I want to recursively apply ACLs to a filesystem using .NET Framework
2.0 and C#. I have messed this up before with 1.1 of the Framework
(mis-ordered ACLs and etc), so I would appreciate a real code sample
for 2.0.

Thanks.



.



Relevant Pages

  • Re: Enabling telnet, ftp, pop3 for root...
    ... Many users do not have a functional knowledge of ACLs, of those that do, they find them very confusing, because the repercussions of them leaves something else entirely open for analysis. ... If you want to argue Windows 2k/2k3 Server verses Windows NT Server 3.51, you can argue until you're blue in the face about reasons to upgrade to Windows 2000 Server or 2003 Server over NT 3.51, but I know of at least one place that is still running NT 3.51 as a server. ... This is a bit of an exaggeration, as I don't expect someone wanting help with that system will be on Usenet; however, with UNIX systems, the capability to deal with sudo is more common then the capability to deal with ACLs. ... And there could be performance reasons in the choice of a filesystem, depending on the content of the filesystem. ...
    (alt.os.linux)
  • Re: Negative permissions WITHOUT ACLs
    ... without using ACLs? ... file regardless of the permissions given to her groups. ... You could use a loadable driver to put the file into your own ... filesystem that did whatever permission enforcement you wanted. ...
    (comp.security.misc)
  • Re: Windowsdaten auf Linux Filesystem
    ... > und Samba ACLs unterstützen. ... Lange Zeit hat nur XFS ... Koennen beim Backup schon verloren gehen. ... auf Filesystem und das Backupprogramm an. ...
    (microsoft.public.de.german.win2000.sonstiges)
  • Re: Restricting access to sockets
    ... >filesystem and operating system support them? ... Permissions and ACLs apply to things in the filesystem. ...
    (comp.security.unix)
  • Re: [9fans] fuse bashing
    ... maybe make another dot-directory, and anyone with a matching public key in the dot-directory would have access to it, similar to .ssh/authorized_keys but with a separate file per user. ... The problem to date is that nobody has figured out a clean way of doing this in a way that makes it simple to administer -- and maintain -- the ACLs. ... E.g. FreeBSD supports ACLs in the filesystem, but all the tools that manipulate files need to be cognizant of them, and sadly, most aren't. ... Thus an application that does it's work on a temporary file and then does the 'unlink; rename' dance loses the ACL attributes (and other metadata). ...
    (comp.os.plan9)