How do I chmod a 777 file?

How do I chmod a 777 file?
Answer
How to make a file writeable (chmod 777)
  1. Connect to your web server with your telnet software.
  2. Change directory with cd directory.
  3. Type chmod 777 * to change mode for all files in that directory. If you only want to change mode for a special type of file your can use chmod 777 *.txt *.dat orchmod 777 filename.ext.
Photo in the article by “小鑫的GNU/Linux学习网站- 小鑫博客”
Code:
http://linux.xiazhengxin.name/index.php?m=02&y=12&d=05&entry=entry120205-170525
How do I encrypt a file or folder in my home directory?
  • Turn a directory into a file. If you want to encrypt a directory, you will need to convert it to a file first.
  • Prepare GPG. You will need to create a private key with which you will encrypt your files.
  • Encrypt. To encrypt a file, type gpg -e -r USERNAME ~USERNAME/filename.
  • Decrypt. To decrypt the file, type.
Tip: It is more appropriate to use “directory” instead of “folder” when referring to the command line. To create a directory in MS-DOS or the Windows command line, use the md or mkdir MS-DOS command. For example, below we are creating a new directory called “hope” in the current directory.To create parent directories using the mkdir command pass the -p option. Suppose that the directory path foo/bar/baz is to be created. This can be created with mkdir as follows. This may also be achieved in a single command with the -p flag.
How do I encrypt a file or folder in my home directory?
  • Turn a directory into a file. If you want to encrypt a directory, you will need to convert it to a file first.
  • Prepare GPG. You will need to create a private key with which you will encrypt your files.
  • Encrypt. To encrypt a file, type gpg -e -r USERNAME ~USERNAME/filename.
  • Decrypt. To decrypt the file, type.
 

Tìm kiếm

Back
Top