file permission in a shared folder

Posted on 2014-04-08
Medium Priority
Last Modified: 2014-08-13
I have a shared folder in Samba. Everyone access the folder by mapping a drive in Windows and can put their files or folders there for sharing. However when one user create a folder or a file, it does not allow others to edit or can put other files into that folder. How can I set the permission to be autormatically granted for all others whenver one user create a file or a folder ???
Question by:mmccy
  • 2

Expert Comment

by:Martin Tarlink
ID: 39986212
Try set group write permissions for parent folder for example
770 -rwxrwx---

Here is nice CHMOD generator  http://www.meine-erste-homepage.com/chmod-generator.php

Author Comment

ID: 39987651
I would like to make every user can create a file or a folder which is automatically with the right to write by the others in that speicific shared folder.

Accepted Solution

Martin Tarlink earned 1000 total points
ID: 39987724
Create group "USERS"
Create folder "ShareFolder"
#chmod :users 775 ShareFolder

Put new created user "RAMBO" in to USERS group, and now if user RAMBO will  create folder in the SfareFolder-> RamboHome , will have acces to that folder

Also because you USERS have right for paret folder ShareFolder will have access to Rambo Files.

Everything depend what Samba you are use,
I remember I did set up FreeNAS and had to tweak folders chmod right from terminal because web interface was not that perfect, but this is a linux word :)

You can also use Synology drive that is pretty OK with users and rights.

Featured Post

Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this article, we’ll look at how to deploy ProxySQL.
A new hacking trick has emerged leveraging your own helpdesk or support ticketing tools as an easy way to distribute malware.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question