Ok, so two nights ago I left "slapt-get --upgrade" running for me because, due to the fact that I'm on a fresh install of Slackware, my software was way behind. Now, last time I did this I remember needing "libcairo.so.2" so before my upgrade I went and got cairo-1.0.2-i486-1.tgz from the Slackware ftp. After the upgrade I opened Firefox to see if it worked, and I was running Firefox v1.5.0.4.
I turned off my computer and started it today. I log in, whatever, "startx"
It gives me an error about not being able to access /home/deadly7/.ICEauthority and shut off X.
I did:
$ cd ~/
$ ls
And the file wasn't there.
So I tried "sudo startx"
And that worked. Is there any workaround for this or am I just stuck with it?
First of all, the reason you weren't able to see it is because it's dotICEathority. Just like bash history and whatnot, it won't show up in a ls. Try cd ~/ && pico .ICEathority
ls -a
I like --dist-upgrade better. Followed by some --install-set [a/ap/d/etc..]
Using --upgrade is a real nice way to break dependancies and kill your system.
You know, you guys suck at helping me. :p
deadly: zomg, my system broke
Joe: --upgrade tends to do that
Ergot: Use --dist-upgrade
Quote from: Joe on June 26, 2006, 04:09:52 PM
deadly: zomg, my system broke
Joe: --upgrade tends to do that
Ergot: Use --dist-upgrade
Mmhmm! Just do what I said and next time keep an eye on the changelog. >:)
Zomg even after dist-upgrade it no work unless I do sudo.
"/home/deadly7/.xinitrc: line 58: xcreensaver: command not found
Agent pid 1464
which: no dbus-launch in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:.)
xfce4-session: Unable to access file /home/deadly7/.ICEauthority: Permission denied
Agent pid 1464 killed"
Quote"/home/deadly7/.xinitrc: line 58: xcreensaver: command not found
xcreensaver? Man.. I wonder why it doesn't work?
EDIT -
touch ~/.ICEauthority
touch joesmom
Go ArchLinux! Haven't had any problems yet. Easy to update too, without breaking anything. :)
Meh.
sudo chmod 0777 /home/deadly7/.ICEauthority
sudo chmod 0777 /home/deadly7/.Xauthority
gg
Closed.
Quote from: deadly7 on June 27, 2006, 12:21:31 AM
Meh.
sudo chmod 0777 /home/deadly7/.ICEauthority
sudo chmod 0777 /home/deadly7/.Xauthority
gg
Closed.
0777 is dumb.
It sounds like root owns your configuration files.
do:
chown -R yourusername.users /home/yourusername
Then set the permissions on your home directory to 0700 (unless you're running a webserver; then it should be 0711).
Then set your configuration files to 0700.
It works! :(
But it's dumb. It gives anybody access to write to your files. I don't care if you're the only user, using 0777 isn't something you should be accustomed to.
If the owner is set properly, then 0700 will give you r/w/x access. If it doesn't, then you don't own the file. If you don't own the file, then "chown -R yourusername.users /home/yourusername" will fix it. So do that instead.
:\
I did it your way. Whatever. I'm the only one in my family that even remotely knows how to use Linux. My brother's probably used Red Hat once or twice at work, but he doesn't make a habit of it. He's sorta like War. :P
Quote from: iago on June 27, 2006, 10:46:48 AM
I don't care if you're the only user, using 0777 isn't something you should be accustomed to.
QFT. It's like solving a permissions problem on Windows by assigning the Everyone group Full Access.
It's just not smart.
Quote from: MyndFyrex86] link=topic=6420.msg77289#msg77289 date=1151426329]
Quote from: iago on June 27, 2006, 10:46:48 AM
I don't care if you're the only user, using 0777 isn't something you should be accustomed to.
QFT. It's like solving a permissions problem on Windows by assigning the Everyone group Full Access.
It's just not smart.
Yeah, that's how I eventually fixed Windows' permission problems. But I think that it's an awful lot easier to assign permissions and access on Linux, because on Windows it seemed absolutely horrible.
As far as I knew, the UNIX-style permissions were three numbers. What's the 0 mean in 0777?
Quote from: Joe on June 27, 2006, 02:57:19 PM
As far as I knew, the UNIX-style permissions were three numbers. What's the 0 mean in 0777?
Octal notation.
Quote from: Sidoh on June 27, 2006, 03:40:09 PM
Quote from: Joe on June 27, 2006, 02:57:19 PM
As far as I knew, the UNIX-style permissions were three numbers. What's the 0 mean in 0777?
Octal notation.
Correct. Although chmod numbers are always octal, the leading 0 is added for the benefit of anybody reading it.
The 0 can also be a 1, 2, or 4 for interesting effects. Try it out!
Hint:
Quote
ron@South:~$ chmod 01700 test.txt; ls -l test.txt
-rwx-----T 1 ron users 0 2006-06-27 15:28 test.txt*
ron@South:~$ chmod 02700 test.txt; ls -l test.txt
-rwx--S--- 1 ron users 0 2006-06-27 15:28 test.txt*
ron@South:~$ chmod 03700 test.txt; ls -l test.txt
-rwx--S--T 1 ron users 0 2006-06-27 15:28 test.txt*
ron@South:~$ chmod 04700 test.txt; ls -l test.txt
-rws------ 1 ron users 0 2006-06-27 15:28 test.txt*
Quote from: iago on June 27, 2006, 01:45:37 PM
Quote from: MyndFyrex86] link=topic=6420.msg77289#msg77289 date=1151426329]
Quote from: iago on June 27, 2006, 10:46:48 AM
I don't care if you're the only user, using 0777 isn't something you should be accustomed to.
QFT. It's like solving a permissions problem on Windows by assigning the Everyone group Full Access.
It's just not smart.
Yeah, that's how I eventually fixed Windows' permission problems. But I think that it's an awful lot easier to assign permissions and access on Linux, because on Windows it seemed absolutely horrible.
Again... it's because you don't know how to use it. To me, it seems like Linux permissions are absolutely horrible. And I even have a passing understanding of chmod! :P
Linux permissions are very simple, but perfectly functional, which I prefer. Windows gets too complicated and make it too easy to make a mistake. I've seen veteran Windows users fighting with permissions enough times...
Linux permissions come in the form:
Owner, Everyone else, Root
and
Read, Write, eXecute (or special execute as the case may be).
Right?
NTFS permissions are much more granular, granting access to objects based on the thread context's Principal, which has its own security identity (SID) and group membership, where each group has its own SID. NTFS permissions also are more granular as to what can be assigned; read, write, execute, and modify are the basic permissions, but there are also others which include the right to take ownership or backup.
So, where you say complicated, I see robust. :P
I like Linux permissions, but if I were running a server for a larget network, I think I would prefer NTFS.
I like to change peoples passwords at random, thats permissions for you!
(note: I don't really do that, but oddly enough a certain client accused a coworker of doing so :))