Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setfacl: Operation not permitted #4162

Closed
girdharmanas opened this issue Jun 17, 2019 · 5 comments
Closed

Setfacl: Operation not permitted #4162

girdharmanas opened this issue Jun 17, 2019 · 5 comments

Comments

@girdharmanas
Copy link

Steps to reproduce:

  1. Create a file (touch filename.text)
  2. Run the following commands:
    a. HTTPDUSER=$(ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1)
    b. sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:$(whoami):rwX filename.text
    c. sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:$(whoami):rwX filename.text

running command c. gives an operation not supported error.

WSL Version: 2
Windows version: Windows 10 Insider Preview Build 18917
Linux version: Ubuntu 18.04

@girdharmanas
Copy link
Author

read(3, "sudo setfacl -R -m u:"$HTTPDUSER"..., 87) = 87
49 close(3) = 0
49 chown("/home/manas/.bash_history", 1000, 1000) = 0
49 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
49 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
49 rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [], 8) = 0
49 ioctl(255, TIOCSPGRP, [47]) = -1 ENOTTY (Inappropriate ioctl for device)
49 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
49 setpgid(0, 47) = 0
49 exit_group(120) = ?
49 +++ exited with 120 +++

That is part of the gist when I try the 3rd command

@homotechsual
Copy link

This is a duplicate of #2750

@homotechsual
Copy link

It's a shame this hasn't been implemented yet as it blocks so many workflows!

@therealkenc
Copy link
Collaborator

/dupe #2750

@ghost
Copy link

ghost commented May 10, 2021

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

@ghost ghost closed this as completed May 10, 2021
@ghost ghost added the duplicate label May 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants