Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Standard user can delete invisible files?



I ran a UNIX command on a couple of test machines to delete a folder from the user's desktop. The command went a little something like this:

rmdir Desktop/name_of_folder

and it was run as the current logged in user. The "current logged in user" as stated is a standard user and does not have admin rights of any kind. I ran the script and the result from ARD was that it failed to perform the command. When I next tried to connect to the two computers, I find that not only is access denied, but the usr and etc folders (to name a few) are gone. After writing this, I'm thinking that the command should have said:

rmdir ~/Desktop/name_of_folder

But what still puzzles me is even if the command was wrong or the folder not found, how does running a rmdir as a non-admin user able to freely delete folders such as usr? Lucky for me, these were test machines. I just wanted to see if I could run a UNIX command on more than one computer with user specific qualities.

Thanks,

Kim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Remote-desktop mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/remote-desktop/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.