News:

Holy shit, it's 2018 2019 2020 2021 2022 2023 2024, and the US isn't a fascist country! What a time to be alive. Well, shit.

Main Menu

sudo to startx??!

Started by deadly7, June 26, 2006, 03:20:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

deadly7

:\
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
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
[17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

MyndFyre

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: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

iago

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. 

Joe

As far as I knew, the UNIX-style permissions were three numbers. What's the 0 mean in 0777?
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Sidoh

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.

iago

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*

MyndFyre

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
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

iago

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...

MyndFyre

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
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

Sidoh

I like Linux permissions, but if I were running a server for a larget network, I think I would prefer NTFS.

Chavo

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 :))