Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to mount cifs/samba drives on an Ubuntu machine. It seems as though I either need to run it under root or modify my fstab, which also requires root permissions.

On Mac, mount_smbfs does not require root.

Is there any way for a normal user to mount without requiring root to either modify the fstab OR running it in Ubuntu 10.04?

share|improve this question

migrated from serverfault.com Nov 19 '11 at 20:39

This question came from our site for professional system and network administrators.

    
You may also try with SMBNetFS –  Takkat Nov 19 '11 at 22:02

1 Answer 1

up vote 3 down vote accepted

Mount requires root. Always.

However on desktop machines, it is common to circumvent this. Ubuntu Desktop (with Gnome GUI) allows local users to mount smbfs/cifs network shares via Places -> Connect to Server -> Windows shares.

There are other options to allow user mounts. To enable them, you will need support from root.

share|improve this answer
    
Does the circumvention require a one time root access? –  engineerchuan Nov 19 '11 at 21:38
    
@engineerchuan Yes. (However, on a standard desktop install, the circumvention is the default behaviour.) –  Jan Nov 19 '11 at 21:42

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.