Questions tagged [cifs]

Questions regarding Common Internet File System. CIFS is a protocol that defines a standard for remote file access, allowing for cross-platform file sharing.

Filter by
Sorted by
Tagged with
0 votes
1 answer
41 views

Mount Windows share is read-only for one user and writeable for another!

I have shared a folder in Windows 10 and mounted the share in Ubuntu 22.04 via fstab with the following setting: //192.168.xxx.xx/b/MySharedFolder /media/Share cifs vers=3.0,defaults,rw,credentials=/...
user avatar
1 vote
1 answer
133 views

Why does Autofs create a new folder when mounting?

autofs mounts my CIFS shares like this: /mnt/server1/server1 /mnt/server2/server2 While I want it to be just: /mnt/server1 /mnt/server2 I have in auto.master: /mnt/server1 /etc/auto.server1 --...
user avatar
0 votes
0 answers
19 views

Trying to figure out the cause of the CIFS VFS: Enexpected lookup error -112

I'm a complete Linux noob, Just got this sever dumped in my lap and its filled with this error. I've spent some time looking on the internet for general solutions. But since I'm not sure where I ...
user avatar
0 votes
0 answers
33 views

Ubuntu Linux server CIFS VFS error

The Ubuntu Linux server started reporting this to me: [1286554.137588] CIFS VFS: \\192.168.1.111 Send error in SessSetup = -11 What's the mistake I should start looking for and fix?
user avatar
0 votes
1 answer
127 views

Bad UNC when cifs mounting of netapp share on linx

While mounting the cifs mount as below getting "mount.cifs: bad UNC" mount -t cifs 192.168.56.24:/cifsnetapp_share /cifs -o credentials=/root/secrets/secrets,gid=5103,_netdev,vers=3.0,cifsac ...
user avatar
1 vote
0 answers
22 views

CIFS connection to Windows 10 computer fails periodically

I am on a small network with an Ubuntu 20.04 desktop and a Windows 10 computer. Every morning on startup I connect Ubuntu to the Windows 10 computer with CIFS: sudo mount -t cifs -o username=[...
user avatar
  • 165
0 votes
0 answers
40 views

Mount SMB error 22 and error 2

I am trying to mount an SMB share onto /mnt/local_share. I am able to view the drive in Nautilus and when I type CTRL-L I get the directory: smb://share_name;user@email.edu/lab_name The drive is ...
user avatar
1 vote
2 answers
137 views

How to stop a service when a CIFS share becomes unavailable?

I have a service that is started by a script /etc/init.d/foo. When a certain CIFS share (//fileserver/multimedia on /home/username/multimedia type cifs) becomes unavailable for any reason (unmounted, ...
user avatar
-2 votes
1 answer
62 views

can not detect NAS [closed]

After the latest kernel update to Mint 20.1 my NAS is no longer discovered. My backup util mounts the windows share and that shows in nemo, plus I can go up the directory and mount other shares from ...
user avatar
0 votes
1 answer
50 views

How to noauto fstab mounting of remote

I manage to mount a distant remote using : sudo mount -t cifs //adress /mnt/point/ -o credentials=/home/me/.credentials I tried to integrate this into my fstab using: //adress /mnt/point/ cifs noauto,...
user avatar
  • 145
0 votes
0 answers
116 views

mounting smb windows share using cifs

I want to mount a windows share on Ubuntu 20.04. I created a directory mkdir /media/aus I have the following in my /etc/fstab file: //IP_ADDRESS_OF_THE_SHARE/aus /media/aus cifs sec=krb5i,user,noauto ...
user avatar
2 votes
1 answer
117 views

How to write the full path to a cifs share on the command line

I have mounted a cifs share on my network, and I want to create a symlink to a document on that share. The share is created like this: sudo mount -t cifs -o username=(username),password=(password),...
user avatar
  • 165
0 votes
0 answers
552 views

CIFS mount error(2): No such file or directory

I installed Ubuntu 20.04 desktop on a new computer yesterday, and today I am trying to connect to a Windows 10 share on my internal network (LAN) with CIFS. The Windows 10 machine has two drives, ...
user avatar
  • 165
1 vote
1 answer
98 views

Mounting cifs drive with snapshot option gives: "cifs: Bad value for 'snapshot'"

I have File share in Azure and I want to mount one of its snapshots. I am using following command: sudo /bin/mount -t cifs //storageAccountName.file.core.windows.net/fileShareName /home/userName/mount ...
user avatar
-1 votes
2 answers
1k views

Looks an easy mistake? cifs_mount failed w/return code = -2 /etc/fstab

I'm fairly new to Ubuntu and I'm attempting to create a Plex Server, I've done the install but I cannot mount my NAS?!?!.. I've decided to log into a Mint VM and to use the command line to try to ...
user avatar
0 votes
0 answers
49 views

Ubuntu cannot see some windows users' files on a cifs mounted directory

<Updated information - I was mistaken in one very important detail> <Final update. When I allowed "full control" on my files, then the Ubuntu system could see the files.> So, I ...
user avatar
  • 1
0 votes
0 answers
49 views

Network cifs shares disconnecting multiple times per day on ubuntu 20.04

I am running Ubuntu 20.04 with some network cifs shares mounted. These shares automatically unmount several times a day and, every time it happens, I need to restart the machine before they can be ...
user avatar
-1 votes
1 answer
166 views

CIFS mount as user : locked file messages on applications

I have a samba share on a Windows machine that I want to mount to my Kubuntu 21.10 machine. Here is the line i put in my fstab : //XX.XX.XX.XX/Folder /mnt/VM-Folder/ cifs credentials=/home/username/....
user avatar
0 votes
0 answers
89 views

Mounted NAS will not let users write to it

I just setup ubuntu on my raspberry pi 4. I mounted my NAS, which works as it should, however, when I use my newly created user, I can't write on the NAS. I have not read and tried things for hours ...
user avatar
0 votes
0 answers
150 views

How to mount WDMyCloud to Ubuntu Server via terminal

So a little context first. I'm a first time linux server user :) never tried it before but I'm slowly getting the hang of things. Still learning my way around syntax and the terminal. I'm trying to ...
user avatar
0 votes
1 answer
104 views

ubuntu 21.04 fstab cifs mount on boot throws 112 with _netdev

So I have an ubuntu machine running 20.04.2 LTS and I am mounting to a Synology NAS with following fstab entry. //10.50.10.20/foo /mnt/foodir/foomountpoint cifs credentials=/home/foo/.smbcredentials,...
user avatar
0 votes
2 answers
1k views

Fresh Ubuntu 21.10 installation - can't access a Windows 10 share

I've got a fresh install of Ubuntu Desktop 21.10 and it can't access Windows Network and a Windows share. Other Windows PC can access the share. When I click on the share, Ubuntu shows "Opening [...
user avatar
1 vote
2 answers
711 views

Mount Samba from command line as non-root, read/write, without fstab?

Well, I thought this would have been easier, but I simply cannot find whether what I want is doable. I want to mount a network Samba share from the command line in Ubuntu 20.04 (MATE) - preferably ...
user avatar
  • 1,228
0 votes
1 answer
207 views

Cannot write to cifs share with SMB/Samba between 2 linux machines

As user1 (primary group root) on server1 (Linux) I am able to write files to /tmp. The permissions are: drwxrwxrwt 19 root root 4096 Jan 3 11:04 ./ When I mount (cifs) server1 using ...
user avatar
  • 773
-1 votes
1 answer
1k views

Adding a network share to Plex server as a library

I'm running Ubuntu 20.04 in a virtualbox to test out my use cases before taking the plunge and installing it on my machine, trying to get plex server configured to communicate with my Asustor NAS and ...
user avatar
0 votes
0 answers
133 views

How can I add a network drive to the system to see the available storage as I do with the root folder

I want to know if its possible to add a network drive to nautilus or (in my case) to Gnome system-monitor extension. Right Now I am writing in the fstab file the following lines: //IP-of-the-server/...
user avatar
  • 1
2 votes
1 answer
2k views

Ubuntu 20.04 - How to automount a CIFS share if mounting during boot fails

I'm trying to automatically mount a samba share residing on nas running openmediavault 5.6.12-1 and samba version 4.9.5-Debian on my desktop running Ubuntu 20.04.3. After following the instructions in ...
user avatar
0 votes
1 answer
247 views

How mount (cifs) in Ubuntu a MacOS directory with all permissions

About mount purposes If the client and server are both Linux (Ubuntu), and assuming that the user in the server is omicron with uid 1007 gid 1007 the following command is viable to be executed in the ...
user avatar
0 votes
1 answer
420 views

Automatically mount CIFS share while connected to a particular network and then automatically unmount either just after or before disconnecting

The problem: I have a laptop (running ubuntu 20.04) which is highly mobile and works from multiple locations. While at location A: I have a CIFS share which I need to work. While not at location A, I ...
user avatar
0 votes
1 answer
60 views

How can I protect my CIFS attached shares from accidential deletion like 'rm -rf /'?

I have a Synology NAS and I have 2 folders from it attached in /mnt/nas-XXX via /etc/fstab like so: //192.168.178.100/BackUps /mnt/nas-backups cifs uid=0,credentials=/home/user/.smb,iocharset=utf8,...
user avatar
0 votes
1 answer
47 views

File managers and windows shares

I would like to be able to use an interactive file manager to move files around on Windows shared folders. I can successfully issue "sudo mount -t cifs ..." and then use an interactive file ...
user avatar
  • 1
0 votes
1 answer
210 views

Opening Nautilus hangs with CIFS shares mounted

Ubuntu 20.04 desktop here, fresh install. Have set up 3 cifs mounts from a NAS in /etc/fstab (mounted as smbv3). It's all working great except every time I open a new nautilus file dialog/explorer. ...
user avatar
0 votes
0 answers
101 views

Xubuntu 20.04 AD user cannot connect to TrueNAS CIFS share via PAM Mount - Error code 13

I want to use PAM to mount shares for domain users on my Xubuntu workstations because it doesn't store passwords, but I've been unsuccessful so far. Any help would be greatly appreciated. My test ...
user avatar
0 votes
1 answer
828 views

FSTAB Stopped Mounting CIFS SAMBA Share

Installed KUBUNTU 20.04 two weeks ago on my desktop. For the last two weeks fstab has been mounting my SAMBA share (hosted on a headless Ubuntu 14.04 LTS server) without issue. Now for some reason ...
user avatar
0 votes
1 answer
737 views

CIFS ver 1.0 mounting broke after update

I'm using Ubuntu 20.04.3 LTS as Plex server, mounting NAS shares on a Netgear ReadyNAS Ultra 6 running RAIDiator 4.2.31 using CIFS ver 1.0 (highest that my NAS will support). Had to run "sudo ...
user avatar
  • 23
0 votes
0 answers
133 views

CIFS share sometimes can't mount anymore

We have windows share that is accessed from both windows and ubuntu. For ubuntu I added a mount based on cifs with /etc/fstab //dfs/share /mnt/dfs cifs nocase,rw,cred=/etc/cifspasswd 0 0 Most of the ...
user avatar
1 vote
0 answers
67 views

CIFS samba mount works from manual but not from fstab

hi I have a strange problem that I have been trying to troubleshoot. In Ubuntu 20.04.2 LTS I am trying to mount a samba share (NTFS usb drive attached to router) using cifs. I can do this manually: ...
user avatar
0 votes
0 answers
196 views

How to auto-unmount a cifs share if I shut down / reboot / suspend my computer?

I would like to auto-unmount a samba (cifs) share before suspend or shutdown my computer. The problem is that when a reboot or shutdown or suspend is done, and if a cifs share is open, the network ...
user avatar
  • 300
1 vote
1 answer
237 views

Unable to use CIFS share

after the upgrade from Ubuntu 18.04 LTS to 20.04 LTS i'm not able use the SMB share anymore. I try to reinstall from scratch the OS but the result is the same. This is the content of fstab file //&...
user avatar
3 votes
0 answers
64 views

How to use accented characters in /etc/fstab?

I would like to mount an SMB share, so I added an entry in /etc/fstab: //192.168.2.200/rendetlenseg /media/Rendetlenség cifs credentials=/home/<user>/.smbcredentials,uid=<user>,gid=<...
user avatar
  • 300
1 vote
1 answer
477 views

Mounting an unreachable CIFS results in slow login and other problems

I have a NAS that I mount via CIFS. My /etc/fstab: //192.168.178.1/FRITZ.NAS/ /home/xxx/NAS cifs credentials=/home\ /xxx/.smbcredentials,vers=3.0,noserverino,uid=1000,\ gid=1000,x-systemd.automount,x-...
user avatar
  • 115
0 votes
0 answers
217 views

Slow file transfer to Windows Server 2019 share

i hope you guy can help me figure out what the problem is. I am running Ubuntu 20.04.2 LTS and trying to copy/moving a single file of 50GB+ to a Windows Server 2019 share over 1gb network, mounted via ...
user avatar
2 votes
0 answers
444 views

Is it possible to automount SMB share on a common mount point in a multi user Ubuntu 20.04 Desktop environment using NTLMv2 / login credentials?

I wish to mount SMB share on a common mount point for all users and auto mount it when it's accessed, like when you map a network drive to a common drive letter in a Windows environment and it just ...
user avatar
  • 66
0 votes
1 answer
298 views

CIFS errors for local user on domain joined ubuntu

I have a domain joined ubuntu system. I sometimes Have to log in to the local administrator account. When I do this, I keep getting these messages in journalctl May 11 11:21:09 server.domain.com ...
user avatar
0 votes
0 answers
154 views

CIFS mount from bash script with dynamic IP from variable

Trying to mount Windows directory from bash script Following works #!/bin/bash sudo mount.cifs //192.168.1.2/Shared /home/pi/windowshare -o user=some_user,password=some_pass Following works #!/bin/...
user avatar
0 votes
1 answer
2k views

How to mount SMB share for multiple users

I have a proprietary NAS server than provides SMB services to access its content. The SMB protocol is stick to the V1.0 (can't changed that). I also have a ubuntu 20.04 server than should access to ...
user avatar
  • 235
0 votes
1 answer
5k views

Ubuntu Server 20.04 - cifs mount not working. cifs_mount failed w/return code = -2

Ubuntu Server 20.04 freshly installed on Raspberry Pi 4 and installed cifs-utils. sudo mount.cifs //192.168.0.5/SharedDirectory /home/ubuntu/windowshare -o user=myusername,password=mypass The above ...
user avatar
0 votes
1 answer
1k views

cifs mount failed with code -2

I'm new to ubuntu and Linux and doing my best to learn. My problem is as follows: I am trying to mount a shared folder from one 18.04.5 machine (a) to another 18.04.5 machine (b). The mount between (a ...
user avatar
  • 1
0 votes
0 answers
91 views

Mount public NAS: mount.cifs: permission denied

quick question: Trying to auto-mount my Nas. I only use the public share (so don't need passwords) and I have followed this instruction: https://wiki.ubuntu.com/MountWindowsSharesPermanently So this ...
user avatar
0 votes
0 answers
793 views

Mount cifs on Ubuntu Operation not permitted

I'm tryng to mount a shared folder from a Windows Server 2003 in a Ubuntu 18.04 Complete server information: VERSION="18.04.5 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="...
user avatar
  • 1

1
2 3 4 5
9