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


ADVERTISEMENT

Software :: RHEL 5.5 - Rsync Not Retaining Permissions

Jan 28, 2011

I've got an older RHEL 5.5 server that we're using for our company email server. We're going to retire this server and I've created a new Debian Linux server as it's replacement. Now I'm trying to rsync all the users /home/ directories to the new server however when I tested this, I noticed a problem. In the old source server where I'm running the actual rsync command from, everyone's home directory is owned by their unique UID and a generic GID (100 = users). So when I execute this command on the old RHEL 5.5 server:

Code:
rsync -e ssh -avz /home/* root@192.168.0.101:/home

Why are all the users home directories being owned by root:root on the target server? It's not owned by root:root on RHEL 5.5 and the only thing I can think of is my rsync command is wrong. According to the man page, I can see that using the -a switch should preserve all file ownership and much more. It's not doing this on the target Debian server. If it tries to copy over /home/bob and it's owned by bob:users, if Debian didn't know or have a UID for Bob, wouldn't it just assign a UID from RHEL 5.5 to the Debian server? So like /hone/bob would be owned by 1009:users?

View 3 Replies View Related

General :: Convert Many Files To Individual .bz2 Files Retaining Original Name?

Mar 28, 2010

i have a large directory of .bsp files that i would like to convert .bz2 archives. I've been searching for some time and all i can find is the obvious compress multiple files into one large archive. If anyone knows how to convert each file individually, while retaining the original file name (testmap.bsp would be archived as testmap.bsp.bz2)

View 5 Replies View Related

Ubuntu Servers :: Find All Of Files On Server With Permissions 777?

May 11, 2010

How can i find all of the files on the server with permissions 777?

View 2 Replies View Related

Ubuntu Servers :: Change The Permissions To Enable To Move The Files?

Aug 28, 2010

So i pulled some files off my buddy's computer via my wireless home network, i can access them but in the permission tab the owner is "nobody" so i can move the files. How can i change the permissions to enable me to move the files?

View 3 Replies View Related

Ubuntu Servers :: Server Process Created Files Permissions

Nov 20, 2010

Currently have access to a VPS where we are running a small game server on ubuntu - the problem is that it is a multi-user environment, so when one person restarts the server process, all files it creates are owned by that users name and group. I have created a group called 'game' and added both users to it, but I need to know how to make all files in the game server's directory to be r/w/x for the group 'game'. Currently, I have a script that chowns and chmods all files recursively on startup, but I'd prefer not having to do this.

View 4 Replies View Related

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 Servers :: Apache - Change The Permissions For A Directory And All Files Inside

Dec 12, 2010

I would like to change the permissions for a directory and all files inside the directory how do I do this? The website is located only on my local network so I am not worried about security. Also what would be the optimal permissions for running wordpress.

View 1 Replies View Related

Fedora Servers :: F11 & Apache Permissions - Reading Files Out Of The Html Directory

Jun 12, 2009

With F11 installed Apache is having permissions issues reading files out of the html directory. Only wants to work with permissions set to read for other. [Thu Jun 11 23:25:28 2009] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /var/www/html/index.html Tracked down the permissions issue. Is there a good reason not to change the group to apache and remove world read?

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

Ubuntu Multimedia :: WMA To MP3 Retaining Meta Data

May 23, 2010

I have about 50% of my music collection in wma format from my old Windoze days. I don't want to spend the time ( it is about 1800 songs) to re rip the tunes but I want uniform format. I tried using Sound Converter 1.4.4 but I lost all the meta-data.

View 4 Replies View Related

Ubuntu :: 10.04 - Retaining Screen Resolution On Reboot

Nov 22, 2010

Every time Ubuntu (10.04) starts, it uses a screen resolution of 1024x768. I change this successfully through Preferences to 1280x1024, but it is never remembered at the next boot. How do I ensure that it is. (I've read that an etc/X11/xorg.conf file may be used for this, but I don't have one and am unsure what I need to put into one)

View 3 Replies View Related

Ubuntu Installation :: Upgrading LiveUSB While Retaining Persistence

Jan 6, 2011

I presently have a Karmc LiveUSB with a casper-rw partition, but am thinking of changing the LiveUSB image to Maverick, while still using the existing casper-rw partition and its data (mostly settings for Ubuntu itself, haven't installed any programmes). Using usb-creator, by the way. Are the config files for Karmic and Maverick significantly different that this will cause any major problems? [Separately, I think this will have implications for my existing Karmic install, because I'm planning to clone my Karmic /home partition to a fresh Maverick install.

View 2 Replies View Related

Fedora :: Retaining Ownerships During Transfer In SCP

Sep 15, 2009

I have a directory on the remote machine running redhat ES 2.1, which i want to copy to a local machine running fedora fc 10. I am using scp and want to retain permissions, links, and also ownerships of the copied directory structure. I am using scp -pr but the ownerships are all chaning to the user running scp, in my case its root. I have checked the user/groups. They are same on both the sides (lotus,bin,root). And yes I cannot use rsync as the remote m/c does not have this.

View 3 Replies View Related

Ubuntu Multimedia :: ATI Catalyst Control Not Retaining Settings / Resolve This?

May 13, 2011

Hardware
HP 8510P
ATI Mobility Radeon HD 2600

Natty Narwhal with Catalyst Control Center for the ATI Radeon and FireGL graphics accelerators is installed.

Version-- 2:8.840-0ubuntu4 (fglrx-amdcccle)

Launching and configuring dual monitor support that connects and expands my Desktop/Workspace when my laptop is docked works fine. However, it does not want to retain the settings after a restart and I am forced to set it each time. Ideas?

View 8 Replies View Related

OpenSUSE Install :: Can't Get While Retaining A Usable System?

Aug 27, 2011

I'm planning to install openSUSE on a rather old computer(1,5 GB RAM 2,2 GHz Intel Celeron) and I have only 3,6 GB disk space at my disposal. Using Xfce or LXDE desktop environment what is the minimum installation size I can get while retaining a usable system?

View 5 Replies View Related

Fedora :: Updating Firefox While Retaining All Plugins / Bookmarks

Mar 25, 2010

I did not find any easy way to update firefox by googling so I am asking here. But Is there an easy way to update firefox to firefox 3.6 retaining all plugins, bookmarks etc. I am using fedora 12.

View 14 Replies View Related

Ubuntu Installation :: Fedora 12 - 8.04 Dual Boot - Fully Install While Retaining My Music ?

Jan 30, 2010

I have ubuntu 8.04 installed on a full disk partition. I've just bought a linux magazine, which came with a CD containing Fedora 12. I want to dual boot or fully install while retaining my music, if at all possible.

I've tried running the Fedora disc and choosing to fill empty space with Fedora, but I get an error informing me that I don't have enough space. Presumably, this is because I have a full disk partition.

View 1 Replies View Related

Ubuntu Servers :: Openvpn Can't Get Permissions To Key

Mar 10, 2010

Trying to set up a VPN on my seedbox. I get an error when I try to start it.

I followed this guide: [URL]

Here is my server.conf:

Code:
#################################################
# Sample OpenVPN 2.0 config file for #
# multi-client server. #
# #

[Code].....

View 7 Replies View Related

Ubuntu Servers :: Allow All File-permissions For Everyone

May 11, 2010

on certain folders on a samba-server I would like to allow everyone everything.(Note: This refers to the filesystem-permissions. External security is cared for by samba. No problem here)That means: every local user and every remote user should be able to fully create, delete and modify every file in certain folders and all subfolder of these folders. This should include file contents and timestamps and permissions. And it should include modifying files owned by someone else, again meaning create/delete/modify/timestamp etc.

View 9 Replies View Related

OpenSUSE Install :: Retaining Previous Kernel Boot Option?

Sep 28, 2010

Is it possible using YAST to make it possible to be given the option to boot the previous kernel when a new one is installed during an update?

View 9 Replies View Related

Ubuntu Networking :: When Transferring Large Files Using Scp Between Desktop Running Maverick And Other Servers?

Nov 12, 2010

sometimes when transferring large files using scp between my desktop running maverick and other servers running Ubuntu, Debian or CentOS, I get the following error message: 77% 258MB 11.3MB/s 00:06 ETAReceived disconnect from xxx.xxx.xxx.xxx: 2: Packet corruptI've found a seemingly related bug report on launchpad here: but the provided "ethtool" fix did not help. I'd be most grateful for any ideas on how to solve this issue. Some more info:Linux lotus 2.6.35-22-generic-pae #35-Ubuntu SMP Sat Oct 16 22:16:51 UTC 2010 i686 GNU/Linuxlspci | grep eth -i00:19.0 Ethernet controller: Intel Corporation 82567LM-3 Gigabit Network Connection (rev 02)

View 1 Replies View Related

Ubuntu :: Moving Files In Terminal \ Moving Files That Have Root Permissions?

Mar 4, 2010

I have limited experience in terminal, but let me first explain what I am trying to do to see if there is some easier way to do it. Basically I want to change the skin in aMSN. I downloaded the new skin but am unable to unzip or move it without /root permissions. I don't know how to acquire this without being in terminal. So I figured there had to be some way to go into the terminal and use it to move the unzipped folder from the desktop to the aMSN skins folder.

View 3 Replies View Related

Ubuntu Servers :: LAMP - How To Manage Permissions

Jan 13, 2010

I have a LAMP server running Ubuntu 8.04.03 Server edition running smoothly. Ive setup several websites on the server and all are ok, but I constantly have trouble with permissions. Everytime I setup a new domain to host, I setup a user specific to that domain. This allows SSH login specific to the domain. The problem I have is that every time I setup ownership in the virtual directories for the users they belong to, the settings don't seem to stay. Initially it seems to work ok, but when I install Joomla and setup the webspace, I always seem to have to login to the server itself to chmod the folders I need to have writable. I cant chmod properly from my FTP client which is weird. How to manage permissions?

Currently I am doing the following:
Code:
sudo mkdir -p {name of domain}/{public,private, etc...}
sudo usermod -g www-data {my user name}
sudo chown -R www-data:www-data /var/www/{directory for the domain}
sudo chmod -R 775 {folder path I need to change}

This works for a while but as I add new things to Joomla and I want to modify the folders, I always have to go back and redo the chmod and the chown commands to get them where I want.

View 4 Replies View Related

Ubuntu Servers :: Permissions For A Log File Being Changed?

Feb 23, 2010

I have a recently setup my first linux server (hardy) and am having problems with the permissions for a log file being changed. I believe this is caused by syslogd, but am not sure how to correct it. Bacula will report it is unable to start a backup because it is unable to open the log file (/var/lib/bacula/log) "permission denied". After changing the owner from syslog to bacula, the backup will resume. However, the following day I encounter the same problem because the owner of the log has been changed back to syslog.I see where the permissions for logs are altered in sysklogd, but I am not certain how to make bacula exempt or if this is the right approach.

View 1 Replies View Related

Ubuntu Servers :: Cannot Rm Directory? Or Change Permissions?

May 27, 2010

i'm having issues with a folder which I cannot write to or seem to do anything else with? i figured i'd delete it and start again but i can't even do that!!

Code:
server@server:~$ sudo chown server /media/server/swap/downloads/incomplete/
chown: changing ownership of `/media/server/swap/downloads/incomplete/': Operation not permitted

[Code]....

View 5 Replies View Related

Ubuntu Servers :: Text File Containing Permissions?

Jun 9, 2010

Is it possible to have a text file somewhere that contains a list of all users that are allowed access to a given folder? This would be fantastic for file servers on a network.

View 1 Replies View Related







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