Stack Exchange Network

Stack Exchange network consists of 171 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Common Internet File System (cifs)

learn more… | top users | synonyms

14
votes
4answers
57k views

How do I mount Samba share as non-root user

Is there a step-by-step tutorial that instructs in detail how to smbmount a Samba share to be used by a non-root user on a Ubuntu 10.04 desktop? Note: there are numerous threads on Google search ...
49
votes
7answers
275k views

How do I mount a CIFS share?

I'm using Ubuntu 11.10, and am trying to mount a freenas server. I have the server set to share in cifs and nfs with no luck. I have tried smbmount //192.168.1.### /mnt/ I am not new to Ubuntu but ...
38
votes
3answers
181k views

“Mounting cifs URL not implemented yet” when I try to mount a samba share

I have a server for development (Ubuntu 12.04). On that machine, I have a shared folder named "projects". I tried sudo mount -t smbfs smb://192.168.2.28/projects/myProject /mnt/myProject on my ...
3
votes
2answers
10k views

Auto-mounting network shares per user

I have a server that has a number of CIFS shares that need to be accessed on a per-user basis. For example, I have a Music share which I have full access to, but my wife has read-only access. When ...
4
votes
4answers
27k views

Mounted cifs share but no write permissions

Have reinstalled Ubuntu on my web dev server. On the old one I had an smbfs share setup to access a share over the local network to other Ubuntu boxes. It was setup using the following and worked fine ...
20
votes
3answers
245k views

How to map a network drive?

I am unable to map a Windows network drive in Ubuntu. I executed the following command in the terminal: karthick@karthick:~$ sudo mount -t cifs -o username=raghu //172.29.32.184 /media/Data/ Password:...
9
votes
1answer
22k views

How can I mount cifs shares in (k)ubuntu 13.04?

In (k)ubuntu 12.10, I could mount a cifs drive (from my Apple Airport Extreme) with sudo mount -t cifs -o user=foobar,password=foobar,rw,hard,nosetuids,noperm //192.168.1.2/Drive ~/mnt/mount_point ...
15
votes
6answers
62k views

Mounting cifs drive gives: mount error(22): Invalid argument

I'm trying to run: sudo mount -t cifs //user.my-backup.com /mnt/wal_drive -o iocharset=utf8,rw,credentials=/etc/backupcredentials.txt,uid=postgres,gid=postgres,file_mode=0660,dir_mode=0770 However I ...
5
votes
1answer
12k views

Unable to mount cifs with iocharset=utf8 in trusty

When I try to mount a cifs share with option iocharset=utf8 I receive the error: mount error 79 = Can not access a needed shared library. What shared library am I missing?
4
votes
1answer
2k views

Samba mount issue under Ubuntu 17.10

I have Ubuntu 16.04 running a samba server and another 16.04 box that mounts it without issue using the fstab line //192.168.0.102/share /mnt/raid cifs user=myuser,pass=mypass. When I mount the share, ...
4
votes
4answers
14k views

mount.cifs stopped working after last kernel upgrade

Yesterday (05/21) I upgraded my Ubuntu 12.04 kernel: uname -a: Linux vi 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux After the reboot all my mounts of ...
4
votes
1answer
3k views

Console freezes on auto-complete of /mnt/folder (CIFS) share

I have a Ubuntu 14.04 server that will lock up after an undetermined amount of time when you attempt to tab-auto-complete the path of a CIFS share in the /mnt directory. I mount the share and it seems ...
3
votes
1answer
17k views

Mounting samba share in using fstab

I tried to mount a samba share from the local network to a folder in my PC. I added the following line in fstab sudo mount -t cifs //192.168.1.5/my/folder/ /home/mounts/localmount/ But when I do ...
3
votes
2answers
3k views

Ubuntu 17.10 issue with mount cifs

since the update to Ubuntu 17.10 my script to mount shares from a NAS does not work anymore. On older versions of Ubuntu I could use this line: mount -t cifs -o username=t0b1,password=$pw //server....
3
votes
3answers
8k views

fstab automount smb fails

I'm trying to automount some drives with smb with fstab entries as such. # auto mount hda shares //hda/DeannasDocs /home/deanna/DeannasServerDocs cifs user=deanna,pasword=** 0 0 //hda/Music /...
7
votes
10answers
56k views

CIFS shares not mounting after modifying /etc/fstab

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; //...
5
votes
1answer
16k views

Problem with mount using option “sec=ntlmv2”

I Have a partition called D:\ shared at a Windows machine, and In my Ubuntu server 12.4 I Have this line at fstab to mount it //10.0.0.39/D$/ /mnt/charles/ cifs user,file_mode=0777,dir_mode=0777,rw,...
4
votes
4answers
24k views

Problem with cifs-util. Mount: only root can mount [closed]

i'm trying to use cifs-utils to get files in another machine. In the other machine i've installed samba. Everything works fine if a try in the same machine (the one with samba) using cifs-util, but it ...
3
votes
0answers
334 views

CIFS FSTAB won't start at boot and mount -a doesn't work as expected

I am having a odd issues my CIFS drive. It won't mount at boot and also when the system has booted, I have tried again with mount -a but no success. It will however mount with the mount -t command and ...
2
votes
0answers
66 views

How to permanently mount a Samba share in 12.04 (gnome-shell 3.4)? [duplicate]

Possible Duplicate: Proper fstab entry to mount a samba share on boot? Currently I have a number of share folders that I am using as a very simple home server for media and other files. This ...
2
votes
1answer
789 views

Slow login when CIFS mounts are unavailable

I installed a PC with Ubuntu 14.04, Sssd and accounts in our OpenLDAP directory. Network shares residing on our Samba server are mounted automatically when a user logs in, through pam_mount ...
2
votes
1answer
1k views

cifs share permissions

I am facing the problem with permission on cifs shares. I have a Lubuntu netbook, a Win7 notebook and a QNAP NAS. I mounted shares on the lubuntu netbook in the fstab: //192.168.2.49/nasdata /home/...
1
vote
2answers
20k views

Why is my machine unable to mount my SMB drives (“CIFS VFS: Error connecting to socket. Aborting operation”, return code -115)?

I have a machine running Precise (12.04 x64), and I cannot mount my SMB drives. It used to work (a week or two ago) and I didn't touch fstab! The machine hosting the shares is a commercial NAS, and ...
1
vote
1answer
340 views

Share a local folder over LAN with CIFS

I have a folder (/share, which contains other subfolders and files) which I want it to be shared over my LAN. I've read out there that CIFS (replacing Samba) is the file system adequate to do such a ...
1
vote
1answer
3k views

smbfs/cifs won't mount

This fstab has worked for 4 Ubuntu versions. All of the sudden, it doesn't work after a reboot, but I had it working under 12.04 yesterday. It still works on another 12.04 machine with no problems. ...
1
vote
0answers
288 views

how can I get my fstab mounts working if they won't mount on bootup?

CIFS mount through fstab not mounting at boot The suggested answers (a typo in fstab; _netdev) have no effect. However when I mount them with sudo mount -a there are no issues and they are mounted. ...
0
votes
2answers
731 views

How to let smb share mount via fstab assign full permission to new created file or directory?

How can we fstab mount a samba share that give permission 0777 (to every samba users in the write list) for new created directory or files? E.g. I created a new directory in client PC (Ubuntu 12.10), ...
0
votes
1answer
178 views

CIFS mount get dropped Ubuntu VM using VMWare

I have a Ubuntu 16.04 VM using VWWare workstation 12.5.7 with Windows 7 Host OS with a cifs mount that gets mounted at powerup. Well the mount keeps getting dropped after the connection goes idle, ls ...
0
votes
1answer
331 views

Automount of CIFS share fails during boot while mount -a works after login

I am trying to automatically mount a CIFS share on a Synology NAS during boot time. I am on a 14.04 LTS Workstation. Everything works fine when I manually mount the share using the fstab entry, ...