I am trying to mount my QNAP in ubuntu (running on a VM) by editing the /etc/fstab file. I have added the following line to /etc/fstab

//<ip-address>/Documents/Aly /home/aly/hydrogen/Documents smbfs credentials=/root/.credentials,nosetuids,rw 0 0

However this changes the owner of the Documents mount point (/home/aly/hydrogen/Documents) to root and I now no longer have write access to the folder without typing sudo before any write command.

Does anyone know how I can use fstab to mo

link|improve this question

75% accept rate
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.