blinksh / blinksh/blink

Using cd .. to change back to home directory fails

Open
#2,003 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Swift
Stars
6.9k
Forks
746
PR merge metrics
No merged PRs in 30d

Description

When attempting to use `cd ..` to change to previous directory, and previous directory is `home`.

1. In blink shell, change directory to iCloud or Documents, from home directory.
2. Then `cd ..`

Error: permission denied

The only way I can find to change to home is to just `cd` without any arguments, or `cd $HOME`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in Blink shell by changing from home to iCloud or Documents and running `cd ..`; compare the result with `cd` and `cd $HOME`. Trace the directory-change handling from the `cd` command and verify that returning to home succeeds without a permission-denied error.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell, swift
Domain
cli, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.