Sticky/sgid/suid bits safe on regular files?

Daniel O'Connor doconnor at gsoft.com.au
Tue Jun 22 07:29:48 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 22 Jun 2004 16:45, Dag-Erling Smørgrav wrote:
> Clifton Royston <cliftonr at lava.net> writes:
> > I need to add a feature to an application where it can keep tabs on
> > whether one specific action has ever been taken on any given file, one
> > of possibly hundreds of thousands of a dynamically changing file set.
>
> man extattr

I think he wanted to use sticky/sgid/suid because they get removed when the 
file is changed so the application can go back and see if they've been 
changed. That doesn't happen to attributes.

Also, I don't think attributes work over NFS(?)

- -- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA19/b5ZPcIHs/zowRAu6YAKCLvYy9Ozy0flatbqdd11xA7YLDOwCgqtcD
/JdlWxeXWPxnd3qaTU6pb9A=
=sH9/
-----END PGP SIGNATURE-----


More information about the freebsd-hackers mailing list