Comments on: How to Create a Shared Directory for All Users in Linux https://www.tecmint.com/create-a-shared-directory-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Fri, 14 Jul 2023 00:15:58 +0000 hourly 1 By: Pavithra M https://www.tecmint.com/create-a-shared-directory-in-linux/comment-page-1/#comment-1713723 Sat, 05 Feb 2022 04:16:25 +0000 http://www.tecmint.com/?p=24373#comment-1713723 How to access the created shared folder from another pc.

]]>
By: yaz84 https://www.tecmint.com/create-a-shared-directory-in-linux/comment-page-1/#comment-1354151 Tue, 18 Aug 2020 10:12:37 +0000 http://www.tecmint.com/?p=24373#comment-1354151 “The standard behavior for new files and sub-directories is to ALWAYS receive the creator’s GROUP” – RHCSA RHEL 8, A. Ghori, 1st edition. In the example of this tutorial, I do not understand why we enabled setgid for the directory SINCE all the system users created (aaronkilik, john, and ravi) belong to the same group (called “project“) as the group of the parent directory “reports” (sudo chgrp -R project /var/www/reports/).

I mean if the user aaronkilik or any other of the two users create a file or sub-directory in “reports“, since the aaronkilik belongs to the group called “project“, the file/sub-directory created receives the creator’s group like stated in the first phase, that is the group “project“.

Why is it needed to enabled setgid for the “project” directory? Maybe there is a reason but I do not see it now. I could see the reason to enable setgid in case the three system users created belonged to different groups (in this case chmod -R 2777 /var/www/reports/ would be needed too). Thank you.

]]>
By: Narayan https://www.tecmint.com/create-a-shared-directory-in-linux/comment-page-1/#comment-1244672 Sun, 15 Sep 2019 08:35:27 +0000 http://www.tecmint.com/?p=24373#comment-1244672 Hi,

Need help to set up multiple project-wise Shared Directory via GUI panel on Ubuntu on currently running the server?

]]>
By: José Luis Pérez https://www.tecmint.com/create-a-shared-directory-in-linux/comment-page-1/#comment-902514 Fri, 28 Jul 2017 19:23:02 +0000 http://www.tecmint.com/?p=24373#comment-902514 In reply to Aaron Kili.

In my case, i needed the shared folder were shared also with apache. I had to use “chmod -R 2775”. If I used “chmod -R 2770”, apache couldn’t access to the folders.

]]>
By: Aaron Kili https://www.tecmint.com/create-a-shared-directory-in-linux/comment-page-1/#comment-895231 Thu, 15 Jun 2017 06:37:22 +0000 http://www.tecmint.com/?p=24373#comment-895231 In reply to Evi1M4chine.

@Evi1

That’s correct, including the recursive option allows subdirectories to be get top directory permissions automatically. Many thanks for the heads up.

]]>