Re: "reset" perms and ownerships

2013-11-12 Thread Andrei POPESCU
On Mi, 23 oct 13, 20:57:30, Bob Proulx wrote: > > The dlocate command is a > fast indexed 'dpkg -S' command. You will likely need to 'apt-get > install dlocate' to have it but it is so much faster than 'dpkg -S' > that it is very useful to install. Cool! Thanks for the tip, Andrei -- http://w

Re: "reset" perms and ownerships

2013-10-23 Thread Bob Proulx
Mário Barbosa wrote: > sudo chown -R : / > ... and then came back to me for help. Oh my goodness! > I'm a sysadmin on the RH/CentOS camp, and my confort level with > apt-* and dpkg* is extremely low. > > Is there anything like "rpm -V" on the debian toolset? I'm trying to > avoid "punishing him"

Re: "reset" perms and ownerships

2013-10-23 Thread berenger . morel
Le 23.10.2013 16:24, Mário Barbosa a écrit : On 10/23/2013 02:48 PM, berenger.mo...@neutralite.org wrote: I already did something along the lines of... cd /var/cache/apt/archives ls -1 *.deb | xargs sudo dpkg -Gi But this will install everything you installed if you never cleaned that di

Re: "reset" perms and ownerships

2013-10-23 Thread Mário Barbosa
On 10/23/2013 02:48 PM, berenger.mo...@neutralite.org wrote: I already did something along the lines of... cd /var/cache/apt/archives ls -1 *.deb | xargs sudo dpkg -Gi But this will install everything you installed if you never cleaned that dir... you may find useful this command in the futur

Re: "reset" perms and ownerships

2013-10-23 Thread berenger . morel
Le 23.10.2013 15:29, Mário Barbosa a écrit : Hi, On 10/23/2013 01:33 PM, berenger.mo...@neutralite.org wrote: [...] Hopefully he'll remember that using super user powers have to be made with care :) He will. :) Is there anything like "rpm -V" on the debian toolset? I'm trying to avoid

Re: "reset" perms and ownerships

2013-10-23 Thread Mário Barbosa
Hi, On 10/23/2013 01:33 PM, berenger.mo...@neutralite.org wrote: [...] Hopefully he'll remember that using super user powers have to be made with care :) He will. :) Is there anything like "rpm -V" on the debian toolset? I'm trying to avoid "punishing him" (further) with reinstall... It

Re: "reset" perms and ownerships

2013-10-23 Thread berenger . morel
Le 23.10.2013 14:13, Mário Barbosa a écrit : Hi, ( this is most likely a RTFM question, please just point me to the right FM) One inexperienced colleague just something along the likes of... "sudo chown : / ; sudo chmod /" (it's actually a little more elaborate than that, but you get th

"reset" perms and ownerships

2013-10-23 Thread Mário Barbosa
Hi, ( this is most likely a RTFM question, please just point me to the right FM) One inexperienced colleague just something along the likes of... "sudo chown : / ; sudo chmod /" (it's actually a little more elaborate than that, but you get the picture) ... and then came back to me for help.