Debian :: "can Not Preserve Ownership"

Sep 18, 2010

I repartitioned my installation in VirtualBox (from a single / to a /, swap, tmp, var, home and usr). As i ran out of space i mounted a host-folder (with sshfs) and copied some stuff over there (for sure var and home). I ran into messages saying: "can not preserve ownership"

View 8 Replies


ADVERTISEMENT

Software :: Failed To Preserve Ownership Operation Not Permitted

Nov 26, 2008

i have written one backup script in linux workstation.The backup script will do zipping files and moved to the backup directory(i,e /net/ts-bcn/sb_backup/sand). while moving zipped files to the backup directory i am getting some error like this #error:mv:failed to preserve ownership /net/ts-bcn/sb_backup/sand operation not permitted. i am getting the file owner and group owner as nfsnobody for the zipped files.

View 1 Replies View Related

Ubuntu Security :: Encfs: Preserve Ownership On A Shared Encrypted Folder?

Mar 3, 2010

I would like to create an encrypted folder which can be shared by users included in the users group.To do so I used encfs:

Code:

cd somewhere
sudo mkdir encrypted visible
sudo chown root:users encrypted visible
sudo chmod 770 encrypted visible
encfs /somewhere/encrypted /somewhere/visible -o allow_other -o umask='007' -o uid='0'

Now if a user (included in users) creates a new document in the visible folder, that will be

Quote:

-rwxrwx--- 1 root users 0 2010-03-02 14:19 new file

While I would like it to be

Quote:

-rwxrwx--- 1 user users 0 2010-03-02 14:19 new file

Mounting encfs without the option uid='0' gives same results with only difference that instead of root the owner is the user who mounted encfs. Also copying a file owned by different user rather than root goes to the same: for example having in my home a file like

Quote:

-rwxr-x--- 1 me users 0 2010-03-02 14:30 myfile

and trying to copy it to the encrypted shared folder with

Code:

sudo cp -a -v ~/myfile /somewhere/visible

will give something like

Quote:

cp: failed to preserve ownership for `~/myfile': Operation not permitted

And the copied file on the shared encrypted folder will be as usual:

Quote:

-rwxrwx--- 1 root users 0 2010-03-02 14:30 myfile

Is there a way to mount encfs in order to preserve ownership?

View 3 Replies View Related

Debian :: Preserve Long File Names (>37) In Genisoimage?

Dec 2, 2010

I need to make an ISO9660 file from a directory, but some of the files have names that are logner than 37 characters. I could not find a way to get the long names preserved.
I've tried various ways but in vain. "genisoimage -J -R -U -max-iso9660-names -o tst.iso cdroot" gets most close to the end, but not close enough!

View 4 Replies View Related

Debian Multimedia :: Way To Rotate Videos But Preserve Quality

May 17, 2015

i am trying to rotate some mp4 videos taken from my mobile phone. i do need to rotate them by 90 degrees.i have tried mencoder VIDEO0029.mp4 -o output.mp4 -vf rotate=1 -oac pcm copy -ovc lavc but it drops the quality A LOT.is there a way to rotate the videos but preserve the quality?

View 5 Replies View Related

Server :: Proper Way To Sync Debian Mirror But Preserve Sarge?

Aug 21, 2010

I have been tooling around with different way of getting our local Debian network mirror back up and running with different various scripts. I have tried apt-mirror which was a breeze to setup and run, anonftpsync again super easy to get rolling.

My question is there a way to make sure our Sarge distro doesn't get deleted from the mirror? A filtering command for rsync possibly?

I started to go over the script for the ftpsync (debian recommended!) and to be honest it seems way over my head due to lack of documentation that I have been able to find.

View 2 Replies View Related

Debian :: Preserve / Merge Config File Information During Software Upgrades?

Mar 21, 2011

How does Debian preserve/merge config file information during software upgrades? My google searches left me a little unclear on this point. Also (if you happen to know) does Ubuntu use the same method?

View 2 Replies View Related

Debian :: Wordpress Server Folder Ownership?

Feb 9, 2011

I've recently started setting up a new wordpress install on a new dedicated server. The system is installed on a linux debian 5 setup and running on apache.Having only ever run shared hosting before this setup is a much bigger leap than expected, but after a couple of weeks doing bits here and there I've finally got the setup running, and all appears ok.My issue is as follows:On the server the default owner of all the installed folders is "root"In order to allow media uploads, plugin installs and upgrades and wordpress auto-upgrades I've had to Chown the owner of the entire wordpress directory to the server as follows:Chown -R www-data:www-data /usr/share/wordpress/

Can anyone tell me if this is actually secure? (clearly if the server is compromised the folder would be writeable!) If not would I be better changing the owner back to root (or even creating a new user for the wordpress folder?), then chown just the uploads, theme, and blogs.dir folders to allow media uploads, upgrades, etc from with the wordpress, and then only chown the entire wordpress install when upgrading or installing new plugins, themes, etc.?Just a bit lost when it comes to the ownership of these folders as changing these ownerships is the only way i can get the system functioning 'correctly'

View 9 Replies View Related

Debian :: Default Ownership Of Folders And Files - Should Own By A User Without Root Permissions

Feb 12, 2011

Being new to Linux, i've just about got used to the Debian setup procedure now, but had a quick question on the default ownership of files and folders. On my default Debian installation, almost all the folders and files are owned by root:root. Is this the correct advised configuration or should the folders and files be owned by a user without root permissions - eg user:user?

View 12 Replies View Related

Software :: Rsync -a Does Not Seem To Preserve Permissions

Jun 12, 2011

I know rsync generates a lot of questions, but I have not found an answer to this one about whether the archive option (rsync -a) ever misbehaves. I am transferring data from field instruments running Debian etch to a central server running Debian lenny. My command is below:
Code:
rsync -av --remove-source-files --log-file=rsync_20110612_0656Z.log ./20100616/ archive@bigserver:/mnt/ZAP_DATA/20100616/zap2/

After rsync runs, the directories it touches on bigserver have very strange permissions
as follows:
Code:
d-wxrw--wt 2 root root 4.0K 2010-10-26 04:31 20101026

This says that directory 20100226 can be written by anybody, but can't even be read by its owner! I thought rsync was messing things up, but in the process of writing this question I discovered that the original files that I am trying to sync have these crazy permissions. So I no longer have a question, but if future LQers think that rsync -a is messing up their permissions, this post may confirm that it is merely copying their messed up permissions from somewhere else, as it is supposed to do!

View 1 Replies View Related

General :: Preserve Files Across Reboots Of Live Cd?

Jun 30, 2011

I want to boot the 'Finnix' distro from a usb. I have unetbootin which can set it up on the usb, but it can't allow me to preserve files after rebooting. Is there anyway to do this, maybe do it manually or use another software to install it on the usb?

For ubuntu there is no problem getting files to be preserved after reboots..

View 2 Replies View Related

Ubuntu :: Preserve The Command History In/for Zsh After Boot?

May 9, 2010

How can I preserve the command history in/for Zsh after boot?

View 2 Replies View Related

Ubuntu :: Sudo Does Not Preserve PATH As Expected?

Jun 11, 2010

I'm attempting to add a directory to PATH so it's available when I sudo. (I do not want to sudo -i), but it's not behaving as I expect.I've added a line to add the directory to PATH in all of these files:

Code:
/etc/environment
/etc/bash.bashrc

[code]....

View 4 Replies View Related

Slackware :: Way To Preserve Audio Fidelity When Ripping?

Jul 6, 2011

Which ways do you use and on what settings do you rip audio cd's to preserve the best fidelity?I installed rubyripper but the multitude of options and formats is a bit baffling for a noob. Basically I want a rip thats closest to the actual CD and not a wav file.

View 14 Replies View Related

Ubuntu Installation :: Preserve GRUB BEFORE Windows Install?

May 4, 2010

I have to install Windows XP on another partition which already has Windows Seven installed.. but I want to preserve my GRUB2 installation without going through that GRUB reinstall process. Can I copy my /boot/grub that works fine and then paste it again through the live CD?

View 1 Replies View Related

Installation :: Want To Preserve Settings From Previous Version Of Ubuntu

Apr 26, 2011

I am now using ubuntu 10.10. I am going to install ubuntu 11.04 on April 28 (after it is released). I want to preserve:
1) the list of extra programs installed by me on ubuntu 10.10 (I want to install the same programs in 11.04 also)
2) program settings

My questions:
1) From synaptic package manager menu:
File -> Save Markings (save full state, not only changes)
saves in a text file the list of programs installed on my system. I used that file to install the same programs in several computers running ubuntu 10.10. Is there a way to use that list in 11.04 also.

2) Copying the directory ~/.mozilla preserves all settings of firefox from previous installation. Like that what files should be copied for gnome applications (gnome-panel, nautilus, etc.)

View 2 Replies View Related

General :: Installing SLED10 And How To Preserve Windows Files

Feb 26, 2010

I'm trying to make sure all my windows files stay put, so i'm wondering how to go about installing SLED 10. I can't log onto windows due to a virus infection, so i'm trying to install SLED10 and get all my files from there. I wanna be able to use windows as well as linux as well.

View 8 Replies View Related

Programming :: Ssh Remote Command Preserve Quoted Argument?

Sep 17, 2009

I have a python script on one server (serv_one) and I am trying to execute it remotely from another (serv_two). The python script takes an argument with spaces. If I execute it locally:

Code:

foo@serv_one> script.py --o "arg one"
"arg one" is preserved, of course. ( argv = [ '--o', 'arg one' ] )

However, when I execute it remotely:

Code:

foo@serv_two> ssh ... foo@serv_one script.py --o "arg one"

the double quotes around "arg one" are dismissed ( argv = [ '--o', 'arg', 'one' ]. I've tried many combinations of single quotes/double quotes/backslashes, etc, to no avail. One hack solution I came up with, since I have the flexibility, was to replace all spaces in the quoted argument with a character that would be invalid in the argument (before the ssh call), and replace those with spaces in script.py. I would probably like to avoid this solution if at all possible.

View 7 Replies View Related

General :: Gentoo - Ubuntu - Can Preserve My LVM/RAID Devices - Or Do Reformat ?

May 23, 2010

I've got a Gentoo box that I'm interested in switching over to an Ubuntu box.

I currently have the partitions laid out using a mixture of RAID (mdadm) and LVM2, as specified in this document [1].

Ideally I'd like to just wipe out the non /home partition, as it's got data I'd like to keep.

Is it possible to reuse the current setup, or do I need to restart? vgdisplay, vgchange -a y, etc don't yield any results from the Ubuntu LiveCD, and I'm wary to run any commands that might wipe my data.

[1] [url]

View 1 Replies View Related

General :: Osx - Move A Bunch Of Hardlinked Files From A Box Onto OS X Mac And Preserve The Hardlinks?

Dec 8, 2010

I have an rsnapshot backup that I need to move off of a corrupt Linux file system. I need to preserve the internal hardlinks. I've tried rsync -H and using a newer rsync and neither preserve the hardlinks on OS X.

I tried to get rsync -H working and I've isolated it to the file system mounted. I can preserve hard links copying locally (HFS to HFS) but it doesn't preserve when I try to rsync off of a SMB file system mount or AFP file system mount. Is there some mount option solution to getting OS X rsync to obey -H?

View 2 Replies View Related

Hardware :: Nvidia - Preserve External Monitor Settings Between Reboots?

May 14, 2009

I recently installed Kubuntu 9.04 + Nvidia driver 180.44 on my Dell Latitude E6400 (1440x900) with NVIDIA Quadro NVS 160M. I have the G2410 1920x1080 external monitor. The monitor is connected via VGA. I am very pleased to have the monitor running at full resolution. However, the settings don't stay intact after rebooting.

If I have the monitor connected and turn on the the laptop, only the laptop screen is active. Then, I press Fn + F8 twice to switch to the external monitor which is always reset to 1440x900. After logging in I open Nvidia settings and switch the external monitor resolution to auto. There is a warning about Meta modes and I do auto fix. Then compositing is disabled, so I open system settings, turn off then turn back on desktop effect. Also, if I want to switch back to the laptop display, it stays stuck at 1920x1080 on the laptop.

Is there any way to set this up so it is automatically detected when the external monitor is plugged in and runs at the correct resolution? With my old M1330 and Intel X3100 graphics card, it would do this and was very convenient switching back and forth between the laptop display and external monitor.

View 1 Replies View Related

Fedora Installation :: Install FC11 X86-64 And Preserve Home Partition That Is In Ext3?

Sep 25, 2009

I'm planning FC11 x86_64 with a live cd , but I would like to preserve my /home partition that is in ext3 . or is there a way to do an install and keep my /home and convert it after in ext4

View 1 Replies View Related

General :: Gnome-terminal: Preserve Symlinks Of Working Directory When Opening New Tab?

Aug 31, 2010

If I'm using gnome-terminal in a working directory whose path includes symlinks and I open a new tab, the symlinks will be expanded to their destinations in the working directory of the new tab.

Is there any way to preserve the symlinks when opening a new tab?

View 1 Replies View Related

General :: Windows - Preserve Diacritics When Cross-mounting Drives To Windows7

Sep 5, 2011

A friend backed up an in accessible Windows 7 partition to a big (close to 1TB) external USB drive using KNOPIX. Unfortunately the umlauts and accents in the file names of his extensive music collection now appear garbled (UTF8 vs ISO xxx, I guess) when he accesses that drive from Windows. My guess is he needs to mount the two drives in a 'special way,' that takes the diacritics translation into account, on KNOPIX? Or do you have another idea what went wrong? This is the second part of a windows/linux problem I'm having. See how-does-one-mount-a-partition-in-windows-7 for the other part

View 1 Replies View Related

Ubuntu Security :: Encfs: Preserve Timestamps On A Shared Encrypted Folder?

Mar 2, 2010

[URL]

encfs: preserve timestamps on a shared encrypted folder?

View 1 Replies View Related

Ubuntu Installation :: Version Upgrade - Reinstall - Preserve /home Method?

Sep 18, 2010

I will be version-upgrading a friends (Ubuntu only) laptop very soon. It is 9.04 now and the new version will be (ideally) 10.04.1 The machine has a large unused area on the hard drive and who has known this situation was to use the uncommitted area to do a complete new install of 10.04.1, leaving the 9.04 unchanged (useful insurance). Then, copy, paste (?) the /home directory from the 9.04 into the newly completed installed 10.04.1 overwriting the installed directory.

Opinions seem to support the notion that such a paste into 10.04.1 is likely to be successful and trouble free as long as the 10.04.1 installing username is the same as the 9.04 username with same privilege level. I would be grateful for comments here, particularly with any details, gotchas, you can see.

View 1 Replies View Related

Server :: Monitoring Tool (like Ntop) To Preserve Statistics For Http Traffic?

Jun 17, 2010

I'm looking for a monitoring tool like ntop, but can preserve statistics for http traffic.

View 1 Replies View Related

Fedora Installation :: New Install Selections To Preserve User Data In Logical Volumes?

Apr 1, 2009

I have Fedora Core 8 installed. I would like to reinstall it so as to get back commands that have been lost. To preserve my user data that has been stored in logical volumes, what selections should I make in the installation process? Are these selections essentially the same for Fedora Core 10?

View 5 Replies View Related

Ubuntu :: Parsing Textfiles And Passing Arguments In Bash To Preserve Tracker-tag Metadata

Sep 3, 2010

I'm at the bottom of the bash learning curve, looking up, hoping someone can toss me a line. I need to update tracker on my system but this will erase the metatag database I've been building up over the course of months for the purpose of indexing a news archive. So the solution seems to be, 1) save the output of tracker-tag to a text file for all relevant files within a directory, 2) upgrade tracker (since the version in the Ubuntu repositories is very much out of date) and then 3) use a script to parse the text file and pass appropriate arguments back to tracker-tag to rebuild the database. It sounds as though it ought to be simple enough, but I need a push in the right direction, which hopefully will not be off the cliff. Before I confuse my metaphors any further, here's what the text file looks like.

[Code]....

View 3 Replies View Related

OpenSUSE :: Can't Change Directory Ownership

Oct 9, 2010

I have my hard drive arranged with a single large ntfs data partition and a number of smaller partitions for /home etc. Here's the line in fstab:

Code:
/dev/disk/by-id/ata-SAMSUNG_HD103SJ_S246J9FZ806954-part2 /home/shmuck/data ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0

But the ownership for that directory is root and I can't change it for some reason, using this line:

Code:
sudo chown -R shmuck /home/shmuck/data

It just doesn't do anything.

View 7 Replies View Related







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