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
ADVERTISEMENT
Mar 2, 2010
Got a Windows virus
View 9 Replies
View Related
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
View Related
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
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
Feb 25, 2010
i am currently trying to do software raid 1 on a running ubuntu 9.10 system with mdadm. I might have done something wrong and im trying to go back from the beginning. Does anyone know how to remove all the raid info from a harddisk and get it back to its original state.
View 2 Replies
View Related
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
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
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
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
Mar 16, 2010
Is it possible to reset apache 2 permissions to default permissions I'm using Ubuntu 9.10 command line server, would webmin give me this access ?
View 1 Replies
View Related
Aug 23, 2010
I was trying out a theme from gnome-look (elegant gnome) and it had an option to change my gdm theme. I used it, did not like the look, but when I uninstalled it said there was no back-up. Now my gdm looks like something from windows 95! How can I reset it back to the original settings? I tried reinstalling GDM in synaptic but no change
View 3 Replies
View Related
Mar 29, 2011
Somehow my restart/shutdown button is gone from the top right hand side of my main menu in Ubuntu. I've managed to get a shutdown button back on the menu by right-clicking it and selecting "Add to Panel..." but I really want the original button back in there. I'm not sure what caused it to disappear but I think it was the updates that ran yesterday. Is there anway to restore my main menu to its original, pristine state? If so, that would rule.
View 2 Replies
View Related
Jan 31, 2011
After a regrettable typo, I reset all the permissions in my filesystem. What is the easiest way to restore my permissions to how they were? Is there a list where i can find the recommended permission settings for each directory?
View 7 Replies
View Related
Jan 28, 2010
I was curious if anyone has addressed this issue before. I have set the permissions to /var/log/Xorg.0.log as follows:
Code:
-rw-r----- 1 root root 00000 Jan 00 00:00 /var/log/Xorg.0.log
I have done a lsof and the file is being opened by root. I have set Roots umask to 0077, yet after a reboot
[code]....
View 1 Replies
View Related
Oct 22, 2010
I have hauppauge pvr-350 which has an mpeg2 decoder with an RGB and s-video out to let me send video to my tv. I'm using the ivtv drivers which work well. To test the card I ran
Code:
cat test.mpeg > /dev/video16
-bash: /dev/video16: Permission denied
So then I did
Code:
ls -l /dev/video16
crw-rw---- 1 root video 81, 5 2010-10-22 12:21 /dev/video16
sudo chmod a+rw /dev/video16
[sudo] password for patrick:
cat test.mpeg > /dev/video16
However the permissions get reset everytime I reboot. Is there any way to pass an argument to the ivtv driver to change the default permissions?
View 1 Replies
View Related
Jan 30, 2011
I accidently reset the SELINUX context on the /var folder from "var_t" to user data. Now I cant go back and set it to "var_t" and i cant access my website anymore
View 3 Replies
View Related
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
Jul 21, 2009
I'm developing a simple TCP server. 99% of incoming connections terminate correctly and the sockets disappear from netstat outputHowever, a few connections hang around for indefinitely in the FIN_WAIT2 state. Now, I know that the clients in this case are misbehaving by not sending a FIN,ACK to close the connection. However, regardless of client behaviour, the connections should only remain in this state for a maximum of 60 seconds (set globally by /proc/sys/net/ipv4/tcp_fin_timeout)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name Timer
tcp 0 0 10.0.0.12:2000 10.0.0.6:50990 FIN_WAIT2
[code]....
View 4 Replies
View Related
May 17, 2011
I have a problem. I want interface to shut down once there is a link down state detected. If you set up eth0, and then plug cable out, eth0 stays up, just loosing the RUNNING flag. I want it to go down completely.
I've stumbled upon netplugd, and I've tried using it. It is a daemon that detects states in (link up) and out (link down) from kernel netlink interface. If I have this daemon up, it detects that link is down (eg. cable removed from interface), and it runs correctly /etc/netplug.d/netplug eth0 out. That script then runs ifdown eth0. And that's ok.
But very next moment netplugd runs /etc/netplug.d/netplug eth0 probe, and probe section of that script runs "ip link set eth0 up", which then turns interface back on!I've tried commenting out that line, but then new problem occurs - after the link is up, netplug cannot figure that out and bring back interface. Has anyone have this kind of problem, and any viable solution with netplug?
View 3 Replies
View Related
Jul 14, 2011
I've got a CentOS 5.2 installation with broken package system. When I try to do "yum update" I get lots of "Missing Dependency" errors. How could I restore it to a usable state?
View 6 Replies
View Related
Oct 7, 2010
I have a lost password on an Intel DG33TL motherboard which I guess is only resetable by shorting the right jumpers on the board. I have two questions regarding that:
1- Is there any way I can reset the CMOS password through the CentOS? Or is that a thing of old motherboards where one could reset them through the OS?
2- Currently I have two hard drives installed in Raid1 (mirroring each other) through the motherboard RAID (not the through any RAID card or through CentOS). RAID was made prior to installing CentOS. So, would resetting the jumper mess up the whole RAID? I don't want trouble and I can leave without the password but it's good to know if need arises.
View 1 Replies
View Related
Jul 18, 2011
after the 5.6 update I started loosing the connection to my router. Having had issues with routers before I assumed that the router was on its way out. However I happended to have a laptop handy the other day and thought I would give it a try (after eth0 went down), router was fine(same cable too). I have tried bringing eth0 up/down (gui and ifdown/ifup) and restarted the network(gui and cli) but it will not get an ip(as I recall it does recognize that the cable is connected). If I do a reboot, eth0 comes up immediately. The log just shows repeated dhcp requests. I tried a dhclient -r but it errors out with no link found. It has been doing this since 5.6 came out (roughly once a day) so I THINK that it is not a hardware issue(should have died completely by now if it was). PSU voltages show stable and unchanged. It does use the forcedeath driver. 5.6-64bit fully updated.
View 9 Replies
View Related
Jan 1, 2010
I have two servers, both running CentOS, but one running Cpanel as the control panel and the other running Webmin.
I would like to sync the web folders using rsync. However, when I sync the files from the Cpanel host the permissions look as follows:
Code:
But that doesn't work on the Webmin server which needs the following:
Code:
It seems the Cpanel install has the group as 'nobody' whilst webmin has it the same as the file owner. I can fix this by running:
Code:
But as the file transfers will be frequent, I don't want the files to be inaccessible until chown is run.
So, what I really want to know is - how can I change things on the 'webmin' server so that files with ownership owner:nobody will run?
View 1 Replies
View Related
Mar 6, 2009
How do I set my centos system to the configuration it had directly after the installation? Because there are so many messed up tings on here right now, firefox will only work with my proxy server if I put its IP directly into firefox but not if I put its IP into the system proxy settings and then point firefox at that. httpd refuses to serve up any kind of documen apart from the test page randomly and even then I sometimes get a 403 error. Seriously is this the normal practice for setting up a LAMP server???
View 7 Replies
View Related
Nov 5, 2009
I have messed around with yum config files & my system is not updating anymore! is there is a way to reset yum configuration to its default?
View 4 Replies
View Related
Jun 2, 2011
I have to recover / reset root password. I do not have the 5.3 cd, can I boot with the CentOS-5.6-i386-LiveCD.iso [URL] and follow the recovery procedure outlined below [URL]
View 3 Replies
View Related
Dec 11, 2010
Is it possible "reset" all (X, GDM related) permissions/settings of one user? What would cause one specific user not to be able to log into anything via gdm/the login screen? After providing the proper password, the screen goes black and then jumps back to the login screen. No session alternative works, not even xterm or gnome failsafe. I can however log in via the console (Ctrl+Alt+F6, recovery etc). With another user I can log in via GDM just fine, and deleting and re-adding the "broken" user doesn't make any difference.
Some (maybe) relevent logs:
part of syslog:
Quote:
Dec 12 01:20:58 <specific user> pulseaudio[1358]: core-util.c: Home directory /etc/timidity not ours.
Dec 12 01:20:58 <specific user> pulseaudio[1358]: lock-autospawn.c: Cannot access autospawn lock.
[code]....
View 2 Replies
View Related
Jun 3, 2011
I'm unable to reset using either the reset option in gnome shell or the command using a terminal. When I select it the shell exits and displays the graphic "exploding" and then it just sits there. Shutdown works fine; just no reset. Any ideas? I've installed from the DVD. I booted the live CD and it resets just fine so I know it's no my hardware
View 1 Replies
View Related
Nov 6, 2009
I usually have something like
iptables -A OUTPUT -p tcp --dport 113 -j REJECT --reject-with tcp-reset
in my firewall near the top, as I dont want the servers to generate ident requests and I don't want services (mail and ftp...) stalling when waiting for ident replies on clients with ident port filtered. This worked fine until the 164 kernel series.
Tested both 2.6.18-164.2.1.el5 and 2.6.18-164.6.1.el5. The rule gets matched, but the rst is never returned to the application so it stalls in every case. Booted back to 2.6.18-128.1.10.el5 and it works like a charm. I see no netfilter related patches in the 164 series that weren't present in 128.
View 3 Replies
View Related