Skip navigation.
 
mlMounted Servers and other users
FROM : Matthew Fahrenbacher
DATE : Thu Nov 21 19:25:00 2002

I created a handy daemon that was working quite well for me until I ran
into a slight road block.  For what my daemon does, I need to have it
run as root, which isn't a big deal.  I then need the daemon to read
some files off of a server I've mounted as another user.  What I've
found, at least with the couple servers I've tried, is that only the
user that mounted the server can read the volume.  This kind of makes
some sense to me, but I need to get around this somehow.

So my real question is, what would be the best way to get around this
problem?  The only way I can think of doing this is setting up another
daemon that runs as the user that mounts the server, and it reads the
data and transmits it to the daemon running as a root user.  But I was
wondering if there was a more elegant way to do this.  There would be a
fairly large amount of information to be sent, so I didn't know if
using the Distributed Notification Center  would be a bad thing for
megabytes of data at a time or if it would result in a significant
retarding in performance and speed.

Thanks in advance,
Matt Fahrenbacher


Related mailsAuthorDate
mlMounted Servers and other users Matthew Fahrenbach… Nov 21, 19:25
mlRe: Mounted Servers and other users James Powell Nov 22, 05:38