mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(kb): add placeholders to the pile
This commit is contained in:
2
knowledge base/changelog.placeholder
Normal file
2
knowledge base/changelog.placeholder
Normal file
@@ -0,0 +1,2 @@
|
||||
https://keepachangelog.com/en/1.1.0/
|
||||
https://github.com/olivierlacan/keep-a-changelog
|
||||
27
knowledge base/file permissions.placeholder
Normal file
27
knowledge base/file permissions.placeholder
Normal file
@@ -0,0 +1,27 @@
|
||||
https://www.cyberciti.biz/faq/howto-set-readonly-file-permission-in-linux-unix/
|
||||
|
||||
|
||||
Change file attributes on a Linux file system to read-only using the `chattr` command:
|
||||
|
||||
```sh
|
||||
chattr +i /path/to/file.php
|
||||
chattr +i /var/www/html/
|
||||
|
||||
# find everything in /var/www/html and set to read-only #
|
||||
find /var/www/html -iname "*" -print0 | xargs -I {} -0 chattr +i {}
|
||||
```
|
||||
|
||||
```sh
|
||||
To remove read-only attribute pass the -i option:
|
||||
# chattr -i /path/to/file.php
|
||||
```
|
||||
|
||||
FreeBSD, Mac OS X and other BSD unix user need to use the `chflags` command:
|
||||
|
||||
```sh
|
||||
# set read-only
|
||||
chflags schg /path/to/file.php
|
||||
|
||||
# remove read-only
|
||||
chflags noschg /path/to/file.php
|
||||
```
|
||||
1
knowledge base/whalebrew.placeholder
Normal file
1
knowledge base/whalebrew.placeholder
Normal file
@@ -0,0 +1 @@
|
||||
https://github.com/whalebrew/whalebrew
|
||||
3
knowledge base/zed.placeholder
Normal file
3
knowledge base/zed.placeholder
Normal file
@@ -0,0 +1,3 @@
|
||||
// For a full list of overridable settings, and general information on folder-specific settings,
|
||||
// see the documentation: https://docs.zed.dev/configuration/configuring-zed#folder-specific-settings
|
||||
https://zed.dev/
|
||||
Reference in New Issue
Block a user