PDA

View Full Version : Two (simple) questions


b1hgaa88
03-14-2002, 02:03 PM
I have two problems I cannot resolve as yet:

1. How to set my high speed DSL line to connect automatically at start up/login (tried placing Network in the Startup pane but didn't work)?

2. How to put stuff in the Trash without getting a dialog saying: "The operation could not be completed because you do not have sufficient privileges for ".Trash" (I can only trash things from my User partition if I first transfer the files to another partition)?

Many thanks to anyone who can help.

gowrann
03-15-2002, 07:27 AM
for your online start up.

network pane > pppoe options > check: connect auto with TCP/IP apps.

login pane > add Omniweb or whatever to the start up items.

pyrohotdog
03-18-2002, 06:48 PM
first of all, what are you trying to put in the trash? if it has anything to do with the system, then you shouldn't be deleting it in the first place.
what kind of user are you? admin or normal? (to check go SystemPrefs>Users)

JayBee
03-18-2002, 08:25 PM
As a general rule of thumb, if you can't delete something in OS X, there's usually a good reason for it.

By default, the filesystem is set up so that your Home directory is your little walled-in playpen. You can do anything you like there (pretty much) including deleting, copying, creating, moving etc.

Everywhere else on the filesystem is kind of like a members only club, where you can only do stuff if you have "sufficient privileges" - generally, if you don't know what privileges are sufficient, it means that you could severely damage your system by doing whatever it was you were trying to do.

Describing having the OS stopping you deleting important files as a problem is kind of like complaining about the hassle the cops give you every time you pull a gun in a public place ;)

b1hgaa88
03-18-2002, 09:16 PM
Thanks Jaybee,

I resolved the problem by using the "force empty trash" of BatChmod. Don't know why this happened; they were only documents anyway - nothing to do with the system. Anyway, I now have no more trouble with emptying my trash in the usual way (without forcing anything).

Thanks

pyrohotdog
03-18-2002, 09:19 PM
JayBee hit the nail on the head there. but if you really must delete something (make sure you REALLY need to) you can resort to the command line in Terminal. at the prompt, type:

sudo rm -i /path/of/file

if it is a folder:

sudo rm -ri /path/of/folder

"sudo" meaning "superuser do" means you can perform any task, provided you have a admin password. "rm" means "remove" in unix commands. and the "-r" means "this folder, and all in side it". the "-i" is a safety thing that asks you if you are sure of what you are going to do. be very careful when using "sudo" and "rm" in the same line!! if you were to put a space in the path, such as:
sudo rm / path/of/file

then you just told it to erase EVERYTHING!!

stetner
03-19-2002, 07:37 AM
Originally posted by pyrohotdog
be very careful when using "sudo" and "rm" in the same line!! if you were to put a space in the path, such as:
sudo rm / path/of/file

then you just told it to erase EVERYTHING!! Well, not quite, you left out the '-r'. But that was just a typo to illustrate how easy it is to make typos right? ;)

pyrohotdog
03-19-2002, 02:49 PM
oops typo, my bad . but you get the point ;)

Marcwic
03-21-2002, 05:01 AM
Originally posted by pyrohotdog
oops typo, my bad . but you get the point ;)

Just seeing if we'd notice, right? ;-)