Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
thanks, do you happen to know the flag for "fully writeable" for directories? I did man chmod and couldn't find the flags
btw is "reformatting chmod please wait" harmful? Does it really format (delete anything)? I accidentally got that and was not sure if it was bad or not.
I also tried chmod 777 which let me read the dir but not write
Fully writable directory is 777. The flags are described in this part of the man page:
Code:
A numeric mode is from one to four octal digits (0-7), derived by
adding up the bits with values 4, 2, and 1. Any omitted digits are
assumed to be leading zeros. The first digit selects the set user ID
(4) and set group ID (2) and sticky (1) attributes. The second digit
selects permissions for the user who owns the file: read (4), write
(2), and execute (1); the third selects permissions for other users in
the file's group, with the same values; and the fourth for other users
not in the file's group, with the same values.
I guess you get the message about reformatting when you run man chmod, right? It means it's processing the page to fit your screen. Not harmful at all.
Oh yea, you were right. I just thought it would make all the folders inside of the cmoded 777 folder also writeable but guess not. But I just did those indivudually.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.