chmod: Operation not permitted
The dir probably has the immutable attribute set. Try
# chattr -R -ia hs
Also, use the search function before posting.
Related videos on Youtube
Sanskar Sahu
Hello there! I am a computer science student having more than 4 years of experience in programming languages. Computer : Programs && Tools Vscode is the Best editor for web chromium is best then chrome Gimp for image manipulation I highly prefer Arch. but, sometimes you can rely on debiun. so, Pops Os by (System76) Languages And Tools ≧◉ᴥ◉≦ Frontend Technologies: Html Scss JavaScritp BootStrap TailWind ReactJS (NextJS) Backend Technologies: NodeJS (HBS) PHP RestAPIs Database and Server Technologies : Heroku ( cloud platform ) FireBase ( server less ) MongoDB ( document-oriented database ) MYSQL ( relational database ) Available for :Team projects, particularly open-source and is MERN stack. 🌱 I’m currently learning more about reactjs(nextjs) AND Deno. 👯 I’m looking to collaborate on github. 🤔 I’m looking for help with Nextjs documentation. 💬 Ask me about web Development or any tech-related stuff. 😄 Pronouns: He/His MailBox : Touch Me Ꮚˊ•⌔•ˋᏊ [email protected] || https://github.com/DSDmark || https://dev.to/dsmark
Updated on September 18, 2022Comments
-
Sanskar Sahu over 1 year
how can change my folder permissions? I also tried it as root but it did not work and I also cannot change the ownership.
root@darkmark:~# pwd /root root@darkmark:~# sudo chown -R darkmark '/home/darkmark/hs' chown: changing ownership of '/home/darkmark/hs': Operation not permitted root@darkmark:~# sudo chmod 755 '/home/darkmark/hs' chmod: changing permissions of '/home/darkmark/hs': Operation not permitted root@darkmark:~# _ darkmark@darkmark:~$ ls -l total 32 drwxrwxr-x 4 darkmark darkmark 4096 Jul 12 15:39 dictionaries drwxrwxr-x 3 darkmark darkmark 4096 Jul 12 21:27 Directory-Wordlist drwxrwxrwx 2 darkmark darkmark 4096 Jul 14 20:35 Downloads drwxrwxrwx 3 root root 4096 Jul 10 16:55 hs drwxrwxr-x 5 darkmark darkmark 4096 Jul 10 15:32 Main_data_dir drwxrwxr-x 6 darkmark darkmark 4096 Jul 12 19:46 SecLists drwxrwxr-x 3 darkmark darkmark 4096 Jul 14 20:35 wifite drwxrwxr-x 3 darkmark darkmark 4096 Jul 14 20:57 wordlist darkmark@darkmark:~$ sudo chmod -rw hs [sudo] password for darkmark: chmod: changing permissions of 'hs': Operation not permitted darkmark@darkmark:~$ _
-
Admin almost 3 yearsPlease edit your question and use copy and paste from the text in your terminal.
-
-
Sanskar Sahu almost 3 yearsthank you bro help it work thank you bro really
-
Jeff Isaacs almost 3 yearsYou're welcome! Please hit the accept button if my answer solved your problem :)