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

learn more… | top users | synonyms

0
votes
1answer
21 views

Permissions of CIFS Mounts

I have some sensitive data on a network share hosted on a Windows machine (drive D on mymachine.mywork.com) that I need to mount, as follows: sudo mount -t cifs mymachine.mywork.com :/D /mnt Will ...
1
vote
0answers
62 views

Mount cifs using a credentials file

I am trying to mount a folder from my embedded Linux system to a windows 7 computer. I keep getting Permission Denied when I try using a credentials file. When I do it from command line as root it ...
1
vote
3answers
415 views

Samba: mount error: could not resolve address for XXX: Unknown error

I've read several guides on mounting samba shares, but no luck yet. I'm able to "login" to my samba share with the following command: smbclient //vvlaptop/Documents It asks for password, but there ...
1
vote
0answers
104 views

Cifs mount a windows share that goes offline

I have a windows share on my workstation that I need on my CentOS 7 server. I have this set up in my fstab as the following: //XXX.XXX.X.XX/Share /mnt/workstation cifs ...
2
votes
1answer
29 views

mount with cifs fails but destination is still accessible with sftp

I had remote backup space mounted to my machine (Hetzner extra backup space for dedicated server). It was mounted with cifs. After restart I found that the mounted folder not accessible. ls -l: ...
0
votes
2answers
787 views

Slow boot and slow desktop, along with indecipherable log messages

I am a Linux Mint 17 - Cinnamon user, and have been using it for the past 1 month. I am new to this OS, and trying to learn how to work in a linux environment. My system boots extremely slowly (takes ...
0
votes
1answer
45 views

Configuring setcifsacl to use local posix user instead of SID for CIFS share on Linux

I have a CIFS filesystem (from a NetAPP) mounted on a Red Hat 6 server using cifs_utils, and am sharing some directories from the CIFS filesystem out over HTTPS via WebDAV. I need to set some ACLs on ...
0
votes
1answer
166 views

Why absolute symlink on SAMBA share is followed directly by CIFS mount?

If an SMB share has a symlink with an absolute path /share/latest/dir -> /share/data/201407 then Windows clients can access files by link with no problem. dir \\smbserver\share\latest\dir\ ...
0
votes
1answer
81 views

Can a file be corrupted by copying from NFS to CIFS?

I have Linux RedHat 6.x, and I mounted a Windows 2008 R2 NFS share. If I copy data from my Linux machine to Windows, that doesn't seem like any harm. But if I take that file that is in my exported ...
3
votes
1answer
157 views

How to make a cifs/smb mount ignore umask?

I have a cifs mount that is mounted from /etc/fstab. But I would quite like creation of files/dirs on that share to ignore my umask. Is that possible? It seems that cifs does not support the umask=000 ...
1
vote
1answer
157 views

Mounting cifs: “Operation not supported”

Unlike the similar question, I cannot even connect with smbclient. The samba share works fine in windows and automagically works, but in Linux I can't mount it at all and the error message is ...
2
votes
2answers
245 views

Mount windows share

I've just literally spent about 2 hours trying to simply mount a windows share on linux. Mounting with cifs causes deadly hangs as discussed here. So I tried to mount via nfs as discussed in this ...
3
votes
1answer
65 views

How to use my login password to do two things

I have a CIFS drive that I mount regularly, and it requires a password for it. Since it's annoying to type my password every time, I wrote a script that sets the PASSWD environment variable, mounts ...
1
vote
2answers
632 views

mount.cifs fails while smbclient succeeds

I'm trying to mount a NetApp CIFS share to one of our servers and I keep getting "Permission Denied" printed to stderr and NT_STATUS_WRONG_PASSWORD printed to the running dmesg. root@xxxehpvld05 ~ $ ...
1
vote
0answers
117 views

Mounting windows share using mount -t cifs

All, I have a SUSE SLES 11 box running samba. I am running this command: mount -t cifs //ip/dir1/dir2 /mnt/backups -o username=user,password=pwd,domain=domain Which works and mounts the drive ...
0
votes
0answers
47 views

NFS, CIFS, and permissions

If you copy files from an NFS mount to a CIFS mount on a different server, will the permissions be retained? I am a little unclear how the file permissions work in these 2 filesystems. It seems like ...
1
vote
1answer
45 views

mount.cifs vs NFSv3 for data shared between 2 Web servers

When having two RHEL 6 Linux servers separated by a load balancer serving Tomcat and Apache content, if the data is shared between the 2 servers via a network locally-mounted filesystem, does it ...
2
votes
1answer
1k views

Changing CIFS permissions on FreeNAS?

I'm trying to change some permissions on a folder. I'm running FreeNAS and using the windows permissions settings (not Unix). If I right click the file and go to properties and then security, it shows ...
2
votes
0answers
125 views

KDE CIFS mount. Can copy files with mc but dolphin won't

I have a samba/cifs mount that is accessible r/w from the commandline (mc). The KDE filemanager dolphin shows the content of the samba share, but gives me a "no space left on device" when I try to ...
0
votes
0answers
83 views

How does one clean up a stale CIFS mount

I have a recurring problem where I need to mount a drive of a Win32 machine on my LAN so I can read and write files to it. But I have no control of said machine, and as such, said machine frequently ...
1
vote
1answer
364 views

Mounting USB Drive — Cannot delete files unless have su permissions

Is there a way I can automount this USB drive so that I don't need to have root privileges to delete files? This is what I currently have in my fstab file: /dev/sdb1 /mnt/epson auto ...
0
votes
2answers
2k views

Mounting Windows shares using cifs results in “Error:13(Permission denied)”

Ubuntu 12.04.1 LTS, kernel 3.2.0-57-generic Windows Server 2008 R2 SP1 x64 Trying to setup a network share from Ubuntu 12.04 to a Windows Server 2008 R2 however no matter what changes are made the ...
3
votes
1answer
1k views

fstab does not mount cifs at startup

I'm using Cent OS 6.5. I have a cifs share which needs to be automatically mounted at the system reboot/startup. Following is the line from my /etc/fstab file : //192.168.1.2/files/ /users/ cifs ...
2
votes
0answers
383 views

Give domain users permissions on cifs shares?

I am using CentOS 6.5 - users authenticate using winbind, all are domain users except for root. /home is mapped to a cifs share on a windows server in /etc/fstab with this line: \\server\home$ /home ...
1
vote
2answers
204 views

disable sudo password prompt for boot script

I've got raspbian installed and need to mount a cifs path after boot is completed. In fstab I got an entry for this with the noauto parameter. When using auto, boot hangs. So in raspbian, the file is ...
0
votes
1answer
85 views

Mount entry in fstab when connect to a network

I have an entry in fstab (Opensuse) which mounts a samba filesystem: //10.39.52.2/Company /media/share cifs credentials=/home/user/file,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 but ...
1
vote
1answer
38 views

Let the server own the file created by the client on a Samba share

I'm sharing a directory on my Mac using Samba. When the client (Raspebian) creates a file on the mounted share, the file is owned by the user on the client and the permissions are set to -rw-------. ...
1
vote
1answer
130 views

AIX cifs hostname with underscore

I am trying to type this comand but for some reason it takes the first and not the second version. I have entered both the host names in the host file, FYI. This command works (hostname zq13c1): ...
4
votes
3answers
5k views

mount.cifs : mount error(12) : Cannot allocate memory

I encountered this problem a while ago when upgrading my kernel but put off upgrading until now. On my system I can happily mount network shares using CIFS running kernel 3.7.10, however when I've ...
0
votes
1answer
3k views

Granting all users access to mounted CIFS shares

I'm trying to set up a debian server that will run several network-based services. These services need access to an external network drive to store their data. For security reasons, I have set up each ...
7
votes
1answer
416 views

Auto-Mounting CIFS Shares on Laptop

I've seen questions similar to this asked before in several variations, but I have yet to locate a satisfactory answer. Here's what I have: A highly mobile Debian laptop that switches networks ...
6
votes
2answers
2k views

Automount CIFS shares on boot?

I have a script saved that mounts my CIFS share, but I have to run it manually every time I boot into Linux and I connect to the internet. Is there a way that I can set the script to run as root every ...
5
votes
3answers
1k views

Why are files in a smbfs mounted share created with executable bit set?

I mounted a samba share using the smbmount command: $ sudo smbmount \\\\foo\\bar /mnt/bar -o user=tom When I create new files, they get created with the executable bit set for owner, group and ...
1
vote
0answers
42 views

Preserving owner/group on OS X-provided CIFS shares

I read the attached StackExchange link: Automatically disable Linux extensions for Samba mounts about disabling CIFS Unix Extensions in order to mount OS X CIFS shares. However, my understanding is ...
0
votes
1answer
2k views

how do I mount a CIFS share so I can fully control the mounted volume on the client

It's a simple question: but I am in much pain over this situation, so here is the question: How can I "mount" a share so that a) the share is run on boot b) that I can control things like chown/chmod ...
3
votes
1answer
560 views

Fedora 19 zfsonlinux - how to configure cifs share?

Fedora 19 with current version of zfsonlinux / smb version 4.0.9. When I try to zfs set sharesmb=on I receive smb add share failed Any ideas? Is this supposed to work yet or still in ...
1
vote
2answers
669 views

Automatically disable Linux extensions for Samba mounts

Samba enables Linux Extensions by default, which can be checked via /proc/fs/cifs/LinuxExtensionsEnabled On Mac OS X (10.8.5 or older) as well as older CIFS shares, mount.cifs will fail with a ...
1
vote
1answer
100 views

CIFS mount fails when read is interrupted

I have a functioning CIFS mount from CentOS 6.4, 2.6.32-358.18.1.el6.x86_64, to a Windows file server. If I hit Ctrlc while doing some IO intensive (like fgrep -r), then the mount (and all other ...
0
votes
1answer
227 views

Which package currently provides nmblookup command on Gentoo?

I currently installed samba on my gentoo server with following USE="acl client fam python upcall winbind" emerge -1 samba But could not find the nmblookup utility after install. The samba package ...
1
vote
1answer
862 views

mount.cifs not respecting file permissions in Ubuntu 12.04.2 LTS

I am attempting to mount a cifs drive in standard Ubuntu 12.04.2 LTS using the following line in /etc/fstab: //server-name/share-name /mnt/archive cifs ...
2
votes
0answers
143 views

Issues accessing CIFS share directories

Disclaimer 1: Crossposted from Serverfault because there was no activity over there. Disclaimer 2: This question is similar to Automounting not working correctly for CIFS shares; weird results but ...
1
vote
2answers
2k views

mount.cifs is giving Permission Denied Error

Im trying to mount the Windows Share on one of Our Redhat 5.9 Server. I use this command mount -t cifs //hostIP/Folder /share2 -o username=alpha,password=blahblahblah And mount.cifs //hostIP/sales ...
0
votes
1answer
537 views

CIFS VFS: Unexpected SMB signature

When I login to server in Text mode the following Message appearing on one of Server CIFS VFS: Unexpected SMB signature We are using Redhat 5.6 64 bit. Is this serious error and how to resolve ...
0
votes
2answers
616 views

Why could mount.cifs mount an empty folder?

gentoo, kernel 3.7.10 samba 3.6.12 SMB/CIFS server: Windows Server 2003 3790 Service Pack 2 I've encountered the situation when mount.cifs behaves differently from smbclient program. The following ...
4
votes
1answer
912 views

How do I mount a Windows folder with cifs on Raspian

I'd like to access the music library from my desktop with my Raspberry Pi, and I'd like to do this via Samba/cifs. I did the following: Set the folder Q:\musik as a shared folder on my Windows ...
7
votes
1answer
10k views

mount -t cifs: “Operation not supported”, but can connect via smbclient

After sysadmin replaced the NAS, I can no longer mount the network share with sudo mount -t cifs //netgear.local/public /media/mountY -o uid=1000,iocharset=utf8,username="adam",password="password" ...
8
votes
2answers
17k views

Mount cifs Network Drive: write permissions and chown

I have access to a cifs network drive. When I mount it under my OSX machine, I can read and write from and to it. When I mount the drive in ubuntu, using: sudo mount -t cifs -o ...
1
vote
0answers
121 views

smbmount cifs share through alias source ip

On a box having samba 3.6.x and a IPv4 number plus an alias IPv4 number, is it possible to force smblient (mount.cifs) to use the second (alias) IP for mounting a windows share. Something comparable ...
1
vote
0answers
568 views

file_mode and dir_mode do not work when sharing ext3 drive via cifs

I have a ext3 drive connected to my router and shared via CIFS protocol. I wan't to mount it with certain permissions for each file/directory. Permissions are 2770 for both. Here's my /etc/fstab ...
2
votes
3answers
5k views

Cannot mount samba share: Mount error (22)

I am trying to mount a password protected samba share. When I access the share via smb://server/share in nautilus there is no password/user promt, it seems I am logged in as a guest and I can browse ...