Solved

file permission in a shared folder

Posted on 2014-04-08
3
205 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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é.
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

679 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