About Ubuntu's root permissionsWhat if I accidentally run command “chmod -R” on system directories (/,...

A Trivial Diagnosis

Delete multiple columns using awk or sed

When were female captains banned from Starfleet?

Why should universal income be universal?

What is Cash Advance APR?

Did the UK lift the requirement for registering SIM cards?

What kind of floor tile is this?

Why does Carol not get rid of the Kree symbol on her suit when she changes its colours?

How would you translate "more" for use as an interface button?

Do we have to expect a queue for the shuttle from Watford Junction to Harry Potter Studio?

How to convince somebody that he is fit for something else, but not this job?

Is there a way to have vectors outlined in a Vector Plot?

What's the name of the logical fallacy where a debater extends a statement far beyond the original statement to make it true?

Is this part of the description of the Archfey warlock's Misty Escape feature redundant?

Can I say "fingers" when referring to toes?

Why does AES have exactly 10 rounds for a 128-bit key, 12 for 192 bits and 14 for a 256-bit key size?

Does the reader need to like the PoV character?

How can I write humor as character trait?

It grows, but water kills it

How to get directions in deep space?

What to do when eye contact makes your coworker uncomfortable?

Why does this expression simplify as such?

How do you make your own symbol when Detexify fails?

Does the Linux kernel need a file system to run?



About Ubuntu's root permissions


What if I accidentally run command “chmod -R” on system directories (/, /etc, …)What are the standard file permissions for the /etc directory(file)Cannot use sudo command, changed permission of /usr folderFile permissions won't changeSystem boots in console + login loop (wrong root and home filesystem permissions)Ubuntu no longer prompts for root privilege (but doesn't give it either)“gedit” does not launch as root: “CRITICAL: file log.c …”-error (no gksu problem!)Recovering from chown -R / … update-manager not working and throwing errorsWindows XP left permissions issueFix Broken File Permissions On Ubuntu ServerMake files writable with default permissions in Ubuntu 16.04













0















Well knowingly, I messed with the permissions of '/'. I gave all the permissions to '/' and that too using -R. This is now causing various problems like RSA keys were not working, sudo was not working. Moreover, now every command demands run as root or suid. Can I do something so that I could restore default permissions to Ubuntu? Thanks, in advance.









share







New contributor




abhishek agarwal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Possible duplicate of What if I accidentally run command "chmod -R" on system directories (/, /etc, ...)

    – steeldriver
    1 min ago
















0















Well knowingly, I messed with the permissions of '/'. I gave all the permissions to '/' and that too using -R. This is now causing various problems like RSA keys were not working, sudo was not working. Moreover, now every command demands run as root or suid. Can I do something so that I could restore default permissions to Ubuntu? Thanks, in advance.









share







New contributor




abhishek agarwal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Possible duplicate of What if I accidentally run command "chmod -R" on system directories (/, /etc, ...)

    – steeldriver
    1 min ago














0












0








0








Well knowingly, I messed with the permissions of '/'. I gave all the permissions to '/' and that too using -R. This is now causing various problems like RSA keys were not working, sudo was not working. Moreover, now every command demands run as root or suid. Can I do something so that I could restore default permissions to Ubuntu? Thanks, in advance.









share







New contributor




abhishek agarwal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












Well knowingly, I messed with the permissions of '/'. I gave all the permissions to '/' and that too using -R. This is now causing various problems like RSA keys were not working, sudo was not working. Moreover, now every command demands run as root or suid. Can I do something so that I could restore default permissions to Ubuntu? Thanks, in advance.







permissions root 18.10





share







New contributor




abhishek agarwal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share







New contributor




abhishek agarwal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share



share






New contributor




abhishek agarwal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 4 mins ago









abhishek agarwalabhishek agarwal

1




1




New contributor




abhishek agarwal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





abhishek agarwal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






abhishek agarwal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Possible duplicate of What if I accidentally run command "chmod -R" on system directories (/, /etc, ...)

    – steeldriver
    1 min ago



















  • Possible duplicate of What if I accidentally run command "chmod -R" on system directories (/, /etc, ...)

    – steeldriver
    1 min ago

















Possible duplicate of What if I accidentally run command "chmod -R" on system directories (/, /etc, ...)

– steeldriver
1 min ago





Possible duplicate of What if I accidentally run command "chmod -R" on system directories (/, /etc, ...)

– steeldriver
1 min ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






abhishek agarwal is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1127732%2fabout-ubuntus-root-permissions%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








abhishek agarwal is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















abhishek agarwal is a new contributor. Be nice, and check out our Code of Conduct.













abhishek agarwal is a new contributor. Be nice, and check out our Code of Conduct.












abhishek agarwal is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1127732%2fabout-ubuntus-root-permissions%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...