Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [cifs]

SMB / CIFS is a network protocol that allows sharing of files across a network of nodes. The protocol is based on a design where the customer requests it sends packets to the server, the server in turn sends response packets to the client.

0
votes
1answer
23 views

Change SE Linux context label of a specific folder inside a cifs mount

I have cifs mount on my setup mounted via /etc/fstab with context set to system_u:object_r:cifs_t:s0. There are some specific folders that I want to override default context to set public_content_t ...
1
vote
1answer
33 views

Im making a plex server on a raspberry pi, but i am unable to mount a network drive

I write the following command: sudo mount -t cifs -o username=XXX,password=XXX //192.168.0.29/mp3/ /home/pi/DRIVE/share and it returns with the following error: mount error(22): Invalid argument ...
1
vote
0answers
29 views

What are the differences between illumos kernel CIFS, Linux kernel CIFS and Samba? [closed]

I'm aware of the comparison between kernel CIFS and Samba package in illumos. What are the differences between illumos kernel CIFS and Linux kernel CIFS? Moreover, I read that kernel CIFS is the new ...
0
votes
0answers
65 views

CIFS Windows share mounts fine using mount.cifs but gives Error 13 with fstab

I'm having issues getting my Windows file share to auto mount in Ubuntu Server 18.10. Running sudo mount.cifs //192.168.1.96/Media /mnt/Media -o username='username@live.com' will prompt for a ...
1
vote
0answers
111 views

Can mount CIFS share but not read / write to it

I have a GNU/Linux (Xubuntu) guest running in Hyper-V on a Windows 10 Pro Host. I'm trying to mount a folder shared by a host locally. What seems strange to me is that I can mount the folder but not ...
0
votes
1answer
190 views

CIFS mount from fstab not working

This method used to work with RHEL 5, and 6, so I used to just add this Line in /etc/fstab: \\192.168.1.50\V$ /mnt/N cifs user,uid=500,rw,suid,username=Administrator,password=password 0 ...
0
votes
0answers
8 views

Manager CIFS/Windows folder permissions from Linux

We are creating CIFS shares from a simple custom Admin Website (hosted on a Ubuntu 18.04 Host running Apache and php) The shares are located on a NetApp Fileserver and are created via the the ...
1
vote
0answers
154 views

Wrong user in “File is locked for editing by another user”

We use CIFS shares to store data including Microsoft Office files. If user tries to open Microsoft Office file which is already opened by another user, there is a message Filename is locked for ...
-1
votes
1answer
121 views

Run command to mount a CIFS volume on boot on a Raspberry Pi

I am trying to make it so as soon as my Raspberry Pi boots up, it runs the command below so I can mount the drive on startup. sudo mount -t cifs -o username="USERNAME",password="PASSWORD",uid=$(id -u)...
0
votes
1answer
123 views

Systemd: Starting of *.automount not supported

I'm running ubuntu 18.10 as lxc-container at proxmox 5.2 on my homeserver. I want to automatically mount a cifs share which i added to /etc/fstab file: //fileserver.lan/Serien /srv/storage/serien ...
-1
votes
1answer
37 views

machine name resolution over SMB on windows

In order to resolve IP to hostname on my environment, I can do it by 3 ways: DNS, Netbios and SMB. to test DNS i use "ping -a IPAddress", To test netbios i use "nbtstat ", How can i test smb ? I ...
0
votes
0answers
257 views

Gain write access on multiuser SMB share with credentials of different user via cifscreds

I have a SMB share with 2 users (which are identical on both server and client): 1 is in the write list, 1 can only read. The share is mounted as multiuser with the credentials of the write-user. I'm ...
2
votes
2answers
722 views

Automount Windows shares on Ubuntu 18.04 using a Kerberos ticket

I've been struggling with this for a few days now. I'm trying to integrate a Ubuntu 18.04 workstation in a network that is mainly Windows. Authentication is done by Active Directory on a server ...
0
votes
1answer
100 views

How to find out from a client if a smb/cifs connection is encrpyted?

SMB can be encrypted in its different versions and can be activated as described on https://docs.microsoft.com/en-us/windows-server/storage/file-server/smb-security . On the server the encrytion can ...
0
votes
0answers
92 views

Mount cifs share with different machine users - Ubuntu 16.04

I have a ubuntu machine which has different users on it. I wonder if there is a way so I multiple users can login to the same cifs server share using their different ubuntu credentials and different ...
0
votes
0answers
37 views

Rsync displays wrong speed (grossly overestimated)

I realize that there are many threads about rsync. In any case, I did not find anything about a gross overestimation of displayed copy speed. At this moment, speed optimization is a the priority, ...
0
votes
1answer
40 views

How can I create and edit files from a Windows file share on Linux (CentOS)?

I have a Windows shared drive that I have mounted on my CentOS 7 machine using the instructions by Red Hat that I would now like to create and edit files on. However I must be elevated to create and ...
0
votes
2answers
228 views

VirtualBox with Win10 host / Linux guest, how to share files with full unix semantics

I have Windows 10 running on a laptop that runs VirtualBox that runs a Linux guest. I do a lot of programming for the Linux environment and am working with sourcecode repositories sitting in an FS / ...
1
vote
0answers
256 views

File permissions across samba share

I've been trying to figure out how to manage a file permissions issue that I'm having, but any combination of things that I've seen in researching the problem haven't resolved my issue. I have two ...
3
votes
0answers
897 views

Mounting a Samba/CIFS Share on Linux “Correctly”

The problem is that I can't get files on the CIFS share to show correct permissions on the Linux client without forcing vers=1.0 in the mount options. The server is a FreeNAS system running Samba 4.7....
1
vote
0answers
738 views

Mount windows network folder in linux [debian]

I've got a Windows Server 2016 with a VM Host running a Domain Controller, Exchange Server and a 3CX-Server. The ladder is a linux server running Debian 4.9.65-3+deb9u2. I've got the folder C:/PCAP ...
0
votes
0answers
339 views

Mount a cifs partition in Ubuntu 16.04 not working

I'm trying to mount a cifs partition from a Windows Server 2012 Essentials to my Ubuntu server 16.04. When i run the command /sbin/mount.cifs //192.168.0.2/d$/Dropbox/0-sbezavel02/dados/ /dados/...
0
votes
2answers
234 views

Is there a way to backup deduplicated NTFS drive with rsync or other linux tool?

Is there a Linux way or a tool that is aware of Windows Deduplication on NTFS? Here I use rsync to sync files from a AD file server shares. The shares are mounted, readonly, using mount.cifs on linux. ...
2
votes
1answer
8k views

Linux Force Default Mount CIFS Version to 3.0

I'm running Ubuntu Server 16.04.3 LTS 64-Bit with cifs-utils installed, as a VM, on a VMWare ESXi 6.5 hyper-visor. I have a regular network share setup on Windows Server 2016. The objective is to ...
0
votes
1answer
239 views

Samba mount only allows modification if root

I am attempting to mount a Samba share from a Synology. It's still Samba and Linux. The Guest OS is Ubuntu 16.04. When Ubuntu mounts the directory, it looks just dandy. However, I am unable to ...
2
votes
1answer
892 views

Raspberry Pi/Raspbian: Trying to mount router hard drive

Linux/raspberry pi noob here. I'm trying to mount a hard drive that's connected to my router (ip: 192.168.0.1). I can find and explore it through the file explorer through Go > Network and it shows ...
0
votes
1answer
834 views

I can't mount a windows 10 shared drive on Linux

I have a shared directory under windows set to full access for everyone. When I use mount.cifs it just hangs there, and when I use smbclient I get the following error? I can connects to share fine ...
0
votes
1answer
411 views

Create CIFS mount read/write for multiple users in group users

I can't seem to figure this one out. Running on CentOS 7, I'm trying to get a CIFS mount working using my FStab file. //<ip>/downloads /mnt/downloads cifs user,gid=100,forcegid,rw,auto,username=...
0
votes
1answer
202 views

How to tunnel network share directly to share's host?

I have tunneled mixed linux and windows clients to a 'within-firewall client' (that could access the share's host) before, so I know that that, at least, is possible. But what about tunneling ...
3
votes
1answer
893 views

ls shows file, but when trying to read it is says it doesn't exist

I have a CIFS mount on my PC and the ls command shows me a certain file is there: [bf@localhost dirX]$ ls -la total 4096 drwxr-xr-x. 2 bf bf 0 20 okt 09:12 . drwxr-xr-x. 2 bf bf 0 5 sep 11:...
0
votes
2answers
663 views

fstab cifs share not mounting on reboot

I have a cifs share connectin a windows folder to a debian machine, however I cannot get it to mount on boot using fstab. I have the credentials stored in a file with 600 permissions. //192.168.1.72/...
1
vote
0answers
496 views

Mount fails with “no such device”

I have a network share on a fritz box router. I was able to mount it from a raspberry with /etc/fstab //FRITZ-NAS/myBox/SanDisk-Cruzer /mnt/fritz_box cifs defaults,noauto,nofail,credentials=/root/...
0
votes
0answers
153 views

CIFS share: files getting locked with VIM but not with Nano

I have an heterogeneous share, between Linux and Windows systems, hosted on a NetApp. On Linux, I mount the share with those options: mount.cifs -o username=`logname`,dom=DOMAIN,cifsacl,multiuser,...
2
votes
2answers
4k views

How to force autofs cifs (samba) to use smb version >= 2.0

I'm using autofs mounting of a samba share from a Windows 10 (Creators edition). Microsoft patched its OS to no longer accept smb version 1.0 sometimes in 2017. SomeFolder -fstype=cifs,rw,username=...
0
votes
1answer
184 views

Keeping CIFS mount over unstable WiFi

I have a FreeNAS box that contains all of my music and movies. Since I want this box accessible to both myself (Linux desktop) and my wife (Windows desktop) I have the filesystems on this box exported ...
1
vote
1answer
429 views

Very weird behaviour with SMB/CIFS file copy over VPN

Reach/initial connection of the share is fine. Can render directory list. Can even download off the share (copy/cut from it, paste local). But.. trying to upload (copy/cut local and paste there) sees ...
0
votes
1answer
233 views

SMB/CIFS pipelining

Is pipelining a feature of the SMB/CIFS protocol? I found that SMB2 does have a pipelining mecanism but no clear answer is available for the previous version. I have a network capture with several SMB ...
0
votes
0answers
670 views

How to mount Windows share on Linux without using passwords?

I have looked at the manual of mount.cifs but it is a bit unclear to me which of the security methods (ntlm, krb5i etc) require password-based authentication, and which can do without. I have a ...
1
vote
0answers
2k views

Connecting to SMB/CIFS share not working in Thunar on Fedora 25

I set up a system with the XFCE-spin of Fedora 25. The thing that is not working for me is connecting to samba (CIFS) shares using the default file manager Thunar. I click on explore network in the ...
0
votes
0answers
293 views

Error mounting university windows file server (mount error(13): Permission denied)

I am trying to mount my university's windows file server under linux. When I run sudo mount -v -t cifs -o ro,username=****@***.ca,password=*** //server.cm.uni.ca/ /media/marcel/server, I get the ...
1
vote
0answers
437 views

autofs cifs mount(s) hang / become momentarily unreachable

I use autofs on my Fedora 25 desktop in order to access some cifs mounts on my work network. /etc/auto.master: /home/user/work/mountpoint /etc/auto.custom --timeout=43200 --ghost /etc/auto.custom: ...
0
votes
0answers
248 views

Input/output error on specific files within a TrueCrypt container

I have some files within a TrueCrypt container that I can no longer access. IIRC, they were moved from another TrueCrypt container (FAT32) that resides on a USB memory stick (FAT32) to an NTFS based ...
1
vote
1answer
390 views

weekly burst of smbd process_usershare_file errors: from where?

For the past few weeks, every Monday morning between about 6:30 and 7:45, in a burst lasting less than a second, my Ubuntu 14.04.5 LTS fileserver logs a spate of errors from smbd. ../source3/param/...
3
votes
1answer
6k views

Issue with SMB/CIFS on OpenMediaVault 3.0.59 with Windows 10 PC?

I have installed OpenMediaVault 3.0.59 on my Rpi3. I'm trying to use it as a NAS for my other Windows 10 PC. But even after enabling the SMB/CIFS, it does not shows up in the network of the Windows 10 ...
1
vote
0answers
427 views

Can't see/mount SMB (SAMBA 4) shares through terminal in Debian Jessie

I would like to mount a SAMBA share on my computer, where I'm running Debian 8 (Jessie). The SMB share is located at the server of my institute and works as a domain controller (it's a SAMBA 4). All ...
0
votes
0answers
411 views

Why does cifs share show as used disk space on client

I have mounted a CIFS share on a Linux client machine. IF I copy 100MB of data onto the server, the client shows a drop of 100MB in disk space. Are the files on the server replicated to the client? ...
2
votes
0answers
596 views

Linux can't mount a CIFS share with comma in path using /etc/fstab

I'm having problems mounting a CIFS network drive for use in an application I develop/maintain. The share path has a folder in it named , Employees as in Company/, Employees/Some data (the mapped ...
0
votes
1answer
706 views

Mounting Airport TimeCapsule on Synology with spaces

I'm trying to mount my Airport Time Capsule on my Synology DS916+ NAS. However, it is not working for a directory that has a space in it. There are two folders on the TC "Data" and "User Name". I can ...
2
votes
2answers
2k views

mv command reports “X and Y are the same file”, cifs filesystem

I'm trying to get a script that will rename and move videos. Here is what I have: #!/bin/bash src="/mnt/Files_Apps/temp/" dest="/mnt/Files_Apps/TFTP root/" for file in "$src"*.*; do newfile="${...
1
vote
0answers
135 views

Read/Write directly to Linux files from Windows using editor

Is there a way to mount and share a linux directory so Windows can access it? I would like to read/write directly to files from a text editor for quicker live development with Apache Running CentOS ...