Skip to content

Commit a5e1f43

Browse files
Merge pull request #69 from SuspectTyrannosaurus/master
Update suggested permissions for .shortcuts/icons/
2 parents f3c904f + da1c600 commit a5e1f43

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,16 @@ The parent directory of the icons must have read permission, otherwise the plugi
8888

8989
The icon file must be a regular file and its canonical path must exist under `~/.shortcuts/icons` or `~/.termux` directory.
9090

91-
Open a non-root termux session and run the below commands to create the directory and give it read and write permissions `(0600)`.
91+
Open a non-root termux session and run the below commands to create the directory and give it appropriate permissions.
9292

9393
- Create `~/.shortcuts/icons` directory.
9494

9595
```
9696
mkdir -p /data/data/com.termux/files/home/.shortcuts/icons
97-
chmod 600 -R /data/data/com.termux/files/home/.shortcuts/icons
97+
chmod -R a-x,u=rwX,go-rwx /data/data/com.termux/files/home/.shortcuts/icons
9898
```
99+
The `chmod` command will set the `icons` directory permissions to `0700`, but any files already in the directory will be set to `0600` which is recommended.
100+
99101

100102
#### `Draw Over Apps` permission (Optional)
101103

0 commit comments

Comments
 (0)