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


ADVERTISEMENT

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

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

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

OpenSUSE :: Can't Change File Permissions As Root

Sep 25, 2010

I just wanted to set some file permissions right. As root:

Code:
# chown -R kikinovak:users /home/kikinovak/Documents

But all I get is a series of "Operation not permitted" errors. What's going on here? I tried this:

Code:
# find /home/kikinovak/Documents -type d -exec chmod 0755 {} ;

... with the same strange errors.

View 3 Replies View Related

Ubuntu :: "Check That You ARE NOT Root, Never Run Similar Tools As Root! Just Change File Permissions"

Jul 11, 2011

I'm very new to Linux, i'm running Ubuntu and i'm trying to install a program. In the instructions it says "Check that you ARE NOT root, never run similar tools as root! just change file permissions". How do i check if i'm root or what am I supposed to do here?

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

General :: File Permissions And Ownership Getting Screwed Up

Sep 15, 2010

Is it possible to let users create the directory or files but only user "yat" can delete them.suppose other users are geller ross joe from group FH , who have privileges. whenever these users create file or dir , they should not able delete it.BottomLine: Group users should create file but should not be able to delete them.By the way using sgid bit didnt help .

View 14 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 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 :: 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 :: Changing File And Folder Ownership From Root?

Oct 11, 2010

I created a folder structure as root and now need to transfer ownership to an ordinary user.

This question is linked to this one - [URL]

I have a folder /srv/app-share that needs to be visible/writeable to user1

I tried (as root):

root@server [/]# chown -R user1:user1 /srv/

But that did not work.

View 1 Replies View Related

OpenSUSE Install :: Revert The Changes Or Change The Permissions Again To Root:root Or Make Sudo Work

Aug 10, 2011

Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?

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

Ubuntu :: Change Permissions For File / Add These Lines Without Changing Permissions?

Oct 16, 2010

Finally I managed to install my printer/scanner drivers.The last thing I need to do is to add the following two lines to 40-libsane.rules (which is a read only file):# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes".How can I change permissions for this file or add these lines without changing permissions?

View 2 Replies View Related

Ubuntu :: Root Can't Change Permissions?

Aug 4, 2011

how to use permissions. I ran into a weird problem in which I am unable to change permissions as root. I have a file I've been testing commands on, and somewhere along the line I think I gave it zero permissions. Now I'd like to restore some permissions, but can't. Here's what I'm looking at:

Code:
jeremy@jeremy-laptop:~/test$ ls -l
total 16
-rw-r--r-- 1 jeremy jeremy 235 2011-05-17 13:15 onelink
-rwxr-xr-x 1 jeremy jeremy 27 2011-08-02 18:05 threecopy
-rwxr-xr-x 1 jeremy jeremy 27 2011-05-09 17:10 three.txt

[Code]....

View 5 Replies View Related

Fedora :: Only Run App As Root - Change Permissions

Jul 24, 2010

after a fresh install of fedora 13 I was expecting a few niggles and here's one, I've googled and read man chmod and chown and there seems to be plenty of conflicting advice, oh yeah the problem, I installed a package called get_iplayer (allows downloading of bbc iplayer content) via yum, only thing is I can only run it as root whereas in f12 I could as a normal user. It's probably the simplest command to change permissions, also I can't find any info on what the different numbers mean (775 777 etc)

View 11 Replies View Related

Ubuntu :: Change Permissions On Root Folders And Files

Jun 14, 2010

I need to change the config in a folder and can not due to it being owned by root. How do I change the permissions.

Folder = /etc/stunnel/
file = /etc/stunnel/stunnel.conf

View 4 Replies View Related

Ubuntu :: Change File Permissions To Change Background Screen?

Feb 21, 2010

I'm new to Ubuntu Linux but have many years on windows platform. Please can someone help me with how to change the following items.

No.1 I would like to change the HORRIBLE!! YAK!! brown background color behind the word Ubuntu in the start up screen when the machine loads up (before the login). I have located the image file for this which I have found to be: /usr/share/images/xsplash/bg_2560x1600. jpg but the OS says that root is the owner and that I don't have permission to change this. So how can I change this for a color I do like.

No.2 I would also like to change the login dialogue screen style. I know this is possible but again I'm fumbling to see how I can do this. I have tried with the start up manager but every attempt fails, the settings don't take. Once again I suspect permissions are at the bottom of the problem?

No.3 Would like to have a colorful splash screen image on boot up, I've managed to remove the old one (small white 3 ring ubuntu logo on black background) but havent been able to install or replace with a new one. Its been incredibly frustrating, I'm feel sure I'm missing something simple here. Wondering if its permissions yet again?

Anyone who can offer help on any of the above, guidance or advise me would be much appreciated. Please bear in mind that I'm still very much feeling my way with Linux so keep it simple.

View 3 Replies View Related

Fedora :: Can't Change The Permissions (belongs To Root)?

Oct 29, 2009

Get Fedora 11 and Apache installed. Open web browser and enter http://localhost and I get a "Fedora Test Page" that shows Apache is working (according to the info on the page). It says to put my web documents in /var/www/html/ ... however, as a user I cannot access it (put anything there) and I can't change the permissions (belongs to root) I'd like to run this as an intranet web server in our small ( <100 users) company.

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

Debian :: Can't Change Permissions For The HDD Without Login On Root And Root Login Are Not Allowed?

Jun 16, 2010

How to enable Root login...i cant copy or move something on the HDD...I have administrator rights and password for root but i cant change permissions for the HDD without login on root and root login are not allowed .

View 10 Replies View Related

Fedora :: Changing Ownership Group Permissions Failing?

Jan 16, 2010

just trying to learn linux here and have some comfusing moments.it is my understanding that if you own directories and files you maychange the group, ownership, and permissions on all of these as you desire.however, in my case I cannot make any changes in my setup on group, ownershipor permissions on any of my files or directories.get error message <operation not permitted>. I know as root you ar supposed tobe able to do anything you desire, however in my case I can go in as root andtry the same commands with the same results. it is as if I am locked out ofsystem as far as any changes are concerned.on my jump drive I have:

total 83832
drwxr-xr-x 26 jevans root 16384 1969-12-31 19:00 .
drwxrwxr-x 9 jevans jevans 4096 2010-01-15 12:51 ..

[code]...

View 14 Replies View Related

General :: Knoppix Data Recovery Ownership Permissions?

Jun 4, 2011

I use Linux but have a computer with windows I use for gaming. It died and put the hard drive into another computer and used knoppix to recover my files. I looked at the ownership of the windows files and the owner is knoppix. Now I am concerned that ownership will not work on my new Windows computer (when I finish building it, that is). Since I don't get into Windows much I have no idea what those permissions should be.

If I copy them with owner knoppix can I even access them in Windows to change the ownership to whatever Windows will accept? If I change the ownership before putting them on a CD with knoppix, can I write the CD? I will have to use the hard drive on the new windows box so will not have access to the files later (unless I also copy them to my Linux computer for safekeeping). At least I know the ownership changes to make with Linux.

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

Software :: Version Controller (keep Track Of Changes) And Permissions / Ownership

Aug 1, 2010

I run the servers hosting an intranet, a couple of services and an external websites for my club at university. I'd like to back up all the config files to some version control system to keep track of changes, in case one of my colleagues breaks something. The idea is to keep snapshots and then just roll back the required file in case something happens.

Now to the main issue: How does a version control system handle file permissions and ownership? Does it keep them? Does it set the permissions of the user who committed the last change? These are important questions as we have multiple daemons with different users...

View 2 Replies View Related

General :: Cannot Change File Permissions On A Mounted File System

Apr 6, 2010

I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab

Code:

/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0

Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.

View 2 Replies View Related







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