I'm attempting to write a simple BASH shell script to copy some files from one of my Ubuntu machines to another Ubuntu machine's shared folder. I've searched the forums but I haven't found anything on simply using cp across a network.Since Nautilus can do it I presume I should be able to do it from the terminal or from a BASH script -- this might be my first mistake?I have tried the obvious:
cp My_local_file //Name_of_other_ubuntu_computer/shareddocs
and
cp My_local_file smb://Name_of_other_ubuntu_computer/shareddocs
but those don't work. Sharing is enabled for the shareddocs folder.
I have tried mounting the remote shareddocs folder but it seems I need to install some other package to do this? If this is true, how does Nautilus manage to do it without an additional package?
I am used to Ubuntus simple sharing with samba. Just install it, reboot and then share the files.Then do I klick on network folder and see all the shared files on the computers in the network.
How do I install it so I only need to go into network folder and see the other computers shared files.Then, how do I share files?
I hope it's not so difficult and that I have to change i config-files.
I have a Windows maching with an attached NAS Drobo device. I have a linux maching running Ubuntu 11.04 and have edited the fstab file and been able to map the windows folders for the Drobo and they all mount up fine. On the Linux machine itself can access these folders and run music/video files from them. But when I'm at another computer and SSH into my Ubunutu maching, I can see the mounted folders using the ls command but I can't see the contents of those folders.
I'm setting up a network between 2 pc's where the one should act like "file server" and a normal pc to surf on internet.called ORLA-DESKTOP and the other pc is called OLGA-DESKTOP a pc connecting to the server and automounting the shared folder to the desktop Both pc's run ubuntu 10.04 Lucid Lynx The shared folder is located on the server in /home/orla/svenson
ORLA-DESKTOP have 2 users "olga" and "orla" in a group called "svenson" OLGA-DESKTOP have 1 registered user "olga" also in group called "svenson"
users on ORLA-DESKTOP can read/write/append and so on and fully manage everything in the shared folder.But on OLGA-DESKTOP the user can make a file on the pc and then drag'n'drop the file the the shared folder, and can also delete files in the shared folder. but cannot create a file directly into the folder like on ORLA-DESKTOP I have 3 configuration files made. 2 for automounting, Located on OLGA-DESKTOP 1 for samba server configurations located on the server ORLA-DESKTOP
The first one is /etc/fstab
Code:
# /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name # devices that works even if disks are added and removed. See fstab(5).
[code]....
To sum it all up the real problem is that OLGA-DESKTOP can't append to files in the shared folder. but users on the server have no troubles doing it..
i have created an folder inside my redhat server. and i shared it via samba and mapped that shared folders inside 5 windows machine. now the problem i am facing is, if any one create a file in that mapped drive the other user cant edit that same file. but he can read it. only for files not folders.
i gave full permission to that folders and subfolders and in smb file i gave readable writable browsable permissions. and i disabled se linux and firewall
I'm a Windows person and will soon be tasked with UNIX/LINUX projects. I'm trying to learn as much as possible in a very short period of time. I'm very familiar with VMPlayer and VirtualBox. Recently I installed OpenSUSE 11.3 as a guest OS on VMPlayer (bridged network). The host is WinXP. I have also enabled shared folder to the host @ CRepositoryInstalls. Question - How do I access the shared folder from OpenSUSE (the guest OS) and vice-versa?
I am having trouble seeing files on the network in shared folders.I have samba installed. I run win7 though a virtual machine and it sees the files file, but when i run dolphin, network, then network again, i only see my computer there, no others.
I have two partitions: one for Ubuntu 64-bit and another one with the format NTFS only for keeping documents. I have shared one folder of this NTFS partition, but every time I reboot the PC (or shutdown and start again for that matter) the folder is no longer shared.Why?How can I prevent this folder to be un-shared when I reboot the computer?
I have in fact set the folder to shared.I can see my computer or "server" on the windows network.My router is all that ties my network together.And I have a criminal history...okay that last one was a lie.But really I'm stuck here I can't figure out how to let the windows network see my shared folder.
I cant open xls files in a shared folder using open office 3.1. Its all started when i install a new open office version. when im using open office 3.0.8 i can open all the files but now i cant even open it. Its always display untitled documents.
I am attempting to make a shared folder for people that VPN into the network. This folder needs to be accessible to windows and mac machines. So far I have the VPN through ppptd working. I just don't know how to make a folder. I feel like this should be fairly easy. I am using Lucid Lynx server edition.
I wanted to enable file sharing in for one of my folders under the home directory. I noticed that the 'not shared' and 'shared' always defaulted back to 'not shared'. And now I see what looks like an electrical plug icon symbol over the folder icon symbol like I might see used for some of the root folders. What does the new icon indicate about the folder attributes and why does file sharing default to 'not shared'?
I'm having an issue setting up users for file sharing. In Ubuntu 10.04 (which is awesome btw) I right click the file, and share it on the network. I can see it right away on other machine, and login using the main user account on the server, no problem. I get an issue when I try to login to the share using additional account I setup. I get to the login screen, and it seems to accept the username and password as being valid (it doesn't bring up the login screen again), instead it brings up a error message saying it's unable to mount the share. It seems so much like a permission issue. I don't want to grant all kinds of access for these users, what do I do?
I've just discovered something I've not noticed before in earlier releases. I have samba installed but like to go the easy way when setting up smb shares by right-clicking on a folder and selecting 'Sharing Options' (That, by the way, sets up the configuration for the share in /var/lib/samba/usershares rather than in /etc/samba/smb.conf.)
Trying to get my Mac to be able to access the share, I was trying different modifications to the share with right-click > Sharing Options > Modify Share. Each time I did so, this caused Nautilus to restart - that is, the whole desktop blanked out to just the wallpaper and then my icons slowly reappeared. Worse, a file copy was interrupted. And much worse, a lengthy video encoding using OpenShot was interrupted. Both the latter irretrievably.This is unfortunate behaviour. Has anyone else seen it? Can anyone else confirm this? I couldn't find anything on Launchpad.
I'm using ubuntu 10.10 inside Virtual Box. i have shared a folder on win7. i can't for the life of me find where that folder is in ubuntu now? maybe i'm missing a step with the whole folder sharing but a shared folder is created and the box is ticked, so where in ubuntu is it?
I have set up Ubuntu 10.04 with a data partition mounted as /share that I would like to make available to all users. I have only managed to do this so far by using chmod and chown, can I flag the folder so that all users can read and write from it automatically? I'm looking for something a bit like "Ignore Ownership" on a Mac.
I have a MacBook Pro.I just got it to "mount" the recording/video folders using NFS to connect to my mythbox.Here is my /etc/exports file:
Code: /var/lib/mythtv 192.168.0.0/255.255.255.0(rw,async,insecure,all_squash,anonuid=1000,anongid=1000) Here is my hosts.allow file:[code]....
I also made sure that under Settings -> Shared Folders, the "Read-only" box was unchecked.I did all this and I still cannot get the MacBook to write to the mounted folders.
I am using putty(Windows XP) to connect to one of my remote ubuntu machine. I want to create a shared folder on that machine. Please help how to create a shared folder using terminal.
I am trying to share shared folder via email myemail@yahoo.com to myemail@hotmail.com When I click the link and accept button. I get this error: Something has gone wrong (500)
We've recorded this problem and it will get investigated with the logs. If this problem is urgent, please file a bug report and include this number: OOPS-ID-1585appserver20308. For more general information on Ubuntu One subscribe to our mailing list, check our blog or follow Ubuntu One on twitter and identi.ca to get updates.
If I share a folder via email to abc@yahoo.com is it mean only share to abc@yahoo.com OR every ubuntu one user can access it if they have the link? Let user type in sharing title and message that appear in the email. This is because standard message and title always make people think that is spam virus and they ignore.
Website login problem: Everytime I login at login.ubuntu. it doesn't automatic link me back to my storage and i have to type change login.ubuntu to one.ubuntu and click sign-in to login.
lately, after shifting to 10.04, when I copy files from the Ubuntu to my XP shared folders, it goes very very slow. i restarted the router and nothing changed. I can see the folders, but the copy speed is still very slow.
I was wondering if theres a way to create a folder that would be accessible when I boot with windows or ubuntu? Is there some shared location I can place this folder?
I installed samba and set one of the folders on my desktop to share with my win7pc. However, I'm having some difficulty getting it to work. If anyone can provide some insight, I would be very grateful.
Both my ubuntu-pc and my win7-pc belong to the same workgroup. Each pc can ping the other. The ubuntu-pc can "see" that the win7 pc is part of the network; but it cannot communicate with the win7 pc. The Win7-pc does not show that the ubuntu-pc is part of the network.
I have two computers running for daily use. One is called 'server' and it is powered by Ubuntu 10.04. The other one is called 'workstation' and it runs on Windows 7 professional. On workstation I have created a folder 'Share', which I made shared for 'everybody'. Also I have installed smbclient and smbfs. With the Google I found this link: [URL] But there are errors on that page that have undermined my confidence. How do I access this shared folder?
I am running ubuntu using VirtualBox on a Macbook Pro. I wanted to share my documents folder on the Mac in the virtual machine. I had no issues creating/mounting the share folder on ubuntu. However the file permissions for the shared folder are owned by root.
Every time I share a folder (using Ubuntu 9.10 Desktop), the share is gone after I reboot. How can I make it a permanent share that persists?
Note: I used the gui to create the share (if that matters). Once I get the share permanent, the next thing I'll want to do is automatically mount it from another Ubuntu Desktop computer on the network.
Note: this will be a "peer to peer" network. I don't have Ubuntu Server and don't intend to get it. Just have two Ubuntu Desktop computers.
I want to have a shared folder mounted on startup and I put the following in my fstab: Code: VMShare /media/VMShare vboxsf defaults,gid=1001,dmask=002 0 0 Where did 1001 corresponds to the virtual share group.
When I boot up the permissions are as follows(from ls -l): Code: drwxr-xr-x 1 root virtualshare 68 2010-10-27 15:45 VMShare/
So I'm curious why it's group permissions aren't the same as owner? In the fstab I put dmask=002 which should lead to rwxrwxr-x so basically full permissions for owner and group and read/execute for public. However thats not what I'm getting. Also once I get this working correctly am I going to have an issue if the virtualshare group isn't a users primary group? On some older unix servers I ran into this issue, hopefully it won't matter as long as the user in in the group.