Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • Last Modified:

file permission in a shared folder

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
mmccy
Asked:
mmccy
  • 2
1 Solution
 
Martin TarlinkNetwork Systems AdministratorCommented:
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
 
mmccyAuthor Commented:
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
 
Martin TarlinkNetwork Systems AdministratorCommented:
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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now