Questions tagged [cifs]

The Common Internet File System (CIFS), also known as Server Message Block (SMB), is a network protocol whose most common use is sharing files on a Local Area Network (LAN).

The Common Internet File System (CIFS), also known as Server Message Block (SMB), is a network protocol whose most common use is sharing files on a Local Area Network (LAN).

330 questions
0
votes
0 answers

SMB2 opens for Query Directory requests

Is there a way to definitely identify whether an open request sent by SMB2 client is for reading a file or enumerating the directory(SMB2 query directory request)? Sometimes, the requests are compounded and in some cases they are not. Does any flag…
Rakshith Venkatesh
  • 481
  • 2
  • 5
  • 11
0
votes
0 answers

"java.io.IOException: Host is down" after crawling one hundred thousand files of mounted cifs share in Linux file system

I have mounted a CIFS share in Linux. I am crawling metadata of the files and reading the content as you can see in the below code sample. After crawling approximately one hundred thousand files it start throwing exception: java.io.IOException: Host…
Ashish Pancholi
  • 4,569
  • 13
  • 50
  • 88
0
votes
1 answer

Host CIFS files on NGINX under Windows

I have NGINX running on a Windows box. I'd really like it to host files which are stored on a neighboring box using CIFS, but I can't figure out how to handle it in the config. server { listen 80; server_name localhost; sendfile…
zorlack
  • 664
  • 2
  • 7
  • 26
0
votes
2 answers

Remote NTFS permisisons with fstab

I am trying to mount a ntfs partition via cifs in /etc/fstab. I have set umask=000 but still not getting 777 permissions on the mounted drive. I really need to get this figured out asap. I have been seaching for the past hour without much…
Deldran
  • 153
  • 1
  • 3
  • 9
0
votes
0 answers

"ls -lh" directories reported size : linux vs cifs mounted drives

From a linux box, I recently mounted a Windows share using cifs. The intend was to "locally" use rsync to backup my windows machine. The command line used to mount the Windows drive is something like: mount \\192.168.1.74\share /cifs1 -t cifs -o…
huotg01
  • 25
  • 2
0
votes
2 answers

if the system kernel doesn`t support cifs, how to copy file from the windows share folder to linux

if the system kernel doesn`t support cifs, how to copy file from windows share folder to linux. Any method can copy the file from windows share folder without cifs or mount?
0
votes
1 answer

"Project file changed" issue in PhpStorm during working remotely

I have CIFS mounted folder on my PC, where houses a PHP project. And very often dialog box appears with the message: Project file /path/to/mounted/directory/.idea/workspace.xml" has been changed externally. It is recommended to reload project for…
Vasily
  • 1,858
  • 1
  • 21
  • 34
0
votes
1 answer

boot2docker mount windows share

I am running boot2docker on windows and I am trying to access a shared folder on my host from the VM. I have executed the following sudo mkdir /mnt/docktest sudo mount -t cifs //192.168.24.75/dock /mnt/docktest -o user=username mount:…
mangusbrother
  • 3,988
  • 11
  • 51
  • 103
0
votes
1 answer

Set-NaCifsShareAcl is not recognized as an internal or external command

I am trying to run Set-NaCifsShareAcl to set permissions on a CIFS share for iis_usrs account, but get the error 'Set-NaCifsShareAcl' is not recognized as an internal or external command, operable program or batch file. Anybody know where I can get…
0
votes
0 answers

Java renameTo() leaving cifs* files on samba mount

I have a linux java program that is reading and writing to a CIFS mounted Windows file share. See code snippet at bottom. After execution, there are files named "cifs*" left in the directory. If the target directory is on the local file system, the…
0
votes
3 answers

cifs/samba client library

I'm looking for some stand alone library to access SMB/CIFS shares. I am not looking for mounting the shares, just browsing and accessing the files for reading. Preferable something with a simple simple API similar to regular POSIX operations of…
reflog
  • 7,587
  • 1
  • 42
  • 47
0
votes
1 answer

Mounting remote fs - post mount and pre unmount scripts (linux)

I'm trying to figure out a way to run a script when a specific remote fs like cifs or nfs is mounted and also when it's about to be unmounted. I have entries in my fstab so mounting icons are automatically created on my desktop. But I need to mount…
alex
  • 111
  • 6
0
votes
1 answer

What should I set my TID to in an SMB header if I haven't established a tree connect?

When I'm building a smb packet, what should the header TID be set to if I haven't established a tree connect yet? I'm trying to do a dfs referral. I don't want to do the tree connect until after I've done the dfs referral and picked a domain…
David Mulder
  • 7,595
  • 11
  • 45
  • 61
0
votes
1 answer

Windows create undeletable file in shared folder

I have a shared folder on a Windows 7 computer. I have two files in this folder. I want one file to be writable by other users from the network but I also want the other file to be uchangeable and undeletable. How can I set this up in the windows…
Miretz
  • 154
  • 1
  • 12
0
votes
1 answer

Access to files on CIFS partition from my application

I've just mounted samba share to my Nexus 7 (CM 11) under root using kernel module. Everything seems ok for applications (ES File Manager, Total Commander etc), I see files and can read them, even "cat" command from shell works. But I'm unable to…
mastermind
  • 51
  • 1
  • 6