Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* How do I mount a file system for root access only?
@ 2002-05-23 19:55 Dan
  2002-05-23 21:35 ` Michael Heiming
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Dan @ 2002-05-23 19:55 UTC (permalink / raw)


Greetings!

I should probably know the answer to this but I seem to have a mental
block at the moment.

I have a script, which runs periodically to copy some files from one
system to a mount point on another system.  It first creates a mount
point, mounts a file system to it, copies the files to the mounted
file system, unmounts the file system, and then removes the mount
point.

It has been running great except once in a while, I get a nosey user
who does something to make the file system busy.  When the script
finishes running and it is time to unmount the file system, the nosey
user causes the script to generate an error when the script tries to
unmount the file system because the file system is now busy.

Is there any way to mount the file system so that root is the only one
who has access to it?

I have a work around by "chmod 700" the mount point/file system after
the mount but I am wondering if there is a better way.  Between the
time I mount it and do the chmod, there is a possibility that the user
could get in there and make it busy.

Thanks for any ideas!
Dan


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-05-24 18:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-23 19:55 How do I mount a file system for root access only? Dan
2002-05-23 21:35 ` Michael Heiming
2002-05-24 12:33   ` Dan
2002-05-24  3:43 ` Stuart Fuller
2002-05-24 12:34   ` Dan
2002-05-24 12:42 ` Joerg Bruehe
2002-05-24 12:59 ` Peter da Silva
2002-05-24 18:39   ` Dan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox