Questions tagged [file-sharing]

A mechanism for allowing and mediating access to files for non-local users and programs. Such mechanisms are either built on top of local filesystems or seamlessly integrated into distributed filesystems. Common examples of file sharing mechanisms include CIFS (SMB, DFS), NFS, GlusterFS, Lustre.

652 questions
634
votes
18 answers

How do you find what process is holding a file open in Windows?

One thing that annoys me no end about Windows is the old sharing violation error. Often you can't identify what's holding it open. Usually it's just an editor or explorer just pointing to a relevant directory but sometimes I've had to resort to…
cletus
  • 9,999
  • 9
  • 37
  • 40
97
votes
6 answers

How to delete cached temporarily credentials for a network share on a Windows machine without rebooting or logging off

This is more of a curiosity then a real problem, I am just to lazy to reboot or log off my laptop. I have connected to a network share on a Windows server with domain credentials from a non-domain Windows 7 machine, I didn't mark the option to…
ralz
  • 2,751
  • 2
  • 17
  • 22
82
votes
2 answers

How to configure a Windows machine to allow file sharing with a DNS alias

What process is necessary to configure a Windows environment to allow me to use DNS CNAME to reference servers? I want to do this so that I can name my servers something like SRV001, but still have \\file point to that server, so when SRV002…
Michael Ferrante
  • 1,641
  • 1
  • 13
  • 10
70
votes
9 answers

How can I get a list of shared directories on local Windows server?

If I have a Windows server (typically 2000, 2003 or 2008), is there a simple way to list all local directories shared on that server? I can find the shares themselves easily enough, but I would love a quick way to find the local directories they…
37
votes
5 answers

How to make Samba share to NOT ASK FOR PASSWORD

NOTE: I have read probably up to 50 different pages describing how to setup public Samba share in the span of 2 YEARS and nothing ever worked for me. I don't know how much RTFM I need to set this stuff. I need/want to setup a completely open public…
hijarian
  • 851
  • 1
  • 10
  • 14
30
votes
4 answers

What does NT_STATUS_BAD_NETWORK_NAME mean in Samba?

I set up a share like this: [global] security = user map to guest = Bad Password usershare allow guests = yes [vms] comment = VirtualBox Virtual Machines path = /home/neil/VirtualBox/HardDisks guest ok = yes read only =…
Neil
  • 2,425
  • 8
  • 36
  • 45
29
votes
3 answers

Creating a windows account only for share access

I'm running Windows Server 2008 R2 in a workgroup, not a domain, and I want to create a local account that is only used for allowing other computers in the same workgroup to access file shares on that server. When clients connect they will be…
18
votes
2 answers

What a pros and cons of FTP vs SSH for file transfers?

Why to consider setting up an FTP service on a server when files transfers work fine by means of SSH (with Midnight Commander on a Lunux and FileZilla on a Windows client)? What are pros and cons of both? Except of the fact tat FTP is more widely…
Ivan
  • 3,398
  • 19
  • 50
  • 71
17
votes
6 answers

How to share assets between multiple web servers?

I have multiple Linux web servers attached to a load balancer, and I like to share assets (such as pictures, videos, and other stuff) between these servers. What is the best way to do this? Currently, I have mounted on a file server to all the web…
getmizanur
  • 593
  • 1
  • 5
  • 13
17
votes
7 answers

What security risks are there with employees using Dropbox?

Are there any particular security concerns to keep in mind with company-wide use of Dropbox file sharing / versioning / backing up, and are there specific options or settings that would be recommended to limit the risk?
davebug
  • 905
  • 2
  • 8
  • 17
16
votes
4 answers

Vagrant shared folder and file change events

I have ubuntu virtual machine that I'm accessing through Vagrant. On my host (Mac OSX), there is a folder with couple of files, that I share to virtual machine. In that virtual machine, I want to use guard to watch for files changes and perform some…
16
votes
6 answers

VHD network file transfer fails consistently at 4GB

This issue has been extremely frustrating for us: when transferring a large VHD (virtual hard disk) file from a Windows 7 machine over the network to a physical Windows Server 2008 machine at our datacenter, the windows file transfer fails at 4 GB…
Isaac Butt
  • 251
  • 2
  • 11
13
votes
8 answers

Anonymous access to SMB share hosted on Server 2008 R2 Enterprise

First off, I have read through this post and a whole slew of non-SF posts which seem to address the same or a similar problem, however I was still unable to fix my problem. I've got three machines in this situation: a domain-joined server that runs…
bwerks
  • 752
  • 3
  • 10
  • 22
13
votes
4 answers

How do I force specific permissions for new files/folders on Linux file server?

I'm having an issue with my install of Ubuntu 9.10 (file server) and its samba permissions. Logging in and reading works fine. However, creation of new directories by users restricts access for other users. For instance, if Bob (Windows user who…
humble_coder
  • 533
  • 2
  • 6
  • 14
12
votes
5 answers

How do I mount sshfs at boot?

Using a NAS box as 24/7 file server, I'd like to use sshfs to connect to it from an Ubuntu 9.04 desktop. Currently, I have this line in the desktop's fstab: sshfs#jldugger@storage:/mnt/HD_a2/ /mnt/storage fuse …
jldugger
  • 14,342
  • 20
  • 77
  • 129
1
2 3
43 44