I am trying to setup an auto-mounting network drive. The network drive requires a user/pass.
I just updated my F17 box for the first time in about two months. I have changed nothing except for the updates but now when I try to mount my NAS I get the following error. Suggestions?
[root@xchronos ~]# mount -a
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g.
I'm maintaining a heterogeneous network of mac and linux so I decided to create a little perl script to unify mounting strategies across machines.
The current implementation in linux is in /etc/fstab works fine:
//myserverhere.com/cifs_share /mnt/cifs_share cifs
user,uid=65001,rw,workgroup=DEV,credentials=/root/.cifs 0 0
and /root/.cifs contains
username=ouruser
password=ourpassword
I
I've got a private share set up on my home server (running Ubuntu Server 12.04.2 64-bit), such that I can mount it with a username/password. I've got it auto-mounting in /etc/fstab with the following line:
Code:
//192.168.1.120/jaywalker_pshare /media/server cifs username=jaywalker,password=xxx,domain=WORKGROUP 0 0
This worked immediately after I set it up.
I am mounting a Windows network drive to my Ubuntu machine and I am getting write permission errors when trying to edit a file.
sudo mount -t cifs
gives me
//MEDIASERVER/A on /home/anon/Media/Overflow/A type cifs (rw,noexec,nosuid,nodev)
and my fstab line is:
//MEDIASERVER/A /home/anon/Media/Overflow/A cifs username=USERNAME,password=PASSWORD,mode=0777,dir_mode=0777 0 0
I currently use a script which contains commands along the lines of
sudo /sbin/mount.cifs $SERVER_SHARE $MOUNT -o username=$DOMAIN_$USER,uid=$USER,gid=$USER,file_mode=0664,dir_mode=0775
to mount my cifs shared directories.
I have been trying to mount a drive, but anything i do i get 'Access Denied',
I tried:
mount -t cifs //192.168.x.x/m -o username=user,password=mypass /mnt/mymount
mount -t cifs //192.168.x.x/m -o credentials=cred /mnt/mymount
mount -t cifs //192.168.x.x/m -o username=user,password=mypass,domain=xxxxx /mnt/mymount
I want to user a local user account on the windows machine and not a domain user
I have a number of fstab entries that will no longer mount. They used to work under 10.04 and after I did a clean install of 12.04, they did work for a while although they would periodically hang up and become unresponsive until they were unmounted "lazily" and then remounted.
From Ubuntu 11.04 to 12.04 i've been able to mount my nas shares by first making directories in the /media folder, then sudo gedit /etc/fstab to include the following line for each share I want to auto-mount;
//servername/sharename /media/windowsshare cifs guest,uid=1000,iocharset=utf8,codepage=unicode,unicode 0 0
Now, however, I upgraded to 12.10, and suddenly I'm not able to mount the sha