aws / aws/aws-cli

The executable bit on documentation files should not be set

Open
#6,972 1 comment 0 reactions 0 assignees View on GitHub
bug documentation p3
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

### Describe the bug

The executable bit on documentation files should not be set.

### Expected Behavior

The executable bit on documentation files should not be set.

### Current Behavior

The executable bit on some documentation files is currently set.

### Reproduction Steps

```$ ls -lah awscli/examples/```

For example:
```
$ ls -lah /awscli/examples/alexaforbusiness
total 40
drwxr-xr-x 7 user staff 224B May 18 12:43 .
drwxr-xr-x 172 user staff 5.4K May 18 14:25 ..
-rwxr-xr-x 1 user staff 702B May 18 12:43 create-network-profile.rst
-rwxr-xr-x 1 user staff 553B May 18 12:43 delete-network-profile.rst
-rwxr-xr-x 1 user staff 871B May 18 12:43 get-network-profile.rst
-rwxr-xr-x 1 user staff 1.5K May 18 12:43 search-network-profiles.rst
-rwxr-xr-x 1 user staff 597B May 18 12:43 update-network-profile.rst
```

shows that the executable bit is set on the .rst files.

### Possible Solution

#5490

### Additional Information/Context

A test should be added to make sure that no documentation files have the executable bit set.

### CLI version used

any

### Environment details (OS name and version, etc.)

any

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.