Ubuntu Networking :: Permissions With Shares - Transfer Files

Feb 14, 2010

I've been using Ubuntu for about 2 years now, but still have trouble with some of the finer workings of linux. I have a laptop that I use for general computing, and a desktop hooked up to a TV as sort of a remote backup/htpc. A problem I run into is when I transfer files, they get transfered with the owner set as the original computer's account, and I can't do anything until I open a remote viewer and gksudo nautilus to change the permissions of the file. I looked at articles about permissions and uid's, gid's, and umask but can't figure out how to apply it to my situation.

I thought about doing something with groups but am not sure exactly what, and anyway, default group settings only give read access and what I'm really looking for is the ability to manipulate files and folders across the entire /home dir on my desktop from my laptop. Desktop is running 8.04 and laptop is running 9.10. BTW I am currently sharing through smbfs. I read that this has been replaced by cifs, but at the moment I would prefer not the mess with things if I don't need to.

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: Rsync Backup - Transfer Files With Appropriate Permissions

Dec 4, 2010

I wrote a script to wake up my windows machine and do an rsync backup of some of my files. I wanted to make this command a accessible through local bin so I made it executable. However the problem is that when I copies files is copies them with root permissions and i can edit or delete them. How can I set the files so they transfer with the proper permissions for my Ubuntu user?

Code:
#!/bin/bash
# Description: This script first wakes up the client machine and syncs the appropriate folders.
# Finally the script shuts down the client if it was off to begin with.
if [ "$(whoami)" != "root" ]; then
echo "Permission Denied"
exit 1
fi .....

View 8 Replies View Related

Ubuntu Networking :: Grant Write Permissions For Samba Shares

Aug 27, 2011

I have a Natty headless server that I would like to set up shared directories and grant specific users write permissions. I use a Windows 2008 R2 machine with Active Directory for authentication and have created a group GroupWithWriteAccess which I want to have write access to the shared directory. I want all other users to have read only access. I have edited my smb.conf file with the following

Code:
[TV]
path = /media/share/Media/TV
writeable = yes
write list = primaryuser @GroupWithWriteAccess
create mode = 0660
directory mode = 0770

The machine is fully setup to work with Windows authentication and I can access shares from the ubuntu machine, it's just sharing local directories with the correct permissions that I can't work out. So far I can access the files from my other machine, but I do not have write access even though I am logged on as a user who is a member of GroupWithWriteAccess.

View 1 Replies View Related

Fedora Networking :: Can't Copy Files From Samba Shares

Aug 6, 2009

After latest samba updates from updates-testing (F11) I can't copy any file from the network via samba: when copy process reaches almost end of the file, error message appears 'Invalid argument'. Such error happens with any read attempt on a network file - the last ~5% of a file can not be read.

View 1 Replies View Related

Ubuntu Networking :: Files On Windows Shares Opens With File-roller?

Feb 16, 2011

I'm using Ubuntu 10.04 and i can browse our network's windows xp shared folders properly using nautilus. The problem is if i double click a file on the network shared folder, (ie. a .doc file) its opened by file-roller and not Openoffice writer. i've tried changing open with in properties to ooo writer but it still opens with file roller. What can I do to open a file properly on the windows shared folder.

View 1 Replies View Related

Networking :: Transfer Files To My Pc?

Feb 13, 2011

I need to transfer some a large amount of file from my Linux lap-top to my desktop Windows machine. Can I connect the two computers through a simple crossover cable and simply navigate into the Windows machine and move to files manually or if not, what's the best way to do this? I don't want to burn a bunch of disks.

View 2 Replies View Related

Ubuntu Networking :: Transfer Files Between PCs Without Using Routers?

Jul 8, 2010

When I try to copy a file from a shared folder of other laptop, the whole of data passes through the router.This affects the internet bandwidth within the network. Is there a way to access the shared files without necessarily going through the router and also without affecting the internet connectivity.

View 1 Replies View Related

Fedora Networking :: Transfer Files Through Ftp?

Jul 21, 2010

I want to transfer files through ftp on my fedora 13 system. when I type ftp in terminal, it shows an error message "command not found" why?

View 6 Replies View Related

Networking :: Scp - Two Computers - Can Only Transfer Files One Way?

Feb 13, 2009

I currently have two computers (one windows one linux) connected to each other via a crossover ethernet cable. Now, each computer can see each other and I can ping both ways. Also, I can ssh into the linux box from windows (putty, cygwin) as well as ssh into my windows machine from the linux box. Here's the problem: I can send files from my linux machine to my windows machine with no problems doing this:

scp this_file.txt windows_user@10.10.10.11:/cygdrive/c

however, I can't seem to send from windows (cygwin) to the linux machine. Here is what I see at cygwin x-term prompt:

$ scp that_file.txt jqweezy@10.10.10.10:/home/jqweezy
jqweezy@10.10.10.10's password:
Executing /etc/profile ...

Now, it seems like everything went fine. However when I look in /home/jqweezy that_file.txt is not there.

p.s. Don't know if this helps, but here is some extra info. Linux machine has only one NIC. Windows has two NICs, one NIC is setup for automatic network detection the other is setup for communication with linux machine via crossover cable (see above).

View 2 Replies View Related

Networking :: When Load The Files Via NFS - Can Not Transfer The / Lib To My Station

Jun 17, 2011

I am using remote boot via PXE boot to an a remote machine. So okay, but when I load the files via NFS, I can not transfer the / lib to my station. I recompiled the kernel, which already influence all NFS packages built in this set as Obrigadao.

View 1 Replies View Related

Networking :: Transfer Files From PC To A Sftp Server?

Dec 17, 2010

I would like to transfer files from my PC to my account at a sftp server, and I don't know how to do it.

My PC is running with:
User: User1
Address: 10.0.2.3

My sftp account is:
User: SFTPUser1
Address: sftp-server

I can access the sftp server with the command:

Code:
sftp SFTPUser1@sftp-server
The sftp server doesn't answer to ssh requests.

How can I transfer files to the sftp server?

View 7 Replies View Related

CentOS 5 Networking :: SCP Fails To Transfer Files?

Apr 11, 2009

I have two CentOS 5 servers that I'm trying to transfer files between. They're on the same LAN switch, same subnet and everything. So far, everything I've attempted has failed, but scp still exits with a return code of 0. It only displays a line of *** and exits immediately. It's almost as if the file transfers instantly, but no file actually gets copied. Here is the verbose output from scp:

scp -v kickstart.tar ****@192.168.xxx.xxx:/home/****
Executing: program /usr/bin/ssh host 192.168.xxx.xxx, user ****, command scp -v -t /home/****
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

[code]....

View 4 Replies View Related

Networking :: Can't View List Of Shares In Nautilus But Can Browse Shares Directly?

Dec 11, 2008

I run opensuse 11 at work. I'm trying to see the list of shares on a "server" that is running windows server 2000. If I try smb://server, it doesn't show any shares, but I can browse directly to it such as smb://server/share1. If I use smbclient, it returns the list of shares correctly. I guess I just don't understand why smbclient shows the list of shared folders, but nautilus cannot.

View 3 Replies View Related

Fedora Servers :: NFS Shares Mount But Permissions Are All Nobody Nobody?

Apr 2, 2011

This morning my NFS shares mount but permissions are all NOBODY NOBODY. If I ssh to the server to check the drive(s) permissions are all as they should be! Exports there are fine as is my local fstab. I hope I am just suffering and update glitch because they usually go-away in a subsequent update.

I just spent an hour and a half trying to track it down with no success - time to give up before I do real damage (to which I am prone ).

fc14 on both

View 14 Replies View Related

Ubuntu Servers :: Samba Shares Using Active Directory Permissions?

Jul 20, 2010

I am the IT Manager at a research facility. We have a fairly unique network configuration in order to support all of the different projects we have going on. We have Red Hat, Ubuntu, Windows XP/Vista/7, Windows Servers 2003, Ubuntu servers, Red Hat servers, and even a few Netgear ReadyNAS and Buffalo Terastations. Over the last few years, I have been migrating all of my users and accounts to a single ACL list, which I chose to be a Windows AD 2003 server. 95% of my users work on Windows platforms and just use ssh tunnels to develop on our linux boxes.

However, i ran in to a problem with our Linux boxes not being able to symbolic link on my Windows 2003 file shares. Of course, this is a problem with Windows not supporting symbolic links. I know 2008 does support this feature, but given the economy and the budget restraints, we cannot afford to purchase the updates we would need, so now I am moving all of my shares to a Ubuntu 10.04 server using Samba. I have joined the server to my AD domain successfully, i can login using my AD credentials, and even assign ownership and group permissions using AD users/groups.

Here is my question.

I would like to keep the AD permission schemes intact. I have several shares that contain folders that have individual permission settings. For example, I have a /shared directory that contains about 50 different folders. Some of these folders I allow my users to write data to, some just read, and others I deny access to complete groups and just allow key groups to access (for example, personnel data should only be accessed by the Administrative staff).

Is there a way to make this work?

I can assign uid and gid manually per folder in Samba, but i would like to have the possibility to add multiple users and groups with permissions to folders, which I do not believe can be done with the standard chown commands. Currently, I can see the folder permissions from my Windows box, but when I try to edit the permission settings, it defaults back to full access. So my AD permissions are not being saved.

View 9 Replies View Related

Fedora Networking :: Setup To Share And Transfer Files Between The 2 Or 3 Pcs?

Mar 15, 2009

My main pc is this Fedora 10 pc. I have two other pcs that run different Linux distros from time to time. What is the basic setup to share and transfer files between the 2 or 3 pcs? They are connected through a 2wire modem/router.

Do I need Samba installed? or is that only if to need to network with a Windows pc?

View 14 Replies View Related

Fedora Networking :: 12 Hangs On Transfer Of Large Files?

Dec 9, 2009

I have Fedora 12 (with all the latest patches, including the 2.6.31.6-162 kernel) installed on a new Supermicro SYS-5015A-H 1U Server [Intel Atom 330 (1.6GHz) CPU, Intel 945GC NB, Intel ICH7R SB, 2x Realtek RTL8111C-GR Gigabit Ethernet, Onboard GMA950 video]. This all works great until I try to transfer a large file over the network, then the computer hard locks, forcing a power-off reset.

Some info about my setup:

[root@Epsilon ~]# uname -a
Linux Epsilon 2.6.31.6-162.fc12.i686.PAE #1 SMP Fri Dec 4 00:43:59 EST 2009 i686 i686 i386 GNU/Linux
[root@Epsilon ~]# dmesg | grep r8169
r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded

[code]....

I'm pretty sure this is an issue with the r8169 driver (what I'm seeing is somewhat reminiscent of the bug reported here). The computer will operate fine for days as a (low volume) web server, and is reasonably stable transferring small files, but as when as I try to transfer a large file (say during a backup to a NAS or a NFS share), the computer will hard lock (no keyboard, mouse, etc.) at some point into the transfer of the file. It doesn't seem to matter how the file is transferred (sftp, rsync to NFS share, etc.).

View 10 Replies View Related

Networking :: Automate The Transfer And Processing Of Files Between Two Systems?

Oct 30, 2010

I'm trying to automate the transfer and processing of files between two systems to help test and compare a new server installation. The workflow is a bit complex but I'm basically modifying a script on server 'A' to push a file to server 'B' as standard input to another script.

[Code]...

But no luck. I've tried it without the port in the server_args parameter, without the '-l' option; I've tried having the server parameter set to 'tcpd' and the call to '/bin/nc' in the server_args too. But no success. Can anyone point out what I'm doing wrong with the config? PS. I've restarted xinetd and server B is listening on port 1112 and accepting connections - but nothing gets piped into the script on server B.

View 2 Replies View Related

Networking :: Using Kermit To Transfer Files With 3 Server System

Mar 23, 2011

Here's the system:
1 server running regular Ubuntu, 40km above the surface of the earth on a scientific balloon behind an iridium modem (RUDICS) connected to its serial port
1 server on the ground running Ubuntu server
1 intermediate server used for contacting the iridium system from the ground server

I'm not sure if all the above details are completely necessary but I included them for completeness. I would like to be able to log into the balloon server and transfer files in both directions. The procedure for connecting is to telnet to the intermediate server and then to issue some modem commands to call the balloon. The balloon server is set with getty running on the serial port connected to the modem. The way I have figured out to transfer files is to run kermit on the ground server and connect to the balloon server through the intermediate server, then run kermit on the balloon server, and set it as a file server with the server command.

However, there is some sort of timeout or something, and only a few kB of any file gets transferred before the connection is broken. After that it seems like the ground server is trying to get the file from the intermediate server (which has no useful files on it at all). The file transfer screen stays open and it keeps trying and trying to transfer, until I type ^C. I don't know if there is a way of detecting through a kermit command whether the connection is still open or if there is some sort of switch to make the transfer automatically stop once it has stalled.

I have been reading about No Kermit Server (NKS) protocol, which seems to be designed for a system like this where the connection is across a third server. Is this likely to do a better job of keeping the connection open and the file transfer going? How can it be implemented? Is there any kermit command to determine from the ground server whether the connection is actually still open? Is there any way of telling whether the connection goes all the way to the balloon server or whether it ends at the intermediate server? I actually just learned about kermit today.

On a related note, is it possible to have the balloon server running getty on the serial port but still have the port accessible for reading and writing by, say, a python script (which could use the modem to dial down to the ground when it isn't in use)? It doesn't seem to work but I'm wondering if there is a way. Is there a way to temporarily stop getty, then restart it, or is this potentially hazardous? Keep in mind there will be no way to contact it if something goes wrong since it will be 40km above the earth.

View 6 Replies View Related

CentOS 5 Networking :: Transfer The Files From A The Client To The Server Using FTP?

Feb 27, 2009

I'm carrying out a project for my university (CIT in Cork, Ireland) and I'm using CentOS running over WMware. I have a server and a client. The server has no GUI (command line UI) while the client has a UI. I need to install a Simple Forum Machine application and I'm told to FTP the files into the server. I figured out that the best option is to load the files in the client via the GUI and then ftp them in the server. How do I transfer the files from a the client t o the server using FTP? I'm totally new to Linux so the more details the better. Also I'm trying to mount a USB key on the server but have had no luck.

View 2 Replies View Related

Ubuntu :: Unable To Change User/group Permissions On Samba Shares?

Jul 3, 2011

this is my first real problem that I can't solve my self.I've a test samba share called "Share" and I've created three users:

-mones
-fsu
-fsu2

[code]....

View 2 Replies View Related

Ubuntu Networking :: Connecting 10.04 With Windows 7 - Transfer Files Like Music - Documents - Pictures

Jun 20, 2010

I want to connect a laptop running ubuntu 10.04 to a laptop running windows 7 via direct connection in order to transfer files like music, documents, pictures, etc. I have an ethernet cable that I thought I would need in order to do it. Is that even possible?? If so, how would I go about doing that?

Now, I have tried to share the files wirelessly but for some reason when I pick up the workgroup on the ubuntu laptop and enter the password in order to connect to the windows laptop it says my password is wrong, when I know for a fact that it is not. I know I can transfer files with a flash drive and what not but I want to try to get this working.

View 1 Replies View Related

General :: Samba Shares And File And Folder Permissions - No Access To Others

Jul 13, 2011

i have 3 shares on my samba. i have users - user, manager and boss projects is RW to everyone reference is R to everyone RW to manager and boss Proposals is RW only to boss, no access to others However when boss logs in and creates a directory in projects share, the directory can only be renamed bu users and manager, and directory contents are read only for users and managers, even deletion / rename is denied. How can i make sure that when ever boss creates a directory in projects, it retains base folder permissions and is writable to user this is my samba file... i am using red hat 6.1 with samba 3.5.6 (i think)

[Code]....

View 1 Replies View Related

Ubuntu Networking :: Permissions For Proc Files?

Jul 30, 2010

i want to change permissions for /proc/sys/net/ipv4/ip_forward and permission denied.when i want to delete it , operation not permitted.i know it is dynamically created file . but i want to chenge its permittion to read-only or delete it

View 2 Replies View Related

Ubuntu :: Network Shares Not Available \ When Use OpenOffice Writer To Open/save Files The Shares Disappear In The "Open/Places"?

Apr 23, 2010

I am giving 10.04RC a try instead of Windows 7, so far so good. I can connect to my network shares fine using "Connect to a Server" & bookmark with the file browser, however when I use OpenOffice writer Spreadsheet to open/save files the shares disappear in the"Open/Places". Is this a bug in Ubuntu or Open Office? Is there an update/fix?

View 1 Replies View Related

Ubuntu Networking :: How To FTP Files Between Servers Retaining Permissions

Feb 21, 2010

I got two ubutnu servers running side by side, I need to transfer several dir's of files, incl sub dirs to the other server via ftp and retaining the file permissions and dir structure. Both servers have ftp access, I am assuming theres an ftp command I use on the destination server to connect to the source server and retrieve the files? All the files reside in the one dir and need to be copied to the same dir on the destination server.

View 1 Replies View Related

Ubuntu Networking :: Transfer Files From Cluster To Host And Then Host To Another?

Mar 4, 2010

I am working on a cluster for a molecular dynamics class and I have to edit my FORTRAN code (only the newest and best for me!). In order to get through to the cluster I have to ssh in. The network on which the cluster resides is behind a firewall, so I have to ssh through the firewall into the network first.

this is fine, I can login and move files and folders as needed, including sftp-ing into host 1, then into the cluster so I can transfer files from cluster to host and then host to me. This gets rather tiresome, so it would be nice to edit the files in place.

The problem is that when I access my code with emacs it launches the emacs client on Host 1, with no mouse support. I know the purists will howl about how I should be using keyboard shortcuts, but I am a chemist and not a programmer, so the mouse is very nice for me. Is there any way I can perhaps mount the cluster using sshfs so that when I open my code it launches a local instance of emacs? Sorry if this is the wrong forum, but I thought it was network related.

View 3 Replies View Related

Networking :: Transfer Files From A Machine To A Windows Machine Which Are Not In The Same Network?

Jul 6, 2010

I had run one script in unix machine and want to copy the results to a windows machineBoth the machines are on different networksIn linux machine trying to do the ftp to the windows machine its giving connection refused. How to chech whether ftp is running on that linux machine or not?Also tried scp and ssh , both are failing

View 6 Replies View Related

Ubuntu :: Permissions For My Home Directory Were Accidentally Changed From 'access Files' To 'create And Delete Files?

Nov 25, 2010

the permissions for my home directory were accidentally changed from 'access files' to 'create and delete files', and I changed them back, but ever since then I am not able to change any preferences/settings at all. power management, themes, panels, emerald, anything. my user account is supposed to be the administrator, and all the user privliges are checked. how to get control of my computer back?

View 9 Replies View Related

General :: Change Folder Permissions Without Changing The Permissions Of The Files Within The Folder?

Aug 11, 2010

How do I change folder permissions without changing the permissions of the files within the folder?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved