quick GIMP help

NuclearFusi0n

Diamond Member
Jul 2, 2001
7,028
0
0
what directory should i use for swap? it defaulted to /root/.gimp-1.2, but it suggested using /tmp or /var/tmp
*shrug* i dunno if it even matters :p
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: NuclearFusi0n
what directory should i use for swap? it defaulted to /root/.gimp-1.2, but it suggested using /tmp or /var/tmp
*shrug* i dunno if it even matters :p

You arent running gimp as root are you?

Set it to /tmp, that should be fine.
 

NuclearFusi0n

Diamond Member
Jul 2, 2001
7,028
0
0
Originally posted by: n0cmonkey
Originally posted by: NuclearFusi0n
what directory should i use for swap? it defaulted to /root/.gimp-1.2, but it suggested using /tmp or /var/tmp
*shrug* i dunno if it even matters :p

You arent running gimp as root are you?

Set it to /tmp, that should be fine.

i am. why?
 

Heisenberg

Lifer
Dec 21, 2001
10,621
1
0
Originally posted by: NuclearFusi0n
Originally posted by: n0cmonkey
Originally posted by: NuclearFusi0n
what directory should i use for swap? it defaulted to /root/.gimp-1.2, but it suggested using /tmp or /var/tmp
*shrug* i dunno if it even matters :p

You arent running gimp as root are you?

Set it to /tmp, that should be fine.

i am. why?

You shouldn't do anything as root that you absolutely don't have to.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: NuclearFusi0n
Originally posted by: n0cmonkey
Originally posted by: NuclearFusi0n
what directory should i use for swap? it defaulted to /root/.gimp-1.2, but it suggested using /tmp or /var/tmp
*shrug* i dunno if it even matters :p

You arent running gimp as root are you?

Set it to /tmp, that should be fine.

i am. why?

Give me one good reason a program like the gimp would have to run as root instead of a normal day to day user. This isnt Windows. You cant get away with doing stupid crap as root.
 

NuclearFusi0n

Diamond Member
Jul 2, 2001
7,028
0
0
Originally posted by: n0cmonkey
Originally posted by: NuclearFusi0n
Originally posted by: n0cmonkey
Originally posted by: NuclearFusi0n
what directory should i use for swap? it defaulted to /root/.gimp-1.2, but it suggested using /tmp or /var/tmp
*shrug* i dunno if it even matters :p

You arent running gimp as root are you?

Set it to /tmp, that should be fine.

i am. why?

Give me one good reason a program like the gimp would have to run as root instead of a normal day to day user. This isnt Windows. You cant get away with doing stupid crap as root.
i no absolutely jack sh|t about permissions and the like, so i know absolutely jack sh|t about operating as anything other than root - damnit, i'm going to be reading stuff about linux all freaking night, just like i did last night, and the night before. :(
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: NuclearFusi0n
Originally posted by: n0cmonkey
Originally posted by: NuclearFusi0n
Originally posted by: n0cmonkey
Originally posted by: NuclearFusi0n
what directory should i use for swap? it defaulted to /root/.gimp-1.2, but it suggested using /tmp or /var/tmp
*shrug* i dunno if it even matters :p

You arent running gimp as root are you?

Set it to /tmp, that should be fine.

i am. why?

Give me one good reason a program like the gimp would have to run as root instead of a normal day to day user. This isnt Windows. You cant get away with doing stupid crap as root.
i no absolutely jack sh|t about permissions and the like, so i know absolutely jack sh|t about operating as anything other than root - damnit, i'm going to be reading stuff about linux all freaking night, just like i did last night, and the night before. :(

Thats a good thing. I have gotten several decent paying jobs because of the stuff I taught myself about Linux and Unix in general. Check out our Linux FAQ thread in OS. Its got some good information there. This stuff only takes a while to learn in the beginning, once you start to understand bits and pieces, the rest falls into place.
 

silverpig

Lifer
Jul 29, 2001
27,703
12
81
Reason 1 why NOT to log in and run day to day things as root:

Say you wanted to delete your /root/pictures/yesterday folder which has 10 pictures and 2 other directories in it. The command to delete this folder and everything in it is:

rm -rf /root/pictures/yesterday

Now, let's say that you've got this

rm -rf /

and you accidentally have a slip of the finger and hit enter there. You just fux0r3d your entire computer, and any filesystems that are mounted on it (can be nfs mounts on the network, all your hard drives/partitions, floppy...)

Say you do that as a user, you get an error message.


The chances of a keystroke error are small, but I'd gladly take the error message any day.
 

NuclearFusi0n

Diamond Member
Jul 2, 2001
7,028
0
0
Originally posted by: silverpig
Reason 1 why NOT to log in and run day to day things as root:

Say you wanted to delete your /root/pictures/yesterday folder which has 10 pictures and 2 other directories in it. The command to delete this folder and everything in it is:

rm -rf /root/pictures/yesterday

Now, let's say that you've got this

rm -rf /

and you accidentally have a slip of the finger and hit enter there. You just fux0r3d your entire computer, and any filesystems that are mounted on it (can be nfs mounts on the network, all your hard drives/partitions, floppy...)

Say you do that as a user, you get an error message.


The chances of a keystroke error are small, but I'd gladly take the error message any day.
holy sh|t......that would kill my windows partitions too - damn!
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: NuclearFusi0n
Originally posted by: silverpig
Reason 1 why NOT to log in and run day to day things as root:

Say you wanted to delete your /root/pictures/yesterday folder which has 10 pictures and 2 other directories in it. The command to delete this folder and everything in it is:

rm -rf /root/pictures/yesterday

Now, let's say that you've got this

rm -rf /

and you accidentally have a slip of the finger and hit enter there. You just fux0r3d your entire computer, and any filesystems that are mounted on it (can be nfs mounts on the network, all your hard drives/partitions, floppy...)

Say you do that as a user, you get an error message.


The chances of a keystroke error are small, but I'd gladly take the error message any day.
holy sh|t......that would kill my windows partitions too - damn!

Fat fingering is only one of many problems (many many security problems) caused by using the root user.