Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I also have a file (.nfsmount01credentials) that stores the username and password and assigned it permissions (chmod 600 .nfsmount01credentials). I've also tried both the ubuntu box and nas credentials.
As mentioned, and through loads of trial and error, I can't work it out.
Why don't you just mount the NFS share via an fstab entry? (You mentioned that it works from the command prompt.) BTW, You seem to be confusing NFS and CIFS with your fstab entry (based on references to NFS mountpoint and credential file naming).
1. Are you sure that //192.168.0.100/dk is the actual share?
smbclient -L 192.168.0.100
2. I note that you are trying to mount the cifs share within the /media tree. That is generally reserved for automatic device mounting utilized with modern desktop environments (eg udev/umount mounting). You should create/use a suitable mount-point eg /mnt/mydata, or even within your user's home directory eg ~/mydata
Good point. However, from what I've read and understand, linux in general has issues with nfs authentication. I just opted for the cifs option to avoid the hassles and differences of the various nfs versions. If you could please show me a way of how to do it in nfs that would be great.
The FreeNAS box has both CIFS and NFS shares setup. For now, I'm just trying to be able to auto-mount with either at bootup.