Solved

file permission in a shared folder

Posted on 2014-04-08
3
203 Views
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 ???
0
Comment
Question by:mmccy
  • 2
3 Comments
 
LVL 5

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
0
 

Author Comment

by:mmccy
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.
0
 
LVL 5

Accepted Solution

by:
Martin Tarlink earned 500 total points
ID: 39987724
Create group "USERS"
Create folder "ShareFolder"
do
#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.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Read about achieving the basic levels of HRIS security in the workplace.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

860 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