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

learn more… | top users | synonyms

1
vote
0answers
5 views

Configure pam_mount to prompt for password

I have configured my Ubuntu system to mount a cifs share using pam_mount and a credentials file (the credentials to access the cifs share are different to those I use on my Linux machine). I'd like to ...
2
votes
0answers
41 views

Weird mount behaviour

I have a weird thing happening and I can't explain. first take a look at the attached picture. As you can see I have a CentOS based AMS-ASPERA01 server in the DMZ, and I have 6 machines in our ...
2
votes
1answer
28 views

Automate a mount without linux password to mount a remote cifs filesystem

I have a directory in my Debian home: /home/myuser/pchome/ which i want to use as a mount point for a remote cifs filesystem. So i have a bash script, which is run on every myuser login. This script ...
0
votes
0answers
50 views

Optimal mount options for Windows Server 2012 R2

1. Linux Side What mount.cifs options should I use to mount a Windows Server 2012 R2 Share in Linux (via fstab)? E.g., what about the optimal values for vers, sec, iocharset, etc? Should I use ...
2
votes
2answers
44 views

No EOF, when a program reads its own executable file on cifs mount

My java-based installer couldn't copy itself to target dir eating all disk space and I thought it was a java bug, but then I reproduced it with plain dd. When I try to read my own executable using a ...
1
vote
0answers
96 views

How to debug NT_STATUS_INVALID_PARAMETER when mounting cifs share?

Mounting cifs share exported by one host (hostx) works ok: [piotr@demon ~]$ sudo mount -t cifs //hostx.intranet.local/pdobrogost /home/piotr/remote/hostx/ --verbose -o ...
0
votes
0answers
28 views

Permissions doesn't change while mounting windows directories (mount.cifs)

I used this command: mount.cifs //192.168.1.106/ukv_sftp$ /home/admin/public_html/remote -o credentials=/root/.smbcredentials, uid=500, gid=500 but permissions set only for root user, uid=500 and ...
1
vote
0answers
26 views

Properly mount a windows share to move files on the mountpoint

This question resulted from a question of mine on stackexchange. I mount a windows share with mount -t cifs -o ...
1
vote
1answer
264 views

RHEL 7: mount windows cifs share failed

It may look like it is duplicate question but in context of RHEL 7, it is not. As RHEL 7 does not have mount.cifs binary present in /sbin, I want to know what else can be done to mount windows cifs ...
3
votes
0answers
284 views

mount.cifs error(2): No such file or directory when using a prefixpath

I tried this command: mount -t cifs //server/share/directory /mnt/directory -o credentials=/path/to/cifs.credentials --verbose Response is: mount.cifs kernel mount options: ip=<IP of ...
1
vote
2answers
159 views

Access a subversion repository on a Windows share from Linux

For a long time we put SVN repositories on a Windows share (worked great as only one person was working on one project). Now, we are moving dev machines away from Windows to Ubuntu and we need to ...
0
votes
1answer
37 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
229 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
1k 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 ...
2
votes
0answers
195 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
58 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
2k 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
62 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 ...
1
vote
1answer
510 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
111 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
302 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
246 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
416 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
77 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
1k 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
268 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
68 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
55 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
3k 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
155 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
106 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
549 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
3k 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
2k 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
436 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
269 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
94 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
39 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
157 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
8k 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
5k 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
466 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
3k 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
2k 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
44 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
3k 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
802 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
879 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
103 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
251 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 ...