Slackware :: Root User Can Not Change The Ownership Of A Hard Drive?

Apr 22, 2010

I have Slackware 12.2 installed on my computer, as well as a Windows Xp. I have a hard drive named '/fat-d', which is formatted to be 'fat' and is normally used under XP. This drive can also be accessed under Slackware, both as root and the normal user.I can not write to the directory '/fat-d' when I am not root, it is normal since 'ls -l' shows that its owner is root and other users have no permission to write. The problem is that, when I tried (as root) to change the owner to the normal user:# chown [normal_user_name] /fat-dI got an error: chown: changing ownership of '/fat-d/':Operation not permittedBut how can the root have no permission to change the owner?

View 6 Replies


ADVERTISEMENT

Ubuntu :: Cannot Change Ownership Of Newly Installed Second Hard Drive

Jan 6, 2010

Recently, I decided to wipe my system, put in two 250GB hard drives and rebuild my home file and print server. One of the hard drives is a SATA drive, and the other is not. In any event, they are identified as /dev/sda and /dev/sdb in Gparted. So far so good.

Working on (reading from/writing to) the first hard drive (where the OS is installed) is no problem. However, I have had difficulty trying to get my system to recognize my second hard drive and then allow me (nate) to read and write to said second drive. I followed these directions from the ubuntu community web page during installation:

[URL]

and setup my second hard drive with an ext3 file system. The drive is /dev/sdb. The PARTITION is /dev/sdb1. The MOUNT POINT is /media/TheBase250.

The problem(s) begin at this point. I cannot:

1. Unmount the volume at my will-error says that only root can unmount

2. I am not sure if the command sudo chown -R nate:nate /media/TheBase250 allowed me to take full ownership of said drive. It appears as if nothing changes when I run this command in terminal (even when I am root) Moreover, I cannot give myself permission to read and write files to the drive.

3. However, when I open up nautilus, browse to "TheBase250", right-click in the corresponding "explorer" or "finder" window and look at the properties for the drive, it says that "nate" is the owner (under the permissions tab), but again, I cannot give myself FILE read/write capabilities, nonetheless anyone else. When I try, all that happens is the corresponding box goes back to displaying "---"

4. Interestingly, if I skip nautilus and double-click on the drive from my desktop, again, logged in as nate (only user account created) and then proceed to right-click on the window that opens up, click properties, half the time it says that I cannot make changes to the permissions because I am not "nate." Well, last time I checked, I am nate, and this is, albeit delinquent, my computer.

5. Another piece of information that may be helpful is that if I simply right-click on TheBase250 drive icon on my desktop itself, navigate to the permissions tab, the dialogue box says that "The permissions of "TheBase250" could not be determined"

Some additional information that may be helpful is the output from my fstab file. So, for your benefit, here is the output (the stars are not part of the file, but only to help improve readability):

************************************************** *****
# /etc/fstab: static file system information.
#
# Use 'vol_id --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].....

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

Software :: Mount Network Attached Hard Drive As Non-Root User

May 1, 2010

I have Kubuntu 10.04 Lucid installed on my new laptop and I'm trying to get my backup script up and running again. I had a script that would connect using smbmount with my normal user account and then mirror my home folder to the external network attached hard drive with rsync. It seems that rsync needs to be run as user account, not root, to work properly.Some of the setup info for getting this running in Kubuntu Karmic was from this article:

However, smbmnt does not exist in *buntu 10.04. Is there any other way to connect NAS drives as non-root user that is relatively secure? I spent all day yesterday struggling with this and still haven't found a solution.

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

Ubuntu :: Live Disc Mount Hard Drive - Root User Access?

Mar 23, 2009

My wife's XP has crashed and I need to save files. I've discovered the command to mount the hard drive - unfortunately I need to force the mount, but I can't do it because I have to be in root. I can see the root user in the user list, but when I try to switch I can't access it. How I can do it to back up my wife's files. I have Kubuntu 8 and KDE 4.1.

View 2 Replies View Related

Ubuntu :: File Permissions / Ownership - Even Root Cannot Change

Aug 30, 2010

I have been VERY lucky and managed to restore from a formatted ext3 /home/ partition. I used testdisk to reset the original partition which had had nothing done to it since formatting(!). However some of the file permissions are a altered and I cannot change them. I have tried "su chmod" and even temporarily enabled the root account itself and tried to alter the ownership/permissions from root 'proper' without it helping.

Here is an example of the output of ls -l
drwxr-xr-x 2 martyn martyn 4096 (date) (time) sponsors
?-----S--T 63231 92820383 44090688 4286824785 (date) (time) order.xls

The first line looks like a normally formed output and indeed is readable. The second line looks corrupted and I don't have a clue how I can reclaim this - or even if it is possible. Should I count my blessings most of my files are intact and leave those be?

View 2 Replies View Related

Slackware :: Managed USB Pen-drive As Root But Cant Do It As A Normal User?

Apr 28, 2010

I am using Slackware 13.0 and i have managed to work with my USB pen-drive as root but i cannot do it as a normal user.

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

Fedora Installation :: Lost All Data On Drive By Bad Clicks - Change User To Root?

Jul 21, 2009

This is my 6th install of Fedora, begining with Fedora 4 I have had very good luck with all until 9 and I lost all data on drive by my bad clicks in a frustrated session. Now I have a great install of Fedora 10 with the exception that I fouled up and typed in a user (myself-'andybill') and am finding out that the work I need to do cannot be maximized by operating in user - andybill, I need to be super user. I have just moved and have not done any collaboration with our senior partner in a data development start up that he is the intellectual property in deed and law. For me to get back on track my using this OS I have to be master of all libraries, drivers etc. I am a nu-b (only 2 1/2 years, with no computer science background. This explains why I need step by step commands without abbriviated lingo-So if I can remove myself as andybill, make all root

View 13 Replies View Related

Ubuntu Installation :: Change The Ownership Of All Home Stuff To Root Instead Of My Normal Username?

Dec 21, 2010

how I managed this, but somehow during a reinstall I changed the ownership of all my home stuff to root, instead of my normal username. So now nothing loads, unless I sudo it. I had to use sudo just to open firefox.

View 3 Replies View Related

Slackware :: Change Ownership Of All Games At Once Or Remove Permissions?

Jan 16, 2010

I caught my two oldest boys at various times playing games instead of doing their school work.I said enough is enough. I will lock them out of the games. I don't think you need to be in the games group to play games

View 7 Replies View Related

Ubuntu Servers :: Cannot Change File Ownership On NTFS Drive?

May 25, 2011

process of migrating my server to Ubuntu Server 11.04 after my Server 2003 installation suffered a HDD failure. All my data is on an NTFS drive (not ideal but not much I can do about that). I can currently only read the disk as a user. root has ownership of everything on the disk. Whenever I try and change ownership of a file it doesn't bring up any errors but when running ls -l it shows that nothing has actually changed.

View 2 Replies View Related

Software :: Change A Process Running In Root-user To Non-root User ?

Oct 28, 2009

Is It possible to change a process running in root-user to non-root-user by setting suid / uid / euid / gid etc... I so please instruct how, when and wat to set in order to change a process running in root-user to non-root user

View 4 Replies View Related

General :: Change Password For Newly Created User And Root User Using Graphical?

Jan 15, 2010

I am using mint 8 for a 2 weeks, I am noob to linux but I like Mint than any other linux distro which is great alternative to windows. I have a problem regarding password reseting.

1. My laptop automatically get logged in without asking user name and password.

2. I tried to change password for newly created user and root user using graphical way but it does not work.

2. I can perform administrator task using only OEM user which is default inbuilt user of mint.

How can make my laptop to ask password when mint get booted? How to change password for other users?

View 1 Replies View Related

Ubuntu :: Change Root User Name?

May 17, 2010

I often put together complete computers from spare parts. When I do, I put Linux on them and put my name as the root user. However, I don't build these to keep them for myself.....I usually end up giving them away to someone who needs one and can't afford to buy one. What I would like to do before givi9ng them away is to change the root user name to their name. How can I do that? CAN I do that?

View 9 Replies View Related

General :: Change From Root To Dif.user?

Sep 30, 2010

Im trying to run this program and they say I should not run it as root but as a diff user. how to change from root to dif.user. I am using linux CentOS 5.5. Is it a terminal command? How do i create a diff user and log in as it?

View 5 Replies View Related

Slackware :: Adding Another Hard Drive Changes Drive Id's In /dev/sd*

Mar 29, 2011

I have a dual boot computer with slackware_64 13.1 and windows.

I have a 120G ide hard drive that I need to add to my computer.

Adding this hard drive changes the drive device id's and slackware won't boot.

as installed, my drives look like this:

When I add the extra hard drive, it looks like this:

I know there is a way to make an initrid and to use the uuid identifications for the drives, and even use labels instead of the long uuid's, but I'm unfamiliar with this process, so I was hoping somebody that's done this before might point me in the right direction.

View 11 Replies View Related

Fedora :: Change Root User Name And Password

Mar 25, 2010

I am running Fedora 12 as Guest OS in VMware Player. I installed Fedora 12 by using a Prepackage VM . The root user name and p/w was supplied by the person who made this appliance. Is there way for me to change root user name and pw

View 2 Replies View Related

General :: Change The Root Directory For A User?

Oct 5, 2010

For a user on a Linux host, I need to make everything inaccessible besides his home directory. I have heard that this is usually done by changing the root directory for the user (and setting it to the user's home directory), however I couldn't find the way to do it.

I thought about the chroot command, but it seems it just runs the specified command, considering the specified directory as the root directory. So it seems chroot is not what i need. So my question is: what is the command which changes the user's root directory?

View 7 Replies View Related

Fedora :: Change The Mouse Cursor For Root User?

Dec 17, 2010

Does anyone know how to change the mouse Cursor for the root user?

View 5 Replies View Related

General :: Unable To Change The User And Root Permissions?

Mar 23, 2011

I was unable to change the permissions for root node and for other users also. WE have tried all the possibilities like chmod and chmod -R 777 filenem. But we are unable to change that.

View 4 Replies View Related

General :: Change User To Root It In Obuntu 10.04lts?

Jun 27, 2011

How to change user to root user in obuntu 10.04

View 6 Replies View Related

Slackware :: KDE Desktop Freezing On Root User / Fix It?

May 18, 2011

I recently ran into a problem with my install. I accidentally messed with the bottom panel in my KDE on my root account. This caused my desktop to freeze up. Every time I attempt to restart into my root, it loads, but is completely frozen. Is there some way I can overwrite my KDE config files without starting X server or from a standard user account?

View 6 Replies View Related

Slackware :: Mount - Shutdown As Non Root User

Jun 5, 2010

What if I want to install Slackware for my parents so then I no longer have to get rid of virus and malware for them. Is there way so they never have to log on as root? Any way to access CD's and to shutdown computer? I only know how to do those things as root.

View 7 Replies View Related

Slackware :: Running Root Commands As User?

Nov 7, 2009

After a few hours work I have managed to set up pptd so that my daughter can log into her account at Imperial College. My problem now is that I need to have a script that she can run if she wants to log in. She will have to invoke a couple of root commands and I do not want to give her the root password What she needs to do to set up networking is:

Quote:

pppd call imperial dump debug logfd 2 nodetach require-mppe
/sbin/ip route add default dev ppp0

How can I enable things so that she can run this script as user?

View 12 Replies View Related

Slackware :: Slack 13.x: Cannot Startx As Any User Except Root?

May 27, 2010

Just installed Slack-13.1 and it looks really good. At least as root. Problem is, I create a normal user, and when I log in as the user, startx just gives me a black screen.

View 2 Replies View Related

Slackware :: Touchpad Not Working In X For Non-root User?

Jan 2, 2011

Just recently discovered that for a non-root user the touchpad on my Acer laptop ( Aspire 5720z fyi ) isn't working in X ( KDE or XFCE ). It does work in in tty (at login) and for root it works in both environments.

I'm running 13.1 x64 on it, with the normal security patches via slackpkg. Didn't notice before since I normally use a mouse (and thus I do like the touchpad being disabled so I don't 'tap' away the cursur while typing).

With the recent holidays (with family visits and all) I took the laptop on my lap,.and voila: no trackpad movement.. I did some searching allready, but this problem seems to be solved since a while, and isn't supposed to be in 13.1

FROM RELEASE NOTES Piter Punk for udev and slackpkg work, updating the shadow password system, writing the initial patch for polkit to use a shadow authentication backend so we could consider using KDE 4.4.3, and making tap-to-click work with Synaptics touchpads out-of-the-box,)

[URL]

/etc/modprobe.d/psmouse(.conf) allready has this commented line:
#options psmouse proto=imps

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

Fedora :: Mount Hard Drive Volumes In Root Account?

Aug 10, 2009

how to mount the internal hard drive volume in root account.

View 2 Replies View Related







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