SSC IMD SA Mock 04 – Question 137

Question:

Which of the following is a default permission for the text file in Linux?

लिनक्स में टेक्स्ट फ़ाइल के लिए निम्नलिखित में से कौन सी डिफ़ॉल्ट अनुमति (default permission) है?

Options:

  • rwx r- – r- –
  • rw- r- – r- –
  • rwx rwx rwx
  • rwx – – – – – –
  • rwx r- – r- –
  • rw- r- – r- –
  • rwx rwx rwx
  • rwx – – – – – –

Correct Answer: b)

Explanation:

In Linux, newly created text files have a default base permission of 666 (`rw-rw-rw-`). Under the standard default system umask of 022, write permissions are removed for group and others, resulting in 644 (`rw- r– r–`): read-write for the owner, and read-only for group and others.

लिनक्स में टेक्स्ट फ़ाइल का डिफ़ॉल्ट बेस परमिशन 666 (`rw-rw-rw-`) होता है। मानक umask 022 लागू होने पर अंतिम अनुमति 644 हो जाती है, जिसे सिम्बॉलिक रूप में `rw- r– r–` लिखा जाता है (मालिक के लिए पढ़ना और लिखना, तथा समूह व अन्य के लिए केवल पढ़ना)।

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top