Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've got a problem with long-term UNC mounts from my web application cluster (Arch Linux to various Windows versions) timing out so am looking into short-term (on demand) mount/unmount cycles via scripting - the obvious problem is permissions. I really don't want to hand over root/sudo to the web application. Ideas?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If you define a (CIFS) mount in /etc/fstab with the users option, nobody will need root to mount it.

share|improve this answer
1  
I had completely forgotten about that - the only issue is the credentials file, but that's a much easier pill to swallow. –  Mel Boyce Aug 20 '12 at 0:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.