acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix typos


From: Samanta Navarro
Subject: [PATCH] Fix typos
Date: Sun, 9 Jan 2022 12:01:07 +0000

Typos found with codespell.
---
 doc/extensions.txt            | 2 +-
 doc/old-acl.5                 | 4 ++--
 exports                       | 2 +-
 libacl/__apply_mask_to_mode.c | 2 +-
 tools/do_set.c                | 2 +-
 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);
-- 
2.34.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]