Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, in console, I change to root by typing su <enter> password. Then I type chmod -R 777 dir and it ouputs "Operation not permitted" for each file in that folder. What am I doing wrong?
What are your permissions on the directory itself?
ls -l /path/to/directory
Try creating a blank file in there, then chmod that file:
touch /path/to/directory/testfile
chmod 777 /path/to/directory/testfile
ls -l /path/to/directory/testfile
You mean you cannot even view the contents/listen/watch these files?
..........
??? I'm a bit confused. Ok, so you have directory X, let's say it's /home/temp
And inside /home/temp you have 200 files. Then you have 50 sub directories, each containing 20 files each, and each containing subfolders themselves.
All of these files in /home/temp are completely un-accessible by any app other than simply listing their existence?
I have read and execute access, but I need write access. Though for some reason so apps can run the files.
Maybe I should mention that this is a sub directory on /mnt/ That could be signifigant...Its a mounted partition of another HDD than the one running Linux
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.