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


ADVERTISEMENT

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 :: How To Change Home Directory Ownership

Jun 24, 2011

I've already done the following commands

Code:
su
chown theif519 /home/theif519
chmod 775 /home/theif519
exit
#usermod -d /home/theif519 login

I've logged out and logged back in, and I was successful in making it the default directory it logs in to. Still, afterwards I noticed that that when I use the list all commands "ls -l" it shows that root owns it and it also shows that I do not, by default, have read write execute over it, only read execute. I'm using Slackware 13.37* in a Virtual Machine* Another thing, I don't think I added any rights to my user, how do I give it more rights as well? Like, wheel and sudo and all of that stuff. Also, this was the website I was using *Although it didn't help much, the comments sure did [URL].

View 4 Replies View Related

Server :: Change The Ownership Of Home Directory?

Oct 1, 2010

I want to change the the user and group of user kumata as kumara,but not getting change by using the below command. #chown -R kumara:kumara kumara

Getting using doesn't exist.

For reference find the below output.

[root@xyz ~]# /usr/bin/getent passwd | grep mathurr
mathurr:x:12271:12271:Mathur, Rajat X:/home/mathurr:/bin/bash
[root@xyz ~]# /usr/bin/getent passwd | grep kumara
kumara:x:12102:12102:Kumar, Abhishek X:/home/kumara:/bin/bash

[Code].....

View 10 Replies View Related

Software :: Script For Checking Ownership / Permissions Of Directory

Oct 14, 2009

I am writing a script that is checking the ownership and permissions of a directory. If the directory in question does not have the correct ownership and permissions, the script will run the appropriate commands to give it the correct settings. The if...then...else syntax. The idea here is the following:

Code:
If <directory> no eq = <ownership root:root> && <permissions 755>
then chown root:root <directory> && chmod 755 <directory>
else exit
fi
What would the correct syntax be for the If line of the loop in question?

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

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

General :: How To Change Ownership Of Mp3 Player From Room?

Oct 16, 2010

I am a Linux Noob of the major kind.I have an MP3 player that is owned by root. I have a SANDISK it in also. I can copy files to the player despite it being owned by root but I can't copy them to the SANDISK which is also owned by root. So what is suppose to be after the colon?How do I determine what that is if it is a directory?How do I change to root to change ownership if that is what I need to do?Is there an application that I can use to change ownership easy and what user do I have to be to do that.

View 5 Replies View Related

Server :: Change Folder Ownership In Fedora 12?

Jul 4, 2010

I know I asked this question before, but I was running CentOS and I used "chuser" and that worked just fine, but for some reason in Fedora it doesn't exist. Is there another command that works in Fedora?I'm tring to change all files, and folders in my "www" folder to "apache:apache"

View 4 Replies View Related

Ubuntu :: Ownership & Permissions Change When Files Burned To DVD+RW?

Jan 18, 2010

After burning files to DVD+RW, the owner is changed to root, and all permissions are read only. I want to periodically open these files, update them, and save to the DVD again, but I no longer have permission and cannot change the permissions since I am no longer the owner. I tried sudo commands, but get responses "Read only file system". I have erased and reformatted the DVD and started over but get the same results.
I have Ubuntu 9.04, and have tried Brasero and Nautilus and get the same problem. Am I using the wrong kind of DVD/CD?

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

General :: Change Permissions And Ownership For NTFS Mounts?

Apr 19, 2011

I finally replaced my Windows with Linux.. However, I need to run applications and modify files that are on NTFS mounts. I am unable to change ownership, permissions, and groups on these files so I may modify them without having to copy. I have several times attempted to chmod, chgrp, chown, etc.. while logged-in as root user; however it is to no avail. The owner and permissions are still geared towards root. can I change ownership and permissions on NTFS files so I can modify them without having to convert/copy them over to ext4 or different file system?- Matbtw: I am using OpenSuse 11.4 and running Windows apps with VirtualBox (with Vista installation image). I still have Win7 on my computer (non-emulated) and I would like to keep some files on those NTFS partitions so when I occasionally need to boot into Win7 I can modify those files because Windows blows and doesn't support Linux.

View 5 Replies View Related

General :: Effect Of Attempting Change Of /FS Ownership Or Rwx Permissions

Aug 9, 2009

My system (CentOs5.3) became erratic after i tried to change wholesale the ownership of the /FS. is it possible to change ownership or rwx permissions of files in linux? what is the safeguard available to preserve the consistency of the program files in linux against such an attempt by su?

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

Fedora :: Mount Windows Shared Folder / How To Change Ownership?

Aug 18, 2011

I mounted a shared windows folder from my LAN, and I changed the mount point's ownership on Linux using command line `chown me:me windir`. but when I enter the mount point, and to create files, it mentioned me 'Permission denied', but the file is actually created on the windows' folder, and its ownership is root:root.
this problem puzzled my programs going to run on it. cause them will detect a system returned error, and terminate in a abnormal way.

View 3 Replies View Related

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 :: Can Create Folders In Partition But Can't Share Them Or Change Their Ownership

Feb 25, 2010

I can create folders in partition but i cant share them or change their ownership And here my fstab and fdisk list.About my hdds, on first hdd i have win installation as 3 partition and on second hdd, my lovely ubuntu and ntfs partition to use as shared in my LAN

Code:

harun@ubuntu03:/$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier

[code]...

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

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

Ubuntu Servers :: Change The Ownership Of Multiple Files And Directories Under A Specific Subdirectory?

Feb 19, 2010

I have a vary unique problem with file and directory ownership. I need to change the ownership of multiple files and directories under a specific subdirectory.Under this directory structure there are files and directories owned my different users and groups. I need to change all files and directories owned by "user1" to "user2". but if any are owned by "user3" I need those left alone.Is there a simple way to do this or will I need to traverse the structure and change things one at a time.

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

Ubuntu :: How To Change Directory - Not CD?

Jul 15, 2010

I'm in a different type of shell (this is inside "screen"), I guess. It is like this:

Code:
sh-3.2$ cd /home/user
sh-3.2$

It doesn't change the directory.

View 6 Replies View Related

Ubuntu :: Cd To Change To The Directory /ect?

Mar 27, 2011

How do I change to the directory /ect so I can add a path variable to the file called environment?

View 2 Replies View Related

Fedora :: Need To Change Directory Permissions

Jul 15, 2009

I just upgraded to fedora core 11. I need to change the permission of the html folder. The owner is currently set to root. Since there is no longer a root user (I just found out) it will not let my user account change the permissions in that directory from. How do you change directory permissions in fedora 11?

View 2 Replies View Related

Fedora :: Cannot Change Directory To Root

Dec 25, 2010

Yesterday I installed Fedora 14 on my computer. I was able to log in as root on a terminal fine until this morning. Now when I log in I get this:

Code:
[Silverback@Vanessa ~]$ su -
Password:
su: warning: cannot change directory to /root: No such file or directory
-bash-4.1#

I haven't deleted any files, so I have no idea how to fix this.

View 4 Replies View Related

Ubuntu :: Cant Change Directory (terminal)?

Jun 18, 2010

no matter what i do in there terminal when it comes to changing directorys or copying items it just dont work.this is what im typing

PHP Code:[code]...............

View 3 Replies View Related

Ubuntu :: Change The Apt-get Installation Directory

Jan 7, 2011

i used to use synaptic to install packages which seems to be installed somewhere like /usr/bin or /usr/local/bin, so my question is can i change the default or pre-determined installation directory, coz my partition / is kind of short of space.

View 8 Replies View Related

General :: Fast Change Directory For The Cli?

Jun 29, 2010

In the old days of M$-DOS, there was the NCD (Norton Change Directory) utility. Anything of the sort in Linux?Explanatory note: you typed out the name of the directory you wanted to go to, that is, last element of the dir path.And you were, ipso facto, in that dir. If that was the only one by that name, good. When not, and if that wasn't the intended dir, you typed the same command again and you were in a second dir of that name. If this was the intended dir, good. And so on. It simply maintained a data base with the whole tree, and updated it when invoked from a newly created dir o by means of an option, NCD/R.

View 14 Replies View Related







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