Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
ikdekker9437y@daniello yeah hes lucky linux doesn't recognize that command.
Btw. Same thing i did! I posted about my chmod adventure this week ;) -
@raymsmith if you want to chown the current directory and all children, you just need to do
chown -R user:group .
No need for ./* -
If you're using rpm based distro, you can google about it to restore file ownership, did it once on centos and it worked well
-
raymsmith327y@gilgameshcoder It was on an ubuntu box but luckily I caught my mistake before it did too much damage.
-
raymsmith327y@Shodan lol, if it had been rm I wouldn't have ranted about it. I'd still be lying in the fetal position questioning my life.
Intended to type
sudo chown -R name:name ./*
Instead typed
sudo chown-R name:name /*
undefined