CentOS 5 :: Extracting Tarbal Changes Ownership?

May 13, 2009

I just downloaded a tarball from the web and moved it into the /tmp directory as shown below:

[root@ideweb1 tmp]# pwd
/tmp
[root@www tmp]# ls -l
total 1632
-rw-r--r-- 1 carlwill users 1664897 May 13 10:35 data.tar.gz

View 7 Replies


ADVERTISEMENT

General :: Centos Network Settings And Ownership?

May 21, 2011

Installed 5.6 and all is well except my window pc doesn't see the centos laptop on the network, but it is on the network. I have access to the Internet via firefox. Obviously need to set some ipconfig settings, but when I try to edit ipcfg file in sbin, I get a msg, "not the owner, can't save". Is sbin the right directory? Is ipcfg the right file to edit?

View 6 Replies View Related

CentOS 5 :: Why Do Files Created Via Samba Have Nobody Ownership?

Apr 21, 2011

files and directories are NOT being created with consistent ownership and permissions: when created via Samba, they are created with user/group = nobody, and when created via the OS, they are being created with user/group = root.This causes problems with our automated tools that access the server (via Samba) and do a variety of file system operations (which need root privileges).How do I cofigure Samba so files/directories are created with user/group = root?

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

Ubuntu :: Taking Ownership Of New Partition?

Feb 10, 2010

The previous writer gave instructions for editing fstab. He said to enter something like the following line in fstab:

/dev/hdb1 /media/harddrive ext3 defaults,errors=remount-ro,users,user_xattr,user 0 0

My partition is: /dev/sda7.
I created a folder in media: /media/8g
The file system is: ext2 (Do I need the "defults" instruction? What does this do?)
errors=remount-ro (I think I understand this)

[Code]....

He also said, after this was all done, to enter the command: sudo mount /media/[my new partition]

Since it's already mounted? What does this command accomplish?

View 9 Replies View Related

Ubuntu :: Can't Change Ownership Of Folder?

Feb 19, 2010

I've tried using chown to change the owner on one of my folders - but to no luck? This is what I run on the terminal - and there's no output. And when i view the permissions of the folder it's still set to root?[URL]

View 9 Replies View Related

Ubuntu :: Change The Ownership Of A Folder?

Jun 30, 2010

how to change the ownership of a folder and everything within it through the Terminal. chown, in this case, isn't going to work.

View 9 Replies View Related

Ubuntu :: Way To Change Ownership Of File

Jul 7, 2010

I need to install a script into my Gimp folder which is owned by root. I tried "chown my name usr/ share/ gimp2.0/scripts" in terminal, but it tells me folder does not exist. I know I'm missing something, but I haven't done this in a while, so I'm not sure what it is.

View 2 Replies View Related

Ubuntu :: Changing Ownership From Root

Nov 7, 2010

I have an external usb hard drive, vfat, mounted as /media/USB STORAGE. It has on it's own(?) changed it's ownership to root. I need to change it back. I have tried 'sudo chown -R pbhill : pbhill /media/USB STORAGE' and get the message that no such file or directory exists. I can access it read only, so I know it exists. Am I using the correct command?

View 9 Replies View Related

Ubuntu :: Virtual Box Not Starting Due To Ownership?

Jun 7, 2011

I recently installed ubuntu 10.04 on a new system and installed Virtual box to run a virtal Windows environment. I also added an additional 2 Tb hard disk to the system that will be used to store the virtual machine(s). I managed to add the hard drive in ubuntu and it is recognized as DriveD_ in the Media folder (don't ask me how i did it ... trial and error). I am the owner of this folder. In the media folder there is also a folder named DriveD, and this is an empty folder. The owner of this folder is Root. When I start Virtualbox, Windows starts up normally, and recognizes the second drive D (which I partitioned and formatted before). After closing the Windows, Virtual box and Unbuntu, the mystery begins. When I start Ubuntu, the DriveD_ folder is not visible and I cannot start the Windows virtual machine (error message: VD: error VERR_FILE_NOT_FOUND opening image file). When using Tux Commander, I do not see DriveD_. When I use Nautilus to go to the same Media folder, both folders are visible (DriveD and DriveD_). When I open Drive_, the Virtual machine files are present. After doing this, I can start Virtual Box and start Windows normally. I think it has someting to do with the ownership of the second hard drive that I added (maybe I made a mistake attaching it in ubuntu?) Has anyone experienced this before?

View 2 Replies View Related

Programming :: Changing Ownership Of File

Aug 4, 2010

I am running a shell script as the user "redhatuser01" and this script creates a files in the home directory of another user "redhatuser02" (/home/redhatuser02/sample.txt) but the ownership of this file is currently "redhatuser01". How can i change the "ownership of this file to the user "redhatuser02"? (My constraint is that I cannot sudo as redhatuser2 and create the file).

View 5 Replies View Related

General :: Replacing Ownership Of Certain Files?

Jan 30, 2010

Is there any working commandline alternative to # find /some/dir -group xxx -user yyy | chown xxxxx:yyyyyThe main purpose is to replace ownership and goup of certain files in subdirectories. Or nevertheless I need to write shell script for that simple operation ?

View 5 Replies View Related

General :: Ownership For All Members Of Group

May 27, 2010

Can I assign ownership of a particular file to everybody of a group?If the file had rwxrw-r-- permissions, will every member of the local-group have owner access privileges (rwx) to this flie now?

View 8 Replies View Related

Programming :: Restore The Proper Ownership?

Jul 22, 2010

Using chown as root, from the userb directory and as follows /home/userb chown -R userb:users /home/userb/* has changed the ownership of direcories, subdirectories and files of all other users. There are too many of those but only 4 users to restore the proper ownership and I do not know bash, can someone give me a bash script to do the job, avoiding the -R switch?

View 14 Replies View Related

Fedora :: Extracting Audio From An .avi?

Jun 1, 2010

I've just downloaded a vidio from ..... and converted it to an .avi file. What I want, however, is just the soundtrack as an .mpg to add to my mp3 player. I'm sure Fedora has software to do this, but I don't know enough about audio/video editing to know where to look.

View 4 Replies View Related

Fedora :: Extracting Tar Gz File ?

Aug 9, 2011

My OS is Fedora 14 - 64bit. I want to extract and install this file "LEXMARK-INKJET-LEGACY-wJRE-1.0-1.x86_64.rpm.sh.tar.gz". At the moment this is in the download box in the top left corner of my monitor.

I have tried several ways, but all I get is Command Line Output. Gzip:stdin: unexpected end of file./bin/gtar: unexpcted EOF archive. /bin/gtar: error is not recoverable: exiting now.

View 1 Replies View Related

Ubuntu :: Crc Failed When Extracting Rar?

Jan 25, 2010

I never had any problems extracting any rar files until about a month or so ago. Now I can't seem to extract ANY video file that has been rared. It is becoming a pain to have to boot into windows just to perform a 15 second task. I dont have any problems with any other files except video files. I get a 'CRC Failed' message. None of my searches have yielded any results. Does anybody know what is causing this problem and how to correct it? Or yet, why it just started happing? I'm using karmic, and was using p7zip-rar until the problem began. The I added unrar and unrar-free but that didn't make any difference.

View 2 Replies View Related

Red Hat / Fedora :: Extracting Tar Onto Another Server?

Mar 17, 2010

I created a tar of the /var/www/html directory from a live web server and I want to extract it onto another server that will eventually become a backup server to the live server.When I extract the tar file, I see the whole directory structure /var/www/html. How do I extract the file just leaving the contents of the html directory in the directory of the new server?

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

General :: Restrict Device Ownership To Root Only / Why Is So?

Jul 6, 2011

NSA's Guide to the Secure Configuration of Red Hat Enterprise Linux 5 recommands restricting device ownership to root only.

So my question is why should we restrict device ownership to root? And what does device ownership mean anyway in Linux?

View 2 Replies View Related

Ubuntu :: Changing Ext Hd Ownership From Root To User

Apr 17, 2010

I just got a 1.5 terrabyte Western Digital My Book 1110 external usb 2 drive. I used Gparted to reformat the drive to ext3. The problem I have is I can't change the file permissions for the drive because it says the drive is owned by root. I can't back up my files into the drive because it won't allow me to. I am using Jaunty Jackalope and got this drive to back up my files so I can feel comfortable in upgrading to Karmic Koala in case there are major problems with the upgrade.

I know someone out there in the community can tell me the commands to use in the terminal to let me gain ownership of this external drive from root so I can copy my files into it. the entire drive itself is seen as /dev/sdb One meg of the drive is unallocated and the part of the drive that I reformated is seen as /dev/sdb1 my personal files are owned by the name of dave

View 6 Replies View Related

Ubuntu :: Anyway To Make It PERMANENTLY Under MYUSERNAME Ownership?

Sep 25, 2010

In order to get my PIC programmer to work through Piklab, I have to change the ownership of the /bus folder to myself;sudo chown MYUSERNAME -R /dev/bus.The ownership of the folder then reverts back to root after some time.Is there anyway to make it PERMANENTLY under MYUSERNAME ownership?

View 3 Replies View Related

Ubuntu :: Changing The Ownership NTFS Volume?

Oct 4, 2010

(Ubuntu 10.04) I would like to change to change the ownership of one of my storage partitions from root to dad - I am currently reading through as much Ubuntu documentation as I can but the process is slow. If I gksudo nautilus and select the drive, right click/properties/Permissions the owner is set to root. If I try to change the group ownership from root to dad it looks like it momentarily does it but it stays at root.

using Pysdm as a gui for fstab - but so far I have only found out how to allow other users to mount the volume not own it. My fstab entry for this volume reads as /dev/sdb6 /media/backuphd2 ntfs-3g group=dad,users,user,owner 0 0 - it looks to me that in terms of ownership, root = 0 0 Can I find out what the ownership of dad is in terms of numbers (e.g. owner 0 1 or owner 1 1) and then change the fstab entry?

View 5 Replies View Related

Ubuntu :: Changing File And Ownership Permissions?

Jan 1, 2011

I installed Ubuntu from the alternate cd a few days ago to save space and resources on a very old laptop. (install command line, then add what I wanted) But I have struck an interesting problem with file permissions. Various programs like synaptic, leafpad, pcman, Banshee, all require I enter the root password to execute them (or sudo command from terminal). I want to change synaptic from root ownership to sudo and leafpad etc to execute without using the sudo command in terminal. I could get comments on the commands before I execute them in terminal and if I am introducing a security problem, as I am still learning bash. $ sudo chown sudo:sudo synaptic

I would still be asked for my sudo password before being able to open synaptic? As in standard Ubuntu instead of root password.$ sudo chmod 777 leafpad pcman Banshee All users could open these programs from the menu? I have my admin account and a general account which I use for everyday things like surfing the net and listening to music.

View 6 Replies View Related

Ubuntu :: Rsync Not Maintaining File Ownership?

May 16, 2011

I have an Ubuntu machine running NFS4 server and a plugapps (arch linux) machine connecting as the client. The plugbox is running an rsync job to backup the home directory from Ubuntu to a local USB HDD.

All of the files in the destination have owner nobody and group nobody.

Ubuntu /etc/exports:

Code:
/home 192.168.2.1/24(rw,sync,no_subtree_check,no_root_squash)
plugbox /etc/fstab

[Code].....

how I can mantain the file owners. I have the UID's and passwords sync'd between the two machines for both root and the user who's home dir is being backed up.

View 9 Replies View Related

Ubuntu :: Shared File Changes Ownership When Saved?

Aug 1, 2011

I've created a share using Nautilus on an Ubuntu 11.04 machine and can access it OK from both my Win 7 pc and partner's WinXP machine. We both have Ubuntu accounts and use those to access the share. When an Excel spreadsheet is saved on the WinXP machine the ownership changes and it can then only be opened read-only on the Win7 machine. A further complication could be that the Win7 machine has OpenOffice and the WinXP has MS Office. I'm guessing that XP + Office doesn't really care about or see the permissions, but Win7 + OpenOffice does. Should I be using the share with the same username from both PCs? Is my whole approach misguided?

View 1 Replies View Related

Ubuntu :: Changed Ownership Prevents Booting?

Aug 5, 2011

So, I've done a lot of stupid things, but this one ranks pretty high. So I'm looking at files here and there, fooling around and tweaking things if I can, but after a while, I get sick and tired of having to fiddle around because a file's owner is root. So, completely ignoring the fact I could start an x session as root, I perform the following command:

chown -hR MY-USERNAME / I'm thinking to myself, "Oh look at me, I'm so smart" until I turn off my laptop for the night and come back this morning, and ubuntu (10.10, 32 bit) says it could not change ICE authority (or something like that) and a few more error messages. Then, I boot into the recovery console, and again, not even bothering to think anything through properly, I chown everything back to root, then chown my home folder back to me. Anyway, I still get the error message, execpt now I can't alt-c to close the first windows that talks about the ICE authority file.

One of my friends has an ubuntu partition, so I can ask him about certain ownerships, but that could take a while and I don't know where to start.

View 3 Replies View Related

Ubuntu :: Lost Ownership Of Home Folder?

Jun 22, 2011

I'm a bit of a Linux newbie so bear with me. I had a problem with Gnome-DO not starting on start-up. Searching this issue suggested that Gnome-DO was trying to start before a service that it needs to start and a script to fix the problem was provided:

Code: !/bin/bash
sleep 10
gnome-do When I try to save this file (using gedit) to any folder in my home directory,

[code]...

View 5 Replies View Related

General :: Change Ownership Of An Entire Directory?

Jul 2, 2010

Installed Sidux over LennySidux didn't want to take my usual username, because a folder with that name existed in my home directory.So, I just mounted the home partition and changed the name of my home directory from shay to shay1.Don't know what that did or didn't do permission wise to the files in my old home directory, but I've got a few unowned files floating around my home directory anyway that have been dragged in from old harddrives and such.

View 3 Replies View Related

General :: Root To Change The Ownership Of A File?

Jun 17, 2011

Why would I need to be root to change the ownership of a file? Example: I'm logged in as dwadmin and I've created a file:

-rw-rw---- 1 dwadmin dgw 0 Jun 17 07:46 testing.txt

I want to change the ownership to another user, but am getting the following error: chown 511 testing.txt chown: changing ownership of `testing.txt': Operation not permitted

View 5 Replies View Related







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