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.
I am pretty new to Linux. My client has a Linux(Centos) server. There is a folder which has been shared and users have created their own folders under this shared folder. Now if user B tries to change a file created by user A or tries to save the file under a different name it gives a permission issue. I use webmin to administer the server as I am completely new. I want any user to be able to read, write and delete files in any folder irrespective of who created it. Please help!
I am pretty new to Linux. My client has a Linux(Centos) server. There is a folder which has been shared and users have created their own folders under this shared folder. Now if user B tries to change a file created by user A or tries to save the file under a different name it gives a permission issue. I use webmin to administer the server as I am completely new. I want any user to be able to read, write and delete files in any folder irrespective of who created it. Please help!
As root you can go to the folder in question and execute command:
Code:
chmod ugoa+rwx *
This command also allows anybody to execute any file in that folder. If that's not what you want then just remove the "x" from the command.
Cheers,
jdk
This command also allows anybody to execute any file in that folder.
Please try to take into account OP clearly declares himself a novice (as using any webbased admin panel often indicates). That doesn't absolve him from getting required knowledge but not asking for the reasons why this is necessary and offering an uprotected glob is IMHO is not the right way to promote safe usage. using something like ACL might.
Quote:
Originally Posted by jdkaye
If that's not what you want then just remove the "x" from the command.
Since directories aren't searchable for a user without xecute bit, I wonder what sense it makes then?
I am pretty new to Linux. My client has a Linux(Centos) server. There is a folder which has been shared and users have created their own folders under this shared folder. Now if user B tries to change a file created by user A or tries to save the file under a different name it gives a permission issue. I use webmin to administer the server as I am completely new. I want any user to be able to read, write and delete files in any folder irrespective of who created it. Please help!
I would request you give a strong reason behind this. It is really not safe to allow everyone full control of folders they do not own. Privacy is also something you need to respect in this regard.
It is not a very wise decision to allow full control to everyone. Someone might just with fun loving attitude delete the files and never tell he/she did it. And that you do not have much experience with Linux it would be difficult to trace the things in future.
Ok I need to type much faster than I do. I will have to learn it. unspawn has already taken the same points.
Last edited by linuxlover.chaitanya; 06-24-2009 at 05:44 AM.
Please try to take into account OP clearly declares himself a novice (as using any webbased admin panel often indicates). That doesn't absolve him from getting required knowledge but not asking for the reasons why this is necessary and offering an uprotected glob is IMHO is not the right way to promote safe usage. using something like ACL might.
Since directories aren't searchable for a user without xecute bit, I wonder what sense it makes then?
Sorry about that. You're quite right of course. My impression was that the OP was only talking about files in the users' home directories and that sensitive areas that could affect the functioning of the system.
I meant remove the x in the command (use chmod ugoa+rw *) in the first instance if it was deemed inappropriate.
cheers,
jdk
A lot of questions after all are one-dimensional and require few words. But in some cases users may have read about just one "solution" and won't ask for other ways. Asking for clarification will not only help you help the OP (by being able to formulate a suitable answer) but also help the OP (and anyone reading the thread long after) see that GNU/Linux is versatile in more than one way. No need to apologise.
A lot of questions after all are one-dimensional and require few words. But in some cases users may have read about just one "solution" and won't ask for other ways. Asking for clarification will not only help you help the OP (by being able to formulate a suitable answer) but also help the OP (and anyone reading the thread long after) see that GNU/Linux is versatile in more than one way. No need to apologise.
Giving permissions to all users on all folders is a client requirement. How do I execute the command in Webmin?? Sorry but i did say i am a noob
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.