Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

curious -- what's /tmp/fam-root ?

206 views
Skip to first unread message

Gary Aitken

unread,
Nov 14, 2012, 3:22:06 PM11/14/12
to
Just curious; what's the purpose of /tmp/fam-root, and what is written there?
Is it simply where the os writes stuff which is sensitive,
and putting it in a rwx------ directory avoids potential security issues
regarding file access?
or is there more to it than that?
_______________________________________________
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

jb

unread,
Nov 14, 2012, 4:22:08 PM11/14/12
to
Gary Aitken <freebsd <at> dreamchaser.org> writes:

>
> Just curious; what's the purpose of /tmp/fam-root, and what is written there?
> Is it simply where the os writes stuff which is sensitive,
> and putting it in a rwx------ directory avoids potential security issues
> regarding file access?
> or is there more to it than that?

# procstat -af |grep -i fam
23038 polkitd 12 s - rw------- 1 0 UDS /tmp/fam-root/fam-
23040 gam_server 4 s - rw------- 1 0 UDS /tmp/fam-root/fam-
23040 gam_server 7 s - rw------- 1 0 UDS /tmp/fam-root/fam-
26654 thunar 7 s - rw------- 1 0 UDS /tmp/fam-jb/fam-
...
# file /tmp/fam-root/fam-
/tmp/fam-root/fam-: socket

jb

Polytropon

unread,
Nov 15, 2012, 1:28:34 AM11/15/12
to
On Wed, 14 Nov 2012 13:22:06 -0700, Gary Aitken wrote:
> Just curious; what's the purpose of /tmp/fam-root, and what is written there?
> Is it simply where the os writes stuff which is sensitive,
> and putting it in a rwx------ directory avoids potential security issues
> regarding file access?
> or is there more to it than that?

I think this is part of FAM - file alternation monitor,
and the particular directory is for root, that's why
it is "user-protected". I'm not sure if this is part
of the OS, cf. port gio-fam-backend (belongs to GIO,
which probably belongs to something else that is then
required by again something else...).


--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
0 new messages