Skip to content

Commit

Permalink
Merge pull request #384 from lmagyar/pr-extend-possible-fs-injected-d…
Browse files Browse the repository at this point in the history
…ir-list

Add /sdcard to the possible injected poFS dir list (just extend a comment, no functional change
  • Loading branch information
wolpi authored Sep 29, 2024
2 parents 8e22cbd + 117aa76 commit 5cb965b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primitiveFTPd/src/org/primftpd/filesystem/FsFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public abstract class FsFile<T> extends AbstractFile {
static {
Map<String, String[]> tmp = new HashMap<>();
// more known directories might be added
//tmp.put("/", new String[] {"dev", "etc", "mnt", "proc", "product", "storage", "system", "vendor"});
//tmp.put("/", new String[] {"dev", "etc", "mnt", "proc", "product", "sdcard", "storage", "system", "vendor"});
tmp.put("/", new String[] {"storage"});
tmp.put("/storage/emulated", new String[] {"0"});
DIRECTORY_INJECTIONS = Collections.unmodifiableMap(tmp);
Expand Down

0 comments on commit 5cb965b

Please sign in to comment.