General :: Restore Original Chown Permissions On VPS Centos?

Jun 29, 2010

well, by mistake i ran a command and chown the whole server apache:apache

now, i can't do anything... is there a way to restore the original permissions??

View 3 Replies


ADVERTISEMENT

CentOS 5 :: Permissions Get Reset To Original State

Nov 4, 2009

I have a Centos 5.3 desktop that I have a development board connected via a serial connection to. The permissions on /dev/ttyS0 are currently set
crw--w---- 1 root root 4, 64 Nov 4 13:56 ttyS0

I have changed them so that they read
crw-rw---- 1 root uucp 4, 64 Nov 4 13:56 ttyS0

But every time I initialize the dev board the permissions switch back to the original state. I have found lots about preventing the permissions switching back upon reboot but that doesn't appear to be the problem.

View 5 Replies View Related

General :: Vsftpd Chown Upload Permissions?

Mar 30, 2011

vsftpd 2.3.2-3After user uploaded a file it has -rw-------(0600) permissions. Of course user can change permissions manualy to any he likeBut how to set for example 0700 by default?

View 1 Replies View Related

General :: Write A Bash Script To Restore Deleted Files To Original Location?

Dec 5, 2010

I have managed to write a bash script that moves files to the recylce bin instead of being deleted. Then (with a bit of assistance) wrote another bash script that deletes the files from the recycle bin. Now I need to write one that will restore the files preferably to their original location? I am very new to linux and stuggling with where to even begin...any ideas? There seems to be some advice about creating a cloning tree, but I've never heard of them?

View 8 Replies View Related

CentOS 5 :: Restore Default File Permissions - Server Nonfunctional

Dec 4, 2009

I was working on a shell script to change the permissions of large directories and subdirectories because of an exploit discovered in the programs that run in those said directories that allow a client to upload and download files to the server. Loan behold I accidentally added a space and had something along the lines of "chmod -R 770 ." run on / logged in as root.

Yes, it was an incredibly noob move on my part, but nothing ventured nothing gained. I am surprisingly calm about this. I tried sliding in my CentOS installation disk and "Upgrading" CentOS but that only made it worse, beforehand I made everything owned by root so I could at least log into GNOME. This does not work for obvious reasons, namely having to change the permissions back for every user and every group, which far beyond a possibility.

View 7 Replies View Related

General :: Chown - Set The Permissions Of An Entire Directory To "all"?

Jan 17, 2010

I set up a samba server on my Linux box for the purpose of allowing everyone - and I mean everyone - on my LAN network to be able to put files to one folder... The only issue seems to be not having write permissions to the target folder.

Question, re-stated: How do I set the permissions for an entire directory to not require anyone to have a login? I have tried many things, such as "chown -aR /data/public", but I still cannot seem to find the magic words.

View 2 Replies View Related

Security :: Permissions For Chown - Command Executed By Root Only

Feb 22, 2010

Inspite of having 755 permissions on the chown command, it seems the command can be executed by the root only. I was under the impression that the 'x' permission for 'others' can give executable rights to the normal user too, which does not seem to be the case here. Just curious to know, if not the file perms itself, what controls the execution of the command?

View 6 Replies View Related

General :: Remove The Plasma Desktop In SuSE 11.1 And Restore The Original Desktop?

Oct 1, 2009

Is there a way in SuSE 11.1 to have the conventional desktop, instead the plasma desktop? I thought that installing KDE 3.5 will fix it, but I was wrong. I really don't want to download back SuSE 11.0, just to have my old desktop layout. SuSE developers should at least leave it as an option than to force people to install it

View 2 Replies View Related

Fedora :: Restore Original Yum Config?

Aug 17, 2009

how to restore the original yum settings?

I followed a walkthrough that set the yum config to be more robust(?) or harder to break F11 and since have had major problems installing things.

Can I roll this back or reinstall the yum parts of the OS from scratch to regain normal operation?

View 4 Replies View Related

OpenSUSE :: Restore Original KDE Desktop As It Was From The DVD

Apr 9, 2009

When i click the green frog head, things dont behave as before. When i moved my mouse from the Favorites to Applications or to Computer/Recently Used/Leave tabs, the desktop enviroment would automatically switch, without me having to click them. Another thing is if i want leave the green frog toolbar i have to click somewhere withing the green frog head window to close that window. Before i was able to get out of it by clicking on any window out of it, like a firefox window. Also when i go to desktop setup , the only themes remaining are Oxygen and Aya.There were more before. Finally similar programs on the taskbar are grouped together which i don't like. how i could over these problems without having to reinstall the OS , preferably using the opensuse dvd.

View 9 Replies View Related

OpenSUSE :: Restore The Original 11.3 KDE 4 Desktop ?

Apr 8, 2011

I have managed to delete my default openSUSE 11.3 KDE 4 desktop. I also ended up with this seemingly unchangeable desktop set up. How do I restore the original openSUSE 11.3 KDE 4 desktop ?

View 3 Replies View Related

Fedora :: Restore KDevelop To Original F11 State?

Oct 23, 2009

I tried to install KDevelop4, decided I didn't want to use it, and now I am having trouble getting KDevelop3 working again. The only steps to installing kdevelop4 were installing a new version of kdevplatform and then kdevelop itself. I did this:

1) sudo yum remove "kdevplatform* kdevelop*"
2) disable updates and testing repo
3) sudo yum install "kdevelop"

The problem is that there is something wrong with the menus (File, Edit, etc). There are many important items missing, as well as one of them says "No text!". This indicates that this is not the original packaged version with F11 because I used it for a year and it was certainly not like this. Is there a better way to get back to the original version than I showed here?

View 1 Replies View Related

Ubuntu Installation :: How To Restore To Its Original Setup?

Feb 28, 2010

They were controlled by BIOS for start-up without problem.Just wiped out Fedora and installed Ubuntu 9.10 64bit. During installing GRUB I saved it on Master, IIRC.Now Ubuntu and Vista startup are controlled by boot loader. I have to start Ubuntu first and on kernel selection select (loader)(on/dev/sdb1).Then Vista starts.It works.How can I restore to its original setup?Their booting is controlled by BIOS.

View 8 Replies View Related

Ubuntu :: Restore 11.04 Back To Its Original State?

Aug 15, 2011

I recently had a problem in Ubuntu 11.04. I had just installed GNOME 3, however, I didn't really like it as much so I decided to go back using GNOME 2,but then a whole bunch of things happened. I tried re-installing GNOME 2,but then I lost the Ubuntu enviorment and stuck only with GNOME and now I'm only left with a terminal whenever I log in. how to restore Ubuntu 11.04 back to its original state, like as if it had a fresh installation?

View 7 Replies View Related

Ubuntu :: Deleted Top Panel - How To Restore In Original State

Aug 5, 2011

The top right panel item contains the shutdown, time, network icons, etc. I don't use the messaging icon so right-clicked and chose 'remove from panel'. The whole lot disappeared! How can I restore things to their original state?

View 5 Replies View Related

Software :: Restore To Original State After A 'make Install' ?

Feb 26, 2011

I was in real doubt where to put this, so I hope I picked the right forum; otherwise, my apologies!

I want to build Roadsend PHP on my system. There seems to be no way to do this with the package manager, so I have to build it from source.

Turns out it depends on something called 'Bigloo'. Again no luck with the package manager, so I had to build this one from source too.

I took version 3.0c (Roadsend website recommends this version), did a

Code:
./configure && make && make install

, which did the job. Builing Roadsend worked, but I got a runtime error, which had to do with the Bigloo version.

No problem, I tought, then I'll just install Bigloo 3.1a. I did a "make uninstall" in the 3.0c dir, and tried to build 3.1a. This also worked, but now when I try to make Roadsend, I reports:

Code:
*** ERROR:bigloo.heap:
Release mismatch -- Heap is `3.0c', Bigloo is `3.1a'

So, somehow, there are still traces of 3.0c on my system. Maybe some file that didn't get deleted or some table entry that hasn't been undone?

My question is: How can I remove all traces of this version? Apparently, "make uninstall" is not thorough in this case.

And: Is there a general solution to remove everything when I did a "make install". So that my system is in the same state as it was before I ran the command?

View 4 Replies View Related

Fedora Installation :: How To Restore Audio Files To Original State

Jan 27, 2009

I installed F9 for a friend. She wasn't getting any sound. I ran aplay -l, but got no sound card listed. I ran lspci -v, but got no sound card listed. However,the output of lspci -v said the computer had a particular motherboard. I Googled for it and was told it had an onboard sound card. That led me to the package called realtek-linux-audiopack-4.06a, which I installed. It included an installation script, which I ran.

The script didn't work to compile various files it was supposed to, but it did work to delete various files from my friend's system. Here are the bits of the script that removed files:

echo "Remove old sound driver"
if [ -d /lib/modules/$KERNEL_VER/kernel/sound ]; then
rm -rf /lib/modules/$KERNEL_VER/kernel/sound/pci > /dev/null 2>&1

[code]....

In the result, the failure of the compilation didn't matter, because lspci -v lied. She didn't have the motherboard shown, but a different one without an onboard sound card. Of the files deleted by the script.

I was able to reinstall libasound.so.2 and libasound.so.2.0.0, but I haven't yet tried to reinstall the other ones deleted by the script. Now, I want her to buy a sound card, but I'm afraid it won't work unless all the deleted files are reinstalled. I'm looking for guidance as to how I can reinstall the files deleted by the bits of the script I set out above, without completely reinstalling Fedora.

View 4 Replies View Related

Ubuntu :: 10.10 - Continuous Crashing - System Restore To Its Original Settings Or Something?

Dec 30, 2010

I recently had my laptop which ran windows xp, wiped and ubuntu installed in its place. I was told of all the grand benefits of ubuntu so I thought yeesss. Everything was running beautifully, everything was heavenly, until i encountered "a flash website ". This was strange because ..... worked fine.

Anyway ever since I encountered that site Ubuntu crashes on startup. I log in then crash. Its strange because sometimes it takes a while to crash e.g. when trying to open any application, or sometimes its instant.

1. How i diagnose this problem so it can be fixed, remember it may have to be before the log in.
2. Is there someway I can do a system restore to its original settings or something?

View 3 Replies View Related

Red Hat / Fedora :: Chmod Command To Run To Restore The System To Its Original State?

Jun 15, 2011

we have a customer that ran a sudo chmod +x -R * command on his / filesystem by mistake and now the machine cannot be accessed on the network Has anyone any idea what chmod command to run to restore the system to its original state ?

View 1 Replies View Related

Debian :: Restore Original Boot Record After Grub Installation?

Mar 11, 2011

A few days ago I installed my first Linux product, which is Debian 6.0, and I installed the GRUB booting device on my main boot record, as it was suggested that it was a harmless step to take. Unfortunately, some quirk in my system made GRUB believe that I had XP when in fact I have Vista, so the options I have now are to boot Debian or to boot XP which is not on my computer. In other words, I have to get rid of GRUB now, but I'm realizing that he's not such an easy customer to kick out. I have moved my Linux installation to another drive, but the old GRUB always stays in place, and my Vista is stuck there frozen for eternity. So after considering all kinds of possibilities, I have come to the conclusion that the easiest way to restore my original boot record would probably be to find its backup copy that I assume the installation program made, and to copy it back into the right address at the beginning of the disk. I don't have the Vista recovery CD, so I really have to do this manually. So now my questions are these: did the installation program make a copy of the boot track, and if so, where did he put it and under what name, and finally, what command can I use from within the Debian terminal, which is now my only tool left, to copy the content of thesaid file into the first 512 bytes of the hard drive? I know that would be a simple matter for any serious geek, I guess I must be a little rusty. Anybody feel up to it?

View 9 Replies View Related

Slackware :: Desktop Fonts Got Tiny - How To Restore Original Size

Jun 8, 2010

When booting into my slack12 fluxbox desktop today my fonts were so small they were hard to read. The same is true if I use kde. I didn't change anything that I can think of. I tried running fc-cache but it didn't change anything. My xorg.conf hasnt changed. Interestingly, my xterm font didn't change size, but the konsole font is tiny like my other desktop fonts.

View 3 Replies View Related

Ubuntu :: Panels Lost After Increasing Screen Resolution / Restore It To Original?

May 18, 2010

I have a weird problem that after increasing the screen resolution from 1024x786 (4:3) to 1280x900 something (also 4:3) that both top and bottom panels have disappeared. I am not familiar with the keyboard shortcuts to much but managed to get a terminal running so I should be able to do some command line stuff but as I am not too familiar where to edit perhaps someone can give me some pointers.

I guess first step is to restore the resolution to the original. Anyone any ideas?

View 4 Replies View Related

Ubuntu Security :: Restore The Original Image File That Have Hidden Data In With Steghide

Jan 27, 2011

i'm wondering if it's possible to restore the original image file that you have hidden data in with steghide. The basic Idea is you have a photo using gpg sign it and then embed the signature. then remove the signature at a later time and check it with the signature. I hope another "inverse" algorithm doesn't need to be written to undo the first (if a "inverse algorithm is possible). This assume you already have the pass phrase or that there is no pass phrase. I already know how to retrieve the original file just want to remove the hidden data from the Image and restore it's attributes.

View 2 Replies View Related

CentOS 5 :: Allow Php To Create File, Chown -R Apache Folder

Apr 6, 2010

I have a php script that I want to create a file and allow it to be downloaded. I know the dangers of chmodding a directory to 777 so I am trying to avoid this.

What I have done is logged in through ssl as root.

Navigated to the directory where the directory I want to chown is located. I then perform:

chown -R apache directory

View 2 Replies View Related

Software :: Way To Restore Permissions On Files?

Jun 24, 2011

Quickest way to restore permissions on files?Someone changed every file on the system to 0000. I have a backup, yes. But I don't want to copy every single file back over.Is there a way to just restore the permissions from the backup?

View 2 Replies View Related

Debian :: NTFS Backup - Create Ever Expanding (to 320Gb) TAR File That Will Retain All Original File Permissions

Sep 20, 2015

I want to back up an entire Linux system on a 3Tb external Western DIgital USB3 drive.

I do not want to reformat it from what it is, apparemtly NTFS.

Is there a utility that can act like a file manager like mc, that will permit me to create an ever expanding (to 320Gb) TAR file that will retain all the original file permissions. I have had nothing but disappointment with Linux backup utils with a FAT32 external drive, and I am concerned if I just try an tar the entire drive at once, with around 3 million files, I might run out of memory.

View 5 Replies View Related

General :: CentOs Restore Top Panel

Jul 19, 2011

how do i restore the top panel which contains the link to shutdown syste, application and much more. i accidentally deleted it.

View 4 Replies View Related

Ubuntu Installation :: Backup Restore - Software Doesn't Start Due To File Permissions

Dec 2, 2010

I re-installed ubuntu 10.04 for prep I did a backup with Simple Backup Config after reinstalling i restored with Simple Backup restore some installed software software now doesn't start and after troubleshooting i think problem is file permissions but i'm not sure which permissions of which files to change and what they should be changed to. has anyone had experience with this and if so is it because it works or because its the right way to do it and it works funny thing.. i can't find any forum posts with info on Simple Backup!

View 1 Replies View Related

General :: Group Permissions For Subfolders Only (CentOS)

Apr 19, 2010

Is there a way to allow other members of my group to access subfolders under my home directory, but not my home directory itself?I'm using CentOS 5.4

View 3 Replies View Related

General :: How To Use Chown Command

Jan 12, 2010

My home/container has me as the owner but the contents all belong to root...I've tried >chown cbjhawks /home/cbjhawks but that didn't change anything. Should it be >chown -R cbjhawks /home/cbjhawks? Or what is the proper command for doing this...

View 2 Replies View Related







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