summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamanta Navarro <ferivoz@riseup.net>2022-01-09 12:01:07 +0000
committerMike Frysinger <vapier@gentoo.org>2022-11-12 20:45:29 +0700
commit51d58fda7ee791e4692d191e442b9fbf489db9ea (patch)
treeee5f76ff0c2e7ae2901072937a75958fa0b4e502
parent2b42f64737adf6a2ddd491213580d6e9cdd2f5af (diff)
downloadacl-51d58fda7ee791e4692d191e442b9fbf489db9ea.tar.gz
Fix typos
Typos found with codespell.
-rw-r--r--doc/extensions.txt2
-rw-r--r--doc/old-acl.54
-rw-r--r--exports2
-rw-r--r--libacl/__apply_mask_to_mode.c2
-rw-r--r--tools/do_set.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/doc/extensions.txt b/doc/extensions.txt
index 5455bbc..5e6d3d4 100644
--- a/doc/extensions.txt
+++ b/doc/extensions.txt
@@ -13,7 +13,7 @@ acl_to_any_text()
Similar to acl_to_text(), but also allows you to specify:
- a prefix string that is printed before each ACL entry.
- - a seperator character that is printed between two ACL entries.
+ - a separator character that is printed between two ACL entries.
- a set of options (TEXT_* constants).
This function returns the length in characters of the text returned
diff --git a/doc/old-acl.5 b/doc/old-acl.5
index 18bf783..608e6df 100644
--- a/doc/old-acl.5
+++ b/doc/old-acl.5
@@ -53,7 +53,7 @@ any entries of the last two types in the ACL, an ACL_MASK
entry is also required.
An ACL_MASK entry limits the effective rights granted
-to named users or groups. The efective rights granted are those
+to named users or groups. The effective rights granted are those
that are both granted by the user's or group's entry, and by the ACL_MASK entry. The ACL_MASK entry does not apply to the ACL_USER_OBJ and ACL_OTHER entries.
.PP
The lowest three bits of
@@ -237,7 +237,7 @@ utility displays a plus sign (`+') after the permission string of entries with a
.PP
The
.BR cp "(1) and " mv (1)
-utilities preserve ACLs if possible. If files are copied or moved between fileystems that do not support ACLs, only the file mode permission bits are preserved, and a warning is written to standard error.
+utilities preserve ACLs if possible. If files are copied or moved between filesystems that do not support ACLs, only the file mode permission bits are preserved, and a warning is written to standard error.
.PP
The
.BR chmod (1)
diff --git a/exports b/exports
index 830a2b9..67a2163 100644
--- a/exports
+++ b/exports
@@ -16,7 +16,7 @@
ACL_1.0 {
global:
- # POSIX 1003.1e draft stardard 17 functions
+ # POSIX 1003.1e draft standard 17 functions
acl_init;
acl_dup;
acl_free;
diff --git a/libacl/__apply_mask_to_mode.c b/libacl/__apply_mask_to_mode.c
index 1c64f82..85e6c4e 100644
--- a/libacl/__apply_mask_to_mode.c
+++ b/libacl/__apply_mask_to_mode.c
@@ -33,7 +33,7 @@ __apply_mask_to_mode(mode_t *mode, acl_t acl)
acl_entry_t entry;
int entry_id=ACL_FIRST_ENTRY;
- /* A mimimal ACL which has three entries has no mask entry; the
+ /* A minimal ACL which has three entries has no mask entry; the
group file mode permission bits are exact. */
if (acl_entries(acl) == 3)
return 0;
diff --git a/tools/do_set.c b/tools/do_set.c
index dff7ae8..48a6cd2 100644
--- a/tools/do_set.c
+++ b/tools/do_set.c
@@ -444,7 +444,7 @@ do_set(
}
}
- /* Only directores can have default ACLs */
+ /* Only directories can have default ACLs */
if (default_acl && !S_ISDIR(st->st_mode) && (walk_flags & WALK_TREE_RECURSIVE)) {
/* In recursive mode, ignore default ACLs for files */
acl_free(default_acl);