About 7,640,000 results
Open links in new tab
  1. Howto: Linux Write protect a file - nixCraft

    May 3, 2008 · There are two ways to write protect a file under Linux. Method #1: You can make file readonly by removing users’ write permission for a file. Under Linux and UNIX user cannot …

  2. permissions - How to make files protected? - Ask Ubuntu

    Oct 12, 2016 · To require a password, use an encrypted disk or disk image file that does not automount. The best method you have is chattr +i {file}. This sets the immutable attribute and …

  3. Create Password Protected File In Linux Command Line

    Jan 5, 2025 · Linux makes it easy to password protect your files using gpg (GNU-pg) command. It comes pre-installed in most Linux distributions. In this article, we will look at how to password …

  4. How to Make Files Immutable in Linux Using chattr Command

    Making boot files immutable helps protect against boot-sector malware and ensures your system boots reliably: sudo chattr +i /boot/grub/grub.cfg 6. Creating Write-Once Files. For logs or …

  5. How to Create Files With Passwords in Linux - Linuxips

    Feb 27, 2023 · Creating files and directories with passwords in Linux is a great way to protect sensitive data from unauthorized access. This can be particularly useful when working with …

  6. How Do File Permissions Work for the Root User | Baeldung on Linux

    May 4, 2025 · Read – enables us to see a file’s contents; Write – enables us to change a file’s contents; Execute – enables a file to run as a script or program; To check file permissions, we …

  7. How to Password-Protect a File in Linux? - newsoftwares.net

    May 18, 2024 · Securing files in Linux through password protection is essential for data security. Learn how to implement this using tools like GPG, Zip, or OpenSSL for robust file encryption. …

  8. How to Password-Protect Files and Folders on Linux

    In this article, we will guide you on how to password-protect files and folders on Linux. EncFS is an open-source cryptographic file system that helps in encrypting files on-demand. It allows …

  9. How to make a file immutable on Linux - Xmodulo

    Sep 25, 2020 · To make a file immutable, you can add immutable attribute to the file as follows. For example, to write-protect /etc/passwd file: Note that you must use root privilege to set or …

  10. How to Make a File Write Protected in Linux - orahow

    Nov 22, 2014 · How to Make a File Write Protected in Linux November 22, 2014 Santosh Tiwary In Linux there is an additional file attribute which prevent files and folders from being deleted …

Refresh