Tag Info

Hot answers tagged

18

I had this exact problem. It turned out IT had installed some old version of VMWare tools with non-functioning vmhgfs kernel module. My solution was to run the configuration with the clobber-kernel-modules setting to overwrite the existing vmhgfs module. sudo vmware-config-tools.pl -d --clobber-kernel-modules=vmhgfs The -d selects all the defaults for ...


17

First of all: if you want to share files, there are several different protocols of interest: Samba (SMB), NFS, FTP, SSH/sFTP/SCP. Samba is the easiest if a Windows computer is involved, but you can use it also between two Ubuntu (and even Mac OS) machines. SSH is a nice thing for Ubuntu, because it's a very powerful tool - e.g. running rsync over SSH is a ...


16

The important thing to remember is that Desktop and Server are the same underlying OS, with different packages & configuration In Windows that isn't true (tx to @jay-bazuzi) This is a step-to-step answer. Install samba sudo apt-get install samba samba-common Install some dependencies for Configuration tools sudo apt-get install python-glade2 ...


14

Use NFS to share file between systems if there is no windows involved, it is so easy. Install nfs-kernel-server and nfs-common on the computer that has the files to be shared. These can be installed in the Software Center, or however you prefer to install packages. You can install them on the command-line with: sudo apt-get update && sudo apt-get ...


13

Have you installed Samba? sudo apt-get install samba If so, then you need to set a Samba password: sudo smbpasswd -a USERNAME. This command will generate a prompt for a password (substitute USERNAME with your username). Set a folder to share mkdir /home/USERNAME/sharedfolder Make a backup copy of your smb.conf file: sudo cp /etc/samba/smb.conf ~ Open ...


12

Configure create mask and directory mask in /etc/samba/smb.conf with the desired permissions. from /etc/samba/smb.conf: # File creation mask is set to 0700 for security reasons. If you want to # create files with group=rw permissions, set next parameter to 0775. ; create mask = 0700 # Directory creation mask is set to 0700 for security reasons. If you ...


12

I think you need to also pass the windows share name as well as confirm that you've created /media/Data sudo mkdir /media/Data Use something like smbclient -L //172.29.32.184 to list the shares, then append the share name to your mount sudo mount -t cifs -o username=raghu //172.29.32.184/sharename /media/Data/ If you need to mount your windows ...


12

You can move to a given directory with cd, then serve the current directory as a web server with the command: python -m SimpleHTTPServer On the other machine go to the address http://server-ip:8000/


11

Method 1: You can use SAMBA for file sharing(but samba is mostly used to share files between linux and windows machines) In terminal type the following gksudo gedit /etc/samba/smb.conf Add the line usershare owner only = False to the [global] section. Go to Places>>Computer. Right click the folder you want to share and choose Sharing Options. Check the ...


10

Since you want a GUI based server (Which is an Ubuntu Desktop transformed into a awesome server ;) ) then just do the following steps before proceeding: Update everything. Make sure you have already updated and upgraded the system sudo apt-get update && sudo apt-get upgrade This way we are on the same page. Make sure your wireless card is ...


9

Apache / Lighttpd Use a web server like apache or lighttpd, though those are a bit hard to setup if you never did that before. You can enable directory listings in their configuration, which allows the users to browse and download the files. Python's SimpleHTTPServer As I found on Simple Http Server support, Python ships a simple HTTP server - you don't ...


8

The short answer is yes, you can set up file sharing with Samba. See https://help.ubuntu.com/14.04/serverguide/samba-fileserver.html There's also a beginner-friendly tutorial here http://www.howtogeek.com/74459/how-to-create-samba-windows-shares-in-linux-the-easy-way/. If you search for Samba in the Ubuntu Software Center, you'll find a nice little GUI ...


8

                           Share files between 2 ubuntu computers if you have two computers running Ubuntu on the same network, it could be an good idea to use openssh to share files between them. sudo apt-get install openssh-server openssh-client Then you need to figure out the ip of each the computer you want to connect to. Most of the time it’s ...


8

You can announce services by using the avahi service. To announce a service, you have to add a service description file in the /etc/avahi/services directory. For example, to announce an sftp share, create a file sftp.service with: <service-group> <name replace-wildcards="yes">SFTP on %h</name> <service> ...


8

NOTE: The question at the time addressed Email transfer (per comments from the OP on the question). This answer is written to address that question as it was, in that email is the transfer method available here. When using email to transfer files between systems, you can't 'preserve' all the file permissions as you want them to be when just sending the ...


7

General idea [source] The basic idea is to just start Dropbox from the command-line using an alternate home directory. This will create another Dropbox icon, and another Dropbox folder, which has to be in some other place from the original one. The two Dropbox folders will both be called Dropbox (this cannot be changed), but you can distinguish ...


7

I think you might be able to accomplish what you want using network block devices (NBD). Looking at the wikipedia page on the subject there is mention of a tool called nbd. It's comprised of a client and server component. Example In this scenario I'm setting up a CDROM on my Fedora 19 laptop (server) and I'm sharing it out to an Ubuntu 12.10 system ...


7

You could write use below mentioned shell script to create links for those directories for existing users and could use skel so that links are automatically created when new users are added. #!/bin/bash # GENERATES ALL THE USER HOMES USERSHOMES="$(cat /etc/passwd | grep home | grep -v /bin/false | cut -d: -f6)" # THIS IS THE LINK NAME LINK="music-dir" # ...


7

Access control lists The straight answer is access control lists (ACLs). Yeah, you can find a counterexample, but they're good enough in practice (unlike mere group writability which requires that users think about it all the time). What they do require is that the system administrator (root) define the groups, if you want files to be shared only by a named ...


7

You may suffer from bug #34813, where access to shares on Windows systems is broken. Access to files on Ubuntu hosts is not affected. Troubleshoot Shared Folders in Virtual Box To investigate if your shared folders are setup correctly you may go through the following steps: Install the latest release of Virtual Box. Make sure Guest Additions meet your ...


7

On the desktop this is as simple as switching on the folder sharing with anonymous access, right click on the folder and click "Sharing Options" it may ask you to install the sharing services, install them: Once done (and restarted session) then just share the folder with guest access: On the Ubuntu Server (without graphical desktop) you can follow ...


7

Samba has its own layer of access control for each share. There are two basic options read only: by default every share is read-only, regardless of filesystem permissions, writeable: in order to allow write access you should set writeable = Yes. This should be enough to solve the problem. But if you'd like to learn more about Samba permissions, like how ...


6

Alternately , you can also use USB Drive for transferring data. If you are unable to see your data from Windows.


6

I suggest you use bindfs. bindfs allow multiple local users to read and write (create, delete, rename, modify...) all files (including newly created ones) from a shared directory and its subdirectories. You can specify users by user name or group, it is very flexible. See - Ubuntu wiki bindfs


6

I think you need to use the following parameters: # I changes the permissions to rw-rw-r-- # You should be able to change them to 775 if you need the files to # be executable create mask = 664 force create mode = 664 security mask = 664 force security mode = 664 # I set the SGID flag here as I thought this is what you wanted # You could change to 0775 ...


6

Create a Samba share with Nautilus This is probably the easiest way. In nautilus right click on the hard drive in question In the resulting context menu click Properties There select the tab Share Check the box Share this folder Optionally you can check any of the other boxes Click Create Share The first time you do this, you will be asked if you want ...


6

assuming you have installed samba, on the command line, you can explicity list all shares on a given host with this command smbclient -L <hostname> -U cashew -U is the username option This command might be helpful, when nautilus might not list all hosts and shares that are in fact available. Connect to a SMB share with smbclient //server/share ...


5

well you can do that with samba file server. you can install it by sudo apt-get install samba First, edit the following key/value pairs in the [global] section of /etc/samba/smb.conf: workgroup = EXAMPLE ... security = user The security parameter is farther down in the [global] section, and is commented by default. Also, change EXAMPLE to ...


5

The new nautilus in 13.04 (raring) no longer shows a place to enter connection credentials. This makes it really hard to connect if you don't know the URI syntax. You can find help for the SMB URI syntax at Wikipedia. Basically, use one of these URIs: ...



Only top voted, non community-wiki answers of a minimum length are eligible