Ubuntu :: Permissions - Reset To Defaults ?
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
ADVERTISEMENT
Jul 27, 2010
I am on 10.4 with a Dell Notebook (E6400). I use it mostly with a USB mouse. Everything worked fine for about 2 months. Then I shutdown, unplugged the mouse, restarted without the mouse, and my trackpad is broken. It works a little, but text fields and some apps capture the mouse events and won't let go. For instance, the cursor gets stuck in a text field and there is no way (keyboard or mouse) to get out.
I've tried several times to fix this and I cannot. If I boot from a LiveCD then everything works fine. My theory is that the mouse configuration files somehow got corrupted in my plugging/unplugging of the external mouse. How can I reset the mouse to factory defaults? Are there a set of files I can copy over from the live CD?I tried to delete and recreate my xorg.conf file and this did not work either.
View 2 Replies
View Related
Jan 18, 2011
I installed the nvidia driver from the vendors homepage. But since it does not support regulation of brightness (and the display is that bright that I want to downlevel it), I wanted to go back to the default display driver which is the nouveau driver.So I uninstalled the nvidia driver and then I realized that I didn't make any backup of the xorg.conf file prior installing the nvidia driver. Shame on me, yeah.Now when the x-server started, it couldn't find the nvidia driver. Okay, fair as it was removed. Next to that my keyboard becomes unresponsive. That's really aching as I can not switch to a text-based console any longer.I'm able to boot into initmode 3 by editing the kernel parameters in the boatloader. I'm also able to edit the xorg.conf with vi in the shell then and start the xserver to test things by calling xinit.
I already tried to recover a bit from this situation by removing the references to the nvidia driver and replaced it with some information I could find on the nouveau homepage - but no luck so far, keyboard still freezes and login window does not appear. I could take a look into the xorg.0.log which warns me about the keyboard getting disabled but I do not really understand why. Next to that I find some other additional information. My computer experience is quite okay, but I'm somehow new to Fedora, I started half a year ago with Fedora 13 on my other laptop which worked like a breeze.
I wondered where I can find information about how to configure the xserver in the default configuration, if there is some reset functionality or so, that brings me back to installation defaults. Those worked ok for the nouveau driver. Unfourtionatly I was not able to gather the correct package name that would probably had helpded me by removing and installing it again.Next to fixing my setup, I had another idea as this is a quite new install to just re-run the install again on to that machine. Is this possible with keeping the files in my homedir?
View 9 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
Apr 21, 2011
I installed the Elegant Gnome theme/package and I uninstalled it after about a week of use. Even after reverting back to the ambiance theme, or other themes, I've noticed that some elements of the Elegant Gnome theme have remained (e.g. the panel color and icons in Chrome or after right clicking and the system font).Is there a way to restore the Gnome defaults or Ubuntu system defaults so that everything is as it should be?
View 2 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
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
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
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
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
May 31, 2011
Problem: permissions for rsync and BackinTime. Setup: Ubuntu 11.04, Two internal HD, #1=main, single boot, #2=backup drive. Question: How do I set up my 2nd HD with correct permissions? Background: I had previously a dual boot XP+10.04 with a 2nd HD formatted as NTFS. With this I was able to use my rsync and backintime to my 2nd HD with no issue. My new set up is EXT4 on both HD.
(I even tried to reformat my 2nd HD as NTFS, but that didnt fix the issue) I followed [URL] to mount the 2nd HD and get permissions. But now when I run backintime i get this error: [E] Error: rsync: opendir "/home/myhome/.ssh" failed: Permission denied (13) I did my requisite reading for a newbie, and am stuck. I ran backintime as root, and it backed up ok. How do I run my user version of backintime? (i.e. How do I fix the permission issue?)
View 9 Replies
View Related
Jan 5, 2010
everytime I restart my laptop (running Ubuntu 11.04) my unity launcher reverts back to default! I have to reorganize and remove and add the apps I want on the unity bar/launchpad.
View 7 Replies
View Related
Jul 17, 2010
I'm trying to make a custom livecd for karmic with remastersys for a ready out of the box config and I cannot figure out how to set the following defaults:
windows decoration (kwin)
style
splash (ksplash)
login (kdm)
cursor (mouse theme)
wallpaper
The guides I searched for or only for kde3.5 I can't find any for kde4
View 1 Replies
View Related
Aug 27, 2010
Trying to speed up booting with profiling and such, i do:
Code:
But the file it opens is empty? I searched for it manually and found nothing, either I should add that i'm dual booting with Windows 7, and have another partition in ntfs format just for my files =]
View 2 Replies
View Related
Apr 26, 2010
I downloaded the ubuntu-10.04-rc-desktop-i386.iso file and burned it to a CD - i.e. what I thought would be a standard Ubuntu Live CD experience. Imagine my surprise when:On a black screen, there was a new (small) window on the left and a (small) meaningless stick figure on the right at the bottom of the screen, and after a while I got the error window entitled:
Installation failed
The installer encountered an unrecoverable error.
A desk top session will now be run so that you may
investigate the problem or try installing again.
Since when is installation (with no user interaction) a default when using a (Live)CD ISO image of any Ubuntu RC or otherwise?My only purpose was to boot up into the Live CD environment - but that was not only not presented as an option (normally there is a 30 second countdown) and the usual default is to boot up into the Live CD environment.This was not the case with the RC! Why not?
View 1 Replies
View Related
May 16, 2010
I'm using Ubuntu 10.04 LTS and after recently changing a theme, all icons are stuck as GNOME defaults.I read some threads where it's only the folder icon that's stuck but as it is every single icon then I decided I'd best just ask.
View 8 Replies
View Related
Jun 14, 2010
So when I install 10.04 LTS server with all the defaults. ie root parted with lvm, I get a grub error. Apparently the install script at the end of the installation does not take into account that I might install ubuntu on a different drive.
Without LVM, I can get it to work. If I drop down to shell and mount the root drive, then run:
grub-install --root-directory=/ /dev/sdc And all is good. But I want LVM on my boot drive. Does anybody out there know of an easy way of doing this? This really should be a bug. But I'm too much a noob to know where to issue this.
View 1 Replies
View Related
Oct 18, 2010
How can i set the themes and screensavers to default? like, i have a netbook, and installed a LOT of themes, and now it is slowing down. how do i go about uninstalling?
View 6 Replies
View Related
Nov 24, 2010
In 10.04LTS, when selecting print to file, the default settings are .ps, and home directory. Can those defaults be changed? I've looked around in CUPS, ubuntu-tweak, and searched on here, to no avail.
View 5 Replies
View Related
Jul 23, 2011
I just installed Ubuntu 11.04 in a virtual box but it has defaulted to Gnome rather than Unity. I've never used Linux before (had to get it for my software paper at uni) so really have no idea what I'm doing. Does anyone know how to fix this?
View 5 Replies
View Related
Aug 6, 2010
I tried to set up my first dual boot, Ubuntu 10.04 already on drive, added Dream Linux 4 beta 6.3. Now the default is Dream Linux, and the boot option flies past so fast that if you don't have your finger on the down arrow and press immediatly when the screen flashes, you go to Dream. I did a search that said to run grub-mkconfig and add the second os to the file. I got
"avid@david-desktop:~$ sudo grub-mkconfig -o /boot/grub/grub.cfg
[sudo] password for david:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-24-generic
[Code].....
Another thread said to use chroot, but no instructions. I am not knowledgable in command line, and am unsure how to proceed. What I want to accomplish is Ubuntu as the default OS, and more time to decide before the default is loaded.
View 9 Replies
View Related
Jan 11, 2010
I have a dual monitor setup with the primary on the left and the secondary on the right. When the login screen comes up after a reboot for instance, the login options such as user selection are on the secondary (right) monitor. How can I change this?
View 9 Replies
View Related
May 2, 2010
I'm on Lucid, and I want to use the theme Lucidity, which is ironically excepted from the defaults. I have the tarball, but am a little rusty on how to install themes in GNOME.
View 3 Replies
View Related
May 20, 2010
So I just had gotten to know the old Grub a little when I upgraded Ubuntu to find the new Grub, which I barely understand at all! My use of Ubuntu is mostly for learning and recreational as my bread and butter is working on people's messed up Windoze systems, since that is where the work is. Naturally I've got to use and work with Windoze to know how to fix it and keep it running cleanly, but Ubuntu was the first Linux I found that to me seems like something that could be potentially be embraced by "non geeks". I have as yet to get anyone to try it; it is all about keeping up with the Joneses and having what they have. There is also that old pervasive myth that you get what you pay for, which with computers, I find the opposite is so often true, that the good stuff is mostly free.
In any case I dabble a lot with Ubuntu for fun and personal knowledge, but since I put 10 on I had only Windoze 7 on my machine at the time. It picked it up and I purposely installed Grub to my Ubuntu drive (I used separate physical drives, so that if you removed the Ubuntu drive, 7 would boot as if Grub and Linux were never on the machine and that is the way I like it since I tinker a lot.). The trouble is that I need Win 7 to be the default and I don't know how to do that with Grub 2 (is it 2?) I used to know with the old one. Also, I have since added a 160GB PATA drive with XP on it, since so much of the help I am asked to give over the phone is with XP and I am not one who can talk others through things unless I can see it myself. Plus there are some things I do that just plain old work best with XP. So I also need to add XP to my boot menu, and it is, on a separate physical drive as well, and I wanted that the same too; if you made the XP drive the priority boot device it will boot XP as if it was the only OS on the machine.
What the ideal for me would be is to have the Ubuntu drive as the one it boots from, Windoze 7 to be the default OS, and XP to be on the menu too. I have been able in all of the time with Ubuntu and Linux in general to find precious little info on how to do things with multiple physical drives. It seems to be taken for granted that the only way people multi boot is with separate partitions on a single physical drive
View 2 Replies
View Related
May 21, 2010
I have set up an HP 5M networked printer. The test page works fine, and the defaults are all set correctly. But when I try to print from my own java programs, the paper size is set to letter, and the margins are all set to 2.54 mm. I can change the paper size to A4 (but I have to do it EVERY time). And the margins won't even let me change them. I type in 0, click in the next field, and the value changes straight back to 2.54. It has been this way for at least the last two releases of Ubuntu.
View 4 Replies
View Related
Jun 7, 2010
I finally have a working nautilus after weeks experiencing a seg fault caused by a dependency problem which I have only now managed to resolve.
It came right after doing this:
Code:
gconftool-2 --recursive-unset /apps/nautilus
I then removed nautilus-elementary ppa and downgraded the nautilus-data.
Problem is the nautilus I get is extremely minimal -- really just a window -- which insists on opening new windows whenever I click on a folder.
[URL]
I've tried removing .nautilus on several occasions.
What are the default settings?
Is there a more convenient way of editing nautilus?
Striks me this has something to do with settings gconf. I'm going to play around and see if any of them fix this creature.
View 2 Replies
View Related
Oct 17, 2010
I set up my interfaces file just fine on one of my computers and everything works. On my desktop its a no go. This is what I've done. I set my interfaces file to look like this
Code:
# The loopback network interface
auto lo
iface lo inet loopback
[code]....
Then I uninstalled network manager (sudo apt-get remove network-manager-gnome). Now I can restart my computer, but I do NOT get a static IP of 112, instead I get the last working dhcp given address (.104). It connects and I get internet using .104.
BUT, if I run
Code:
sudo /etc/init.d/networking restart
then it DOES work. It changes to my address .112 and the internet works. But when I get that I get an error SIOCDELRT: No such process found (or something similar to that). But after it sits, it still finished with [OK] and my internet works. Clearly something is amiss though. Because it doesn't go to the static IP imediately. I even tried setting up a rcS.d link to a file with that networking restart command, but still no go. It starts with the .101 IP.
View 9 Replies
View Related
May 13, 2011
On Ubuntu 11.04, I have a need to use gnome-open from another application to open files in assigned applications. I think I understand how mime types are given in /usr/share/mime. I understand how default application associations are done in /usr/share/gnome/applications/defaults.list. I understand how update-desktop-database is used to maintain defaults.list. I know how to specify file associations (open with) from Nautilus. I understand how ~/.local/share/applications and ~/.local/share/mime override the system settings. I get all that.
What I don't understand is why the command gnome-open or double-clicking a file in nautilus, for certain file types (e.g. PDF), generates an error message:
Quote:
Could not display "<whatever file>". The location is not a folder.
The occurrences of application/pdf in the different applicable files all point to evince as the associated application.
By the way, mimeopen does work. What is the relationship between mimeopen and gnome-open? Manual pages for these commands are not helpful in understanding their operation.
In addition, I might throw in one other question. In the various .desktop files, I see that some application commands are enclosed in single quotes, but never the file name identifier, %f. If dealing with file/directory names with spaces in them, it would seem that quoting the '%f' would be important.
View 3 Replies
View Related