Solved

file permission in a shared folder

Posted on 2014-04-08
3
202 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: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

772 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