<commit_before># Permissions

Files and directories have different levels of permissions which indicate who can read them, write to them, or even execute them.

## Permission Levels
- owner - these permissions apply to the user who owns the file
- group - these permissions apply to the group that owns the file
- other - these apply to everyone else

## Permissions
- read - read the contents of the file
- write - write or modify the file/directory
- execute - execute the file or view the contents of the directory

Try this now:
```
BabyMac:~ jennapederson$ ls -l
total 8
-rw-rw-r-- 1 ubuntu ubuntu 699 Jul  1 13:37 README.md
-rw-r--r-- 1 ubuntu ubuntu  32 Sep 13 21:44 hello_world.sh
```

Our permissions are shown in the first column of characters in this format:

```
<special flag><user rwx><group rwx><other rwx>
```

Right now, the `hello_world.sh` file is not executable. We're going to fix that.
<commit_msg>change owner to user<commit_after># Permissions

Files and directories have different levels of permissions which indicate who can read them, write to them, or even execute them.

## Permission Levels
- user - these permissions apply to the user who owns the file
- group - these permissions apply to the group that owns the file
- other - these apply to everyone else

## Permissions
- read - read the contents of the file
- write - write or modify the file/directory
- execute - execute the file or view the contents of the directory

Try this now:
```
BabyMac:~ jennapederson$ ls -l
total 8
-rw-rw-r-- 1 ubuntu ubuntu 699 Jul  1 13:37 README.md
-rw-r--r-- 1 ubuntu ubuntu  32 Sep 13 21:44 hello_world.sh
```

Our permissions are shown in the first column of characters in this format:

```
<special flag><user rwx><group rwx><other rwx>
```

Right now, the `hello_world.sh` file is not executable. We're going to fix that.

{'fraction_non_alphanumeric': 0.0780065005417118, 'fraction_numerical': 0.020585048754062838, 'mean_word_length': 3.711734693877551, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2436481', 'n_tokens_mistral': 582, 'n_tokens_neox': 513, 'n_words': 275}