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]

CIFS is a virtual file system in use by samba, and Windows servers to share files between different system.

2
votes
0answers
27 views

Linux clients can't login on samba share while windows and mac can (active directory env)

Setup server Centos 7.6 Samba 4.8 Winbind SSSD Kerberos This machine is attached to the company active directory as member server but not domain controller (I followed the RadHat documentation to ...
0
votes
1answer
44 views

Is there a way for bypassing the usage of prefix 'sudo'

I am able to execute all the by using the prefix sudo. As of now I was able to remove the password dependency for user qedbuser. I would like to not use the word sudo. One my application is trying ...
0
votes
0answers
46 views

CIFS permission issues when mounting a NTFS partition

I'm attempting to mount an NTFS file share. sudo mount.cifs //address.fileshare.com/TestMount /home/me/TestMount -o username=MyUserName,domain=MyDomain,uid=MyUserName,file_mode=0777,dir_mode=0777, ...
0
votes
0answers
37 views

apt-get install cifs-utils corrupted system libraries — caused chaos

My Linux libraries seem to have suffered a severe corruption just after running (as root): apt-get install cifs-utils I need to correct the corruption or restore the original libraries. Note: I ...
0
votes
1answer
24 views

Mount cifs with Write access for group

I am trying to mount a cifs on RedHat 6.10 with below in /etc/fstab: //chq-qaedinas.chq.ei/DataHistory /DataHistory cifs auto,credentials=/etc/samba/user,noexec,umask=0002,uid=20588,gid=50011 0 0 ...
0
votes
1answer
57 views

Samba write access problem: parameter does not show in testparm even though it is in smb.conf

I am trying to get a samba share setup so that users have both read and write permissions. I thought that I would be able to do this by editing /etc/samba/smb.conf to add my share like so: [CLOUD] ...
0
votes
0answers
82 views

Samba: share is not accessible for AD groups

I have a CentOS server joined to an ID domain with realm(8) using sssd(8). I don´t have winbind installed, though. I can log fine with AD domain users into this CentOS server. I set up samba shares in ...
0
votes
1answer
112 views

mount -t cifs fails with permission denied

I have a Windows 10 share for a particular user. Then I have Debian:stretch in a docker container. I try to mount a shared folder like this: root@b9cda19f784c:~# mount -t cifs -v -o username=...
2
votes
2answers
136 views

File system compatibility with CIFS

I've been using my Raspberry Pi as a music file server, but I'm not happy with it. The current setup uses a samba server on my RPi with a WD Passport USB drive formatted as vfat. This serves as the ...
0
votes
1answer
68 views

fstab keeps asking for password, while trying to mount shared cifs

I have the following entry in my fstab file: //10.30.1.235/Restrito/BackupVms /backups/servidor01 cifs vers=2.0,credentials=/spassword,iocharset=utf8,gid=0,uid=0,file_mode=0777,dir_mode=$ 0 0 ...
0
votes
0answers
139 views

Access Windows share via CIFS and Kerberos: “Key has been revoked”

I'm trying to mount a Windows share on a Linux host (Ubuntu 16.04) using Kerberos / Active Directory authentication. The Linux host has been joined to the AD, and I can access shares on it from the ...
0
votes
0answers
43 views

cannot mount share from windows server on RHEL

I have a problem with mounting cifs share from windows 2k8 R2 on RHEL 5.3. When I'm trying to mount share I'm getting error mount error 112 = Host is down. Other win machines can access this share ...
0
votes
0answers
131 views

cifs smb mount stale file handle

I am mounting an SMB share and I have finally got it to give no error but the folder I am mounting to then has an issue. ls: cannot access 'cteratest': Stale file handle The fstab command sudo ...
1
vote
0answers
211 views

Error Mounting CIFS share on CentOS7.6 kernel 4.20, mount error(22): Invalid argument

I am trying to mount CIFS share from NetApp (Release 8.2.4P6 7-Mode) on CentOS7. I tried sec=ntlm which suppose to work but it says an invalid argument and if I change it to vers=1.0 which I think ...
0
votes
0answers
25 views

Error using synced folder with Vagrant

I'm using Vagrant with Hyper-V on Windows 10, and I'm trying to install Ubuntu 18.04 with a synced folder. The problem is that my synced folder isn't working. Here's my Vagrantfile Vagrant....
0
votes
0answers
15 views

Backup from Linux to a cifs USB drive in a Netgear router

I have a Netgear WNDR4500 (N900), with a USB drive from Sandisk formatted as cifs. I can map it as a drive from Windows, and it works fine. When I boot lubuntu 18.10, and try to mount it so I could ...
0
votes
0answers
32 views

Mount error although no process is using the directory

Trying to mount a remote samba share as follows: sudo mount -t cifs -o user=pkara //11.99.4.32/logstash_config /home/pkara/Workspace/logstash_atlantis/ getting the error mount error(16): Device or ...
1
vote
0answers
102 views

On CentOS 7 allow certain users Read & Write to mounted file systems of different types

I have a query around mounting file systems of differing types in such a way that a selection of users have r/w access to them. Here's the scenario. I've rebuilt a media server to Centos 7 minimal ...
5
votes
0answers
198 views

cifs: Cannot cd into a directory

For some reason I cannot cd into a particular remote directory for which I have access, it fails with: $ cd Data\ Services/ -bash: cd: Data Services/: Invalid argument This is how I mounted it: $ ...
0
votes
0answers
35 views

Cannot delete weird cifs file cifs<numbers/letters>

Occasionally on our cifs share there will be a file called: cifs1e3 Or something along these lines. cifs followed by some numbers and letters. These files cant be deleted or moved... I'm curious ...
0
votes
0answers
231 views

mount a cifs share with kerberos on linux with a sssd/kcm kerberos client

As a non-root user I would like to mount a samba share on my Fedora Linux with kerberos (non-password). I have a kerberos client running (sssd with the kcm server for kerberos tickets). when i do a ...
0
votes
1answer
45 views

allow windows shares through iptables in debian 9

i'am working on securing my lamp server(debian 9) with iptables. well as you probebly know. the principle is to block all ports and then allow only the ones i need. for the moment i've succeeded on ...
0
votes
0answers
36 views

mounting cifs share with Linux 4.15: do DNS names get resolved again in case of errors?

I'm operating a Ubuntu 18.04 server that mounts a CIFS/SMB share. The name of the server is provided in the form of a DNS record. The record points to one of several storage servers, allowing for ...
1
vote
0answers
21 views

CIFS debugging - not enough information

I am using RedHat RHEL 6. The goal is to identify whether an application running on the local server is setting 'HIDDEN' file attribute on the remote CIFS share. I have first enabled the logging in ...
1
vote
0answers
154 views

Changing permissions on CIFS files and folders from a Linux client

I'm using an Ubuntu 18.04 workstation in a corporate enviroment that is mostly windows based. The workstation has joined the Active Directory environment using pbis-open, and several shares are ...
0
votes
2answers
139 views

How can I fetch file metadata on cifs mounted folder?

In our company we have a shared Windows folder. If I access it from Windows, I can pop up Properties menu of a file and find its metadata: who created it, last access times and so on. On linux I have ...
3
votes
0answers
765 views

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

I am playing around with a share on my NAS being unable to mount a SMB share. Based on the ubuntu smb documentation the command for mounting a SMB / CIFS should be as following: sudo mount -t cifs -o ...
0
votes
1answer
155 views

Merlin Asuswrt Cifs Smb Share cannot mount

After installing Merlin 380.70 on my asus router I cannot mount my USB-connected smb shares via cifs. I keep getting varying mount errors: 6 & 22 are the most common. I've tried changing the smb ...
1
vote
1answer
704 views

Mount an smb share with fstab vs sudo mount… problems

This works in the terminal.. sudo mount -t cifs -o username=user,password=pass //10.100.136.4/bus /media/bus This does not work in fstab on boot.. //10.100.136.4/bus /media/bus cifs username=user,...
0
votes
1answer
260 views

Mouting a remote drive with cifs

I've created a remote mounted drive by adding this to my /etc/fstab: \\192.x.x.x\web /mnt/web cifs username=X,password=X,domain=X and mounting it with sudo mount /mnt/web (which works perfectly!) ...
0
votes
1answer
541 views

How to enable access control for CIFS mount point available for multiple users?

I have a samba server configured with multiple users. By default, mounted cifs shares only use the credentials provided at mount. Everyone who can access the mount point accesses the files as the ...
1
vote
1answer
561 views

Mount cifs with group permissions

I want to mount windows network share with different permissions based on group owners should have read/write permissions, others, only read permissions I am adding the following line in /etc/fstab ...
0
votes
1answer
707 views

Allow write access for regular user on CIFS share

I want to mount one of my media folders of my Synology DiskStation (DS414J, DSM 6.2) on my laptop (Manjaro running on Kernel 4.17.18) via SMB/CIFS. I set up a DiskStation user called media that has ...
0
votes
1answer
145 views

Is udisks2 able to mount anything the command “mount” can? Can I mount smb shares for instance?

I know that udisks2 can be used to mount filesystems. But what kind of filesystems? By reading information around this is not completely clear to me. Can I only mount local filesystems? Or can I ...
0
votes
0answers
33 views

Allow user to enter username before mounting shared drive

I have a mount drive which I usually mount using sudo cifs -o "username=myshareddrive_username,uid=$(id -u),gid=$(id -g)" //server-address/folder /mount/path/on/ubuntu Now, I have some linux ...
0
votes
1answer
336 views

Cifs mounting subdirectories from linux

I am trying to mount two subdirectories from the same share name but cannot get it to work. # Mount the two different subfolders: # $server and $share are the same - the subfolder differs: $ ...
0
votes
1answer
352 views

Mount using fstab instead of terminal

I am mounting my shared drive using terminal in my Ubuntu machine like this: sudo mount -t cifs -o "username=${USER},password=${PASSWORD},uid=$(id -u),gid=$(id -g)" //server-address/folder /mount/...
0
votes
1answer
48 views

Automatically fetch uid and gid in a command

I'm using the below command to mount CIFS share, but I want to fetch the UID and GID automatically in the same command so that I don't have to enter it manually every time I mount on different ...
3
votes
1answer
1k views

Allow regular user to use mount without SUDO or FSTAB

Our desktop workstations are linux. Each user uses Active Directory to authenticate. Mount does not automatically use the users PAM credentials to authenticate against a remote mount point - you must ...
2
votes
2answers
10k views

mount error(115): Operation now in progress

I'm having an issue mounting a shared NAS drive that is hosted on a Windows 2000 server. This is a drive that I'm certain I have access to, and I frequently access it from a Windows 7 machine and a ...
2
votes
2answers
171 views

Removing a directory with colon from CIFS

I cannot delete a directory containing a colon (using Ubuntu) on a network drive (filesystem: CIFS). How can I delete this directory? (no root privileges, but do have read/write permission) Output of ...
1
vote
1answer
240 views

CIFS VFS warning when transferring between NFS and CIFS

I have a script running on Ubuntu 16 that is used to move text files from an NFS share to a CIFS share. As part of the process the CR/LF translation is undertaken to support consumption by a windows ...
0
votes
1answer
439 views

Auto-remount CIFS share

I have a CIFS mount in fstab which works fine, except when something goes wrong with the network or the remote server and it doesn't recover. I want the share to auto-remount in the event of failure, ...
0
votes
0answers
63 views

Samba User Accessible On Network

I am running Debian Stretch 4.9.0-6. I just configured samba. I added the following lines to the default samba.conf [global] security = user [share] comment = ZFS Samba Share path = /srv/mnt_point ...
3
votes
1answer
145 views

Suppress/bypass “file has changed” errors when editing cifs/Samba files

[I originally posted about this on the vi/vim stackexchange, but it's increasingly clear that the core issue is more the filesystem than the editor that's complaining about it] TL;DR -- Files on a ...
1
vote
0answers
131 views

refuse to cp/rsync/etc some files with strange characters

We have a Windows server with filenames containing unusual characters. For exemple picture.jpg (the unusual character is between the e and the .jpg). We mount it with mount -t cifs -o 'ro,...
2
votes
0answers
323 views

CIFS mount no longer working

I have several RHEL6 systems with the same configuration. I have had CIFS mounts working for years. However in the past month, it has stopped working on one of my systems and I cannot seem to figure ...
1
vote
1answer
58 views

Hash or obscure password for network share

As I was setting up my WiFi, I found a tutorial to hash my password so it wouldn't be stored in plaintext (we use username/password for wifi access) network={ ssid="NETWORKNAME" priority=1 ...
2
votes
1answer
505 views

mount.cifs version 6.4 error(5): Input/output error

I want to mount a drive from my university, it worked before when I was using Linux mint Sarah. Now I have mount.cifs version 6.4, cifs-utils 2:6.4-1ubuntu1.1, Linux mint version 18.3 (Sylvia), ...
0
votes
1answer
914 views

Include password when mounting a drive using cifs

At first I using this to mount a shared drive: sudo mount -t cifs -o username=myuser //xxx.xxx.xx.xx/myfolder /mnt/windowsshare/ but then I didn't have modify access or ownership to the shared drive ...