Tag Info

Hot answers tagged

16

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 ...


15

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 ...


13

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 ...


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 ...


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

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 ...


10

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/


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 ...


9

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 ...


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

The short answer is yes, you can set up file sharing with Samba. See https://help.ubuntu.com/12.04/serverguide/C/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 ...


7

                           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 ...


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 ...


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

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

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

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 ...


6

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


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

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 ...


5

I think the simplest approach is to forget about taskbar applets or detecting the state of the work machine, and use a third-party syncing service. Ubuntu One is the native client and Dropbox is another fine choice. Configure the same account on the home and work machines and you will have access to the files whenever you like. There are some caveats to ...


5

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


5

Open Nautilus again as an ordinary user and modify the share to remove guest access. Type gksudo nautilus, navigate to the shared folder and share it again. Share the folder but do not give guest access. Close nautilus. Go to your Windows box and access the share and provide the Ubuntu username and password. Ensure your Ubuntu firewall allows incoming ...


5

Put this at the bottom of your smb.conf, replacing the path/to/share/point with the location of your shared directory. [public] comment = Public Share path = /path/to/share/point read only = yes guest ok = yes If it doesn't exist, do sudo mkdir /path/to/share/point Then do: sudo service samba restart and test.


5

Found it. To get it working, you need to clone the repository. In order to do that, you need to install git-core - and while we're at it, we'll install the dependencies. to do that, run the following in a terminal: sudo apt-get install git-core python-qt4 Once git-core is installed, run the following: git clone https://github.com/abhinandh/py-cloudapp ...


5

Put network settings from NAT to bridged adapter in Virtualbox settings for that machine. Then your virtual machine will be in local network with your host machine. It will probably get the IP from modem if DHCP is enabled, then scp to that machine. You also need to have ssh-server installed on Ubuntu machine: sudo apt-get install openssh-server That should ...



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