Skip to content

Using --gid flag throws "operation not permitted" #60

Open

Description

@jamsinclair

I've compiled my own catfs binary from the latest master branch

When mounting with the following:

catfs --gid 1001 --uid 1000 /test-source /test-cache /test

I get the following error:

ERROR - Cannot mount: Operation not permitted (os error 1)    0: catfs::catfs::error::RError<E>::from
   1: catfs::main
   2: std::sys_common::backtrace::__rust_begin_short_backtrace
   3: std::rt::lang_start::{{closure}}
   4: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/core/src/ops/function.rs:259:13
      std::panicking::try::do_call
             at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:403:40
      std::panicking::try
             at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:367:19
      std::panic::catch_unwind
             at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panic.rs:129:14
      std::rt::lang_start_internal::{{closure}}
             at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/rt.rs:45:48
      std::panicking::try::do_call
             at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:403:40
      std::panicking::try
             at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:367:19
      std::panic::catch_unwind
             at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panic.rs:129:14
      std::rt::lang_start_internal
             at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/rt.rs:45:20
   5: main
   6: __libc_start_main
   7: _start

I'm either likely using this software wrong or have some permissioning issues 😅. Let me know if there's something I need to fix on my end or if you need me to provide additional information 🤓

Edit: I am trying to allow other users, or if possible, users of a certain group also access the cached volume.

Thanks for both goofys and catfs these are really cool tools and appreciate your work on them 😊

Activity

  1. changed the title [-]Using --gid flag causes "operation not permitted"[/-] [+]Using --gid flag throws "operation not permitted"[/+] on Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions