Ubuntu :: Changed Folder Ownership - Filesystem Read Only
Jul 3, 2010
I accidentally changed etc., folder ownership, and now my computer doesn't even start up. I tried starting up in failsafe mode and changing the ownership from the root console, but somehow I wasn't allowed to do that. Then I loaded kubuntu from a live disk and I changed etc ownership to root. I thought that would clear up the mess, but apparently live disk's root is not equivalent to system's: when I try to start up the computer I get a message saying the filesystem is readonly. I'm not too concerned, because I have a complete backup, but I'd rather avoid the time of re-installing all my software again.
View 8 Replies
ADVERTISEMENT
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
Jul 6, 2011
It seems I had some kind of intrusion and I found 6 files changed its ownership to user 1035 and group 1035, I don't know how but I need to change them back to its original owner (root) because one of them is the ls command and the other is the ifconfig how can I revert them to its original state? I cant do it with chown.
View 3 Replies
View Related
Mar 24, 2010
I've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one: WARNING! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.
View 5 Replies
View Related
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
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
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
Aug 13, 2010
All of my folder icons changed to the Downloads icon, even new folders have the wrong default.Anyone know how to fix this? The places icons I had to change manually
View 1 Replies
View Related
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
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
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
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
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
Sep 19, 2009
I am using Fedora core 10. I have changed my partition size of Linux from windows. After I finished resizing the partition, I rebooted my system to the Linux platform. While booting it gave me an
error: repair filesytem #1:
I don't know what to do?
View 5 Replies
View Related
May 30, 2011
All of a sudden my production system changed to read only. Ran fsck and it ran for about 5-10min before it crapped out. Now when rebooting, getting an ext3-fs error, attached is an image. The system is on an ESX environment.
View 1 Replies
View Related
Nov 13, 2010
I'm on Lucid Lynx 10.4 and Gnome. I have a specific partition for my document, which is in the following folder /media/Documents I don't know why a new folder /media/Documents_ has been created, and my files are in this one. Now, files' permissions are the following :
Code:
drwx------ 2 root root 4096 2010-11-13 08:05 Documents
drwxrwxrwx 9 root root 20480 2010-11-13 11:04 Documents_
View 2 Replies
View Related
Mar 5, 2011
recently I downloaded warzone 2100. It was downloaded in tar.gz format. I searched for the way to install it and I am not able to install it. I unzipped the folder and then changed my directory to the unzipped folder. After that I used ./configure. After doing this, when I write make, it gives error and says no make file found. What can I do to solve this problem.
View 9 Replies
View Related
Feb 2, 2010
Something has changed all my file permissions to read only and when I try and change them back it wont let me. Is there something I can do i Nautilus to correct it?
It even effects the waste basket-all the stuff in there is now read only and when I delete items I get a file operations window, which comes and then goes like its deleted them, but they re still in the waste basket, doesnt show an error message like it does if I try and move any other file.
View 9 Replies
View Related
Aug 6, 2010
So I had this folder containing two open office text documents, I hibernated my computer a few times while I was working on one, then when I came back I couldn't save it because apparently it was open by someone else so I exited out and tried to open it again, but the folder it was stored in turned into a picture of a white safe with a play icon on the top right corner, and when I open it, it is just the picture.
View 9 Replies
View Related
Mar 23, 2011
So I had this folder containing two open office text documents, I hibernated my computer a few times while I was working on one, then when I came back I couldn't save it because apparently it was open by someone else so I exited out and tried to open it again, but the folder it was stored in turned into a picture of a white safe with a play icon on the top right corner, and when I open it, it is just the picture. Does anyone know what happened here?
View 1 Replies
View Related
Jun 2, 2011
I'm running Natty with the ambience theme. For some reason, my folder appearance has changed without me doing anything. See its present state here.
How do I get it back to the default setting?
View 2 Replies
View Related
Jul 25, 2011
When I freshly installed Kubuntu all was just fine.I was curious about how the netbook environment would look even though I am on a Desktop. So I tried it out and everything went fine.I switched back to the Desktop environment and noticed that the widget on my desktop, which normally shows the items of my desktop folder,changed into an icon I have to click first before I can see the content.I rather have it as if was when I installed Kubuntu.
View 2 Replies
View Related
Jun 14, 2011
This is very bad even in 11.04! I have an usb disk 40 Gb. And I was loading it with data real fast (svn). At once I could no more write, Read-only file system was reported. I reckon that problem from years ago on redhat, so I try to fix it. But It became worse. It was severe damaged. I created a new filesystem while the disk was out the usb-box and directly connected to de IDE. Started all over, and the error also. Tried to repair with no luck. It looks like the journal get overrun but I'm not sure. However I do think its reproducible. I did it 3 times now and now I am very sick of it. This is happening on a updated 10:10 to 11:04 system, a few weeks ago.
View 3 Replies
View Related
Mar 31, 2010
How can i read out the superblock of a filesystem?
View 5 Replies
View Related
Mar 26, 2011
i wanted to expand my disc space using an sd card and did this
sudo mv /home/name_of_home_folder home/name_of_home_folder_bk
sudo mkdir /home/name_of_home_folder
sudo mount /dev/sdXX(sd card) /home/name_of_home_folder
after this i cannot boot says cannot boot ,nautilus cant find home folder etc &more after doing alt-ctrl-f1 and doing login i can find my old home folder with all inside the point is how i can change to my old home folder -have to find the solution in order not to do format again i use ubuntu desktop edition on an acer aspire one netbook with ssd 8gb -
as oldfred said have to setup fstab ,i agree i saw some threads with this but how this can be done?
View 5 Replies
View Related
Mar 11, 2011
I am installing Ubuntu 9.04 Desktop on my system. using entire disk. my disk is new one. first time i installed ubuntu on it successfully, used it and installed new kernel and some upgrades. all were successful.but on installing some drivers, its files system corrupted. so I had the need to re-install the OS again. NOW , when i am installing the OS, it gives error "(Errno 30] Read only filesystem" explaining that either CD/DVD is corrupt or HDD is corrupt. temperature of the environment may be high. I changed the system , ehanged the environment, moved to some cool place, changed CD drive and CD (after making new one from ISO), changed the HDD but all useless, error is there,
while installation is in progress my sda1 is mount on /target. when i see fstab, here in the line of /dev/sda1 ,error=remount-ro is observed. sometime installation gives error no 5 sometimes it gives error no 30 but both the errors convey almost same message explaining that either HDD is corrupt or CD. As i have explained that I changed every thing including HDD and CD but the error is same.
View 5 Replies
View Related
Aug 18, 2011
I want to install 11.04 next to my working 10.04 system. First I need to make room for the new system so I have booted from a live cd and started GParted. In GParted the partition with the 10.04 system on it, /dev/sda1, has a red circle with an exclamation mark in it and I cannot resize it. When I doubleclick on /dev/sda1 there is the following warning
Quote:
Failed to change to directory '.'(Stale NFS file handle)
Failed to change to directory '.'(Stale NFS file handle)
Unable to read the contents of this file system!
Because of this some operations may be unavailable.
The following list of software packages is required for ext4 file system support: e2fsprogs v1.41+.
The 10.04 system is working and has worked like a dream for a couple of years and the machine has never had any other system on it. Why would the live CD not be able to read ext4 fs?
View 4 Replies
View Related
Aug 1, 2010
openSuse v9.3 (Yes, it's old)linux 2.6.11.4-21.17-smp i686At some time after July 28 the entire filesystem has become read-only. It was functional on July 28, the last time I logged into the machine and edited a file. Even as the superuser when I attempt to change, say, the permissions of a file, I get:
Code:
> # chmod 777 /opt
chmod: changing permissions of `/opt': Read-only file system
[code].....
View 9 Replies
View Related
Jul 17, 2009
I have 64bit install with CentOS release 5.3 (Final)It's been stable for about six months. What happened a while ago is really weird, I haven't messed with anything lately but the entire /home filesystem became read-only. Can't write, can't delete to anything on /home. The other filesystems are fine. I am root, and the permissions look normal. My directories and files are writable and readable.
root@atlanta [/home]# touch foo.txt
touch: cannot touch `foo.txt': Read-only file system
root@atlanta [/home]# ls -l
[code]....
View 7 Replies
View Related
Feb 19, 2011
I have been given a headless linux system running from a SD card. I get into it by putty, directly to root, not other user and even /home dir. Whatever I copy or write will dissapear because is ro.
my etc/fstab file is:
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda1 /boot vfatnoauto,rw 0 0
View 5 Replies
View Related