[ale] Stupid Question Time
Geoffrey Myers
lists at serioustechnology.com
Fri Feb 3 10:54:18 EST 2012
gcs8 wrote:
> Sudo rm -rf /
>
> That will fix it but it is the nuke it from orbit fix.
What? You're talking about destroying the whole system. That would
attempt to remove everything under / . You sure you don't want to
rethink that post?
>
> On Feb 3, 2012 9:55 AM, "Jim Kinney" <jim.kinney at gmail.com
> <mailto:jim.kinney at gmail.com>> wrote:
>
> Do a 'ls /media/sdc1' and see if anything is there. If not. no need
> to rmdir. If you plug back in the same drive(s) they will get
> mounted at the same location.
>
> On Fri, Feb 3, 2012 at 9:17 AM, Michael Nolan
> <michaeldnolan at gmail.com <mailto:michaeldnolan at gmail.com>> wrote:
>
> (Sorry about the sleep deprived post last night, misspelled
> words are
> always a dead giveaway the next morning...)
>
> And thanks once again for responses, I know this stuff is simpleton
> level for most of you....
>
> I was reading in another thread about "root" (which was _way_
> over my
> head).... but I'd like to get a critique about the correctness
> of the
> ugly commands below and my thought process in getting rid of the
> offending empty dir's.
>
> Also, is there any way to search the Ale.org archives other than
> using
> Google advanced search or "[target] site:ale.org <http://ale.org>"
>
> mike at Pappy:/media$ rmdir sdc1
> rmdir: failed to remove `sdc1': Permission denied
>
> mike at Pappy:/media$ ls -l
> total 16
> drwxr-xr-x 16 mike mike 4096 2012-02-02 10:15 2T_ext3
> drwxrwxr-x 3 mike mike 0 2012-01-27 08:36 pogoplug
> drwxr-xr-x 2 root root 4096 2012-01-13 21:02 sdc1
> drwxr-xr-x 2 root root 4096 2012-01-13 21:03 sdc3
> mike at Pappy:/media$
>
> Obviously root owns the two dir's
>
> so:
>
> mike at Pappy:/media$ chown mike /media/sdc1
> chown: changing ownership of `/media/sdc1': Operation not permitted
>
> so:
>
> mike at Pappy:/media$ sudo su
>
> root at Pappy:/media#
>
> root at Pappy:/media# rmdir sdc1
> root at Pappy:/media# rmdir sdc3
> root at Pappy:/media# exit
> exit
> mike at Pappy:/media$ ls
> 2T_ext3 pogoplug
> _______________________________________________
> Ale mailing list
> Ale at ale.org <mailto:Ale at ale.org>
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
>
>
> --
> --
> James P. Kinney III
>
> As long as the general population is passive, apathetic, diverted to
> consumerism or hatred of the vulnerable, then the powerful can do as
> they please, and those who survive will be left to contemplate the
> outcome.
> - ////2011 Noam Chomsky
>
> http://heretothereideas.blogspot.com/
> ////
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org <mailto:Ale at ale.org>
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
--
Until later, Geoffrey
"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson
More information about the Ale
mailing list