Setting up permissions on the file server

I am attempting to set up a file server with the OS X Server that came with my mac mini.
I need to be able to set up permissions for 4 different users to be able to read and write, however with no permission to delete.
I went to the MacMini section (on the left hand corner of the server app), then storage, and from there set up custom permissions
I added the four users as a group.
When I added the group to have access to the needed file, I clicked on the drop downs.
I allowed all permissions for inheritance and reading. I selected all permissions for writting except for "delete" and "Delete subfolders and files"
This give me a "-" sign next to write versus the check symbol (like it was shown for Read and Inheritance)
After I set this up... I went to one of the users to test it out, it would not allow me to drop a file on the server or delete anything.
How do I get this to work the way I want it!?!

You can not do this with a single ACE.  Or at least I've never been able to.  This shoud resolve.
Please make sure you test this however.  Remember that trying to overwrite is a delete and then a write.  So if you deny delete, then you can not replace a file or folder with one of the same name.  Also, renaming a file is also a delete.  You will not be able to rename.  Make sure you test this before putting into production to ensure you are getting the behavior you want.
You have a share point named Archive.  You have a group called Archive_Users.  The Archive_Users are allowed to read and write but NOT delete data in the Archive.  Do do this, follow these steps:
1:  Create a group called Archive_Users and place your users into the group.
2:  Define your share point in File Sharing.
3:  Edit to share point to add the group.  Press the + button and start typing the group name.  When it appears, set the permission to Read Write.  You permission window should have 4 entries at this point.  The everyone, the group (likely staff), and the owner (likely the server admin).  Then the one you added.  The bottom three are POSIX, the final one is an ACE.
4:  Now, you need to get your hands dirty and create a custom ACE.  Server.app does not allow you to use the Deny rules so break out Terminal.
5:  I will assume the Archive folder is in this path /Shares/Archive.  First get a list of the folder's ACL using:
ls -le /Shares/Archive
It should like like the following:
drwxr-xr-x+ 2 carbon  wheel   68 Feb 18 22:27 Archive
0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit
1: group:archive_users allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextat tr,writeextattr,readsecurity,file_inherit,directory_inherit
6:  Now you must add your deny rule.  Use the following command:
chmod +a# 2 "group:archive_users deny delete,file_inherit,directory_inherit" /Shares/Archive
The syntax here is to add (+a) an ACE at index 2 (# 2), an ACE for the group archive_users that states the group can no delete any file or folder and this is inherited all the way down.
7:  If you have content in the folder already, be sure to propagate the permissions.
8:  Test, test, test.
Remember, the deny rules can have some odd effects.  As mentioned, I can think of the renaming and the overwrite as possible deterrents.
A possible alternative is to not give everyone read write access to the Archive. It might be more sane to define two groups.  The first groups, Archive_admins, is a subset of users who are entrusted with moving data to archived status.  The second group, Archive_users, is the rest of the team and they have read only access, allowing them to pull data but not edit the archive.  This allows you to use two simple ACEs in Server.app:  Archive_admin = read/write and Archive_users = read.
R-
Apple Consultants Network
Apple Professional Services
Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

Similar Messages

  • Can anyone help me?Creating the shadow copies in the file server cluster ,there are some errors occured, OS version is WSS 2012

    I construct a failover cluster(file server,AP module) for sharing files by WSS 2012,and I want to use the shadow copies to backup my data,but when making  a shadow copies on the volume which  is added to the cluster(not the CSV,just add
    it to the cluster and use it to share files,it plays the role of file server),there are some errors occured, these errors result in the shadow copies failed,error likes the following pictures:
    1: the disk F is added to the cluster,first I make the shadow copies by click the right key of mouse on the disk F,and chouse the configeration shadow copies,and click the settings, then click the schedule , and I wait just a few seconds, the error is appeared,like
    this picture 1, the wait operation timed out,and then ,
    I click the schedule button once again,a different error occured,like the following picture," the object already exists",if i don't set the schedule at first ,use the default shedule,and click the enable button also the same  error must 
    accure
    but the only diffrence is that, a shadow copy time point is created, also ,you can make the shadow copies by click " create now", that is creating the shadow copies manually. Although it can succesfully make the shadow copies, but when I select
    a time point to revert, error  occured, "A volume that contains operating system files or resides on a cluster shared disk cannot be reverted" 
    In a word,all the errors above make the shadow copies by schedulling failed,except making the shadow copies manually,but what makes me confused is that I have ever maked the shadow copies succesfully by schedul a policy,I don't know what makes it succesful,
    it's small probability, most of time ,it's failed.No matter what kind of situation, revert must be failed.
    I'm sorry for my pool english , it's the first time for me getting help in forum by english ,I don't know if I descripe my question clearly, also ,other method like the link
    http://technet.microsoft.com/en-us/library/cc784118(v=ws.10).aspx I have tried,but the same errors occured.Can anyone tell me How can I make the shadow copies in File Server
    cluster(AP module)?And I make a mistake in operating? Looking forward for your reply.Thanks!

    Hi,
    Please check the following 2 places:
    HKEY_LOCAL_MACHINE\Cluster\Tasks
    C:\Windows\System32\Tasks
    First please compare permission settings of the folder C:\Windows\System32\Tasks with a working computer. Correct permission settings if anything wrong. Specifically, confirm you current account do have permission on this folder.
    As it said "object already exists", find the schedules you created before, backup and delete all these schedules in both registry key and folder.
    Then test to create a new schedule to see if issue still exists.
    Meanwhile what kind of storage device you are using? The issue could occur on specific storage device, so test to enable shadow copy on a local disk to see if that will work.
    TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected]
    Thank you for you reply.On the local volume,all of these errors will not occur, but the volume in the file server cluser.There is no value in HKEY_LOCAL_MACHINE\Cluster\Tasks. On local volume, everything goes well about the shadow copy, so I do not
    think something is wrong about the permission settings of the folder C:\Windows\System32\Tasks.Storage device  is a SAN,we use RAID6 and provide the LUNs to the NAS engine, and the make the volume on these LUNs, Is Angthing wrong? Hope for you
    reply~~

  • When setting up permissions for application files--URGENT

    Hello All,
    when setting up permissions for application files,
    Is this following permisson appropriate?
    If application files are owned by a single owner,
    that owner should be the oracle user.
    DN

    Here is my question again.
    when setting up permission for application file, which permission is
    appropriate?
    a) If application files are owned by a sigle owner,that owner should be oracle
    user.
    b) Application files should be owned by oracle user
    c) Application files should be owned by single user.

  • DPM 2012 R2 UR4 - DPM could not set security permissions on the replica or recovery point volume that was created.

    Hi All,
    I am running a fresh install of SCDPM 2012 R2 with a protection group that is backing up the 'C:\', Bare Metal and System State of some VMs. If i add any additional servers to the group since the first creation it returns the following error: 
    Modify protection group: System State & Bare Metal Recovery failed:
    Error 419: DPM could not set security permissions on the replica or recovery point volume that was created.
    Error details: The process cannot access the file because it is being used by another process
    Recommended action: Review the error details, take appropriate action and retry the operation.
    If i re-create the whole protection group it works fine.
    Could any one advise any further diagnostics I can do to try and locate the reason behind not being able to modify the group after the first creation? I can add new servers to other PGs without any issues.
    Thanks in advance,
    Dan

    If you are protecting any of the system state/BMR protection. Can you stop protection by deleting the older recovery points and then recreate the protection group.
    This thread mentions this to be a hardware issue, albeit with less information on what exact hardware issue:
    https://social.technet.microsoft.com/Forums/en-US/480679c2-1079-4847-ab38-5cc8f454ef86/error-419-dpm-could-not-set-security-permissions-on-the-replica-or-recovery-point-volume-that-was?forum=dataprotectionmanager
    Regards, Trinadh [MSFT] This posting is provided AS IS with no warranties, and confers no rights. If you found the reply helpful, please MARK IT AS ANSWER. Looking for source of information for DPM? http://blogs.technet.com/b/dpm/ http://technet.microsoft.com/en-in/library/hh758173.aspx

  • Setting up g4 as internal file server

    I work for a small company who happens to have a nearly full file server. I have been assigned the task to set up a Dual 867 PowerPC G4 as our main internal file server. The server would serve only internally, providing a place to store our files where anyone in the building can access the file server.
    One slight problem: I haven't really got a clue how to do this.
    We want the server to contain two (2) 750 GB drives... one mirroring the other automatically.
    I contacted Seagate to find out what the biggest hard drive they have for this particular machine and they said 120 GB. They said the bios on a G4 will not allow a 750GB drive. They told me to go to a company called www.attotech.com and get a controller card/host adapter that will provide 48-bit addressing... they said this would bypass the system bios and allow the machine to house larger drives (possibly up to 750 GB).
    Anyway... if anyone could give me some direction on this project, it would help out immensely. I just need some instruction on how to set this machine up... what i need to do... what hardware i need, etc. From the ground up, basically.
    Please help!!!
    Thanks a million!
    Machine specs:
    -OSx 10.4.8
    -Dual 1.2 GHz PowerPC G4
    -1 MB L3 cache per processor
    -768 MB DDR SDRAM

    Maooley,
    I am surprised you did not get a response from this post.
    I am not sure of the 120GB limit on that G4. I know an earlier version was limited to 80GB, so your info might be accurate. In any event going with a SATA card will definitely improve performance. While you are shopping I would also suggest replacing the internal HD. Drives fail. If this is the original drive then replace it before deploying your new server.
    Once you get all the hardware in place you can mirror the internal drives with Disk Utility (check out the RAID tab).
    You might also consider OS X Server. It's the same core OS but adds a set of services and the tools to managed the server. The 10 client version is $499. The 10 client limits concurrent AFP connections, but all other services are unlimited (SMB, FTP, web, etc)
    Often new admins set up a server and give one login to everyone, sometimes with no password. I strongly recommend each user have their own login name and password. This way you can keep track of who is connected, who is creating file, and you can give dedicated server space to each user.
    Have you considered backup? I sure hope so. Now that you have the company goods in one place you have the opportunity loose it all in one quick trash session. You also have the opportunity to pack it up and take it offsite site so you can recover from operator error, sabotage, flood, fire etc.

  • Server 2012 R2 SMB - The process cannot access the file '\\server\share\test.txt' because it is being used by another process.

    Hi,
    We are having issues with Server 2012 R2 SMB shares.
    We try to write some changes to a file, but we first create a temporary backup in case the write fails. After the backup is created we write the changes to the file and then we get an error:
    The process cannot access the file '\\server\share\test.txt' because it is being used by another process.
    It looks like the backup process keeps the original file in use.
    The problem doesn't always occur the first time, but almost everytime after 2 or 3 changes. I have provided some code below to reproduce the problem, you can run this in a loop to reproduce.
    The problem is that once the error arises, the file remains 'in use' for a while, so you cannot retry but have to wait at least several minutes. 
    I've already used Process Explorer to analyze, but there are no open file handles. 
    To reproduce the problem: create two Server 2012 R2 machines and run the below code from one server accessing an SMB share on the other server.
    Below is the code I use for testing, if you reproduce the scenario, I'm sure you get the same error.
    We are not looking for an alternative way to solve this, but wonder if this is a bug that needs to be reported?
    Anybody seen this behavior before or know what's causing it?
    The code:
    string file =
    @"\\server\share\test.txt";
    if (File.Exists(file))
    File.Copy(file, file +
    ".bak", true);
    File.WriteAllText(file,
    "Testje",
    Encoding.UTF8);
    The error:
     System.IO.IOException: The process cannot access the file '\\server\share\test.txt' because it is being used by another process.

    Hi,
    There is someone else having the same issue with yours. You could try code in the article below:
    “The process cannot access the file because it is being used by another process”
    http://blogs.msdn.com/b/shawncao/archive/2010/06/04/the-process-cannot-access-the-file-because-it-is-being-used-by-another-process.aspx
    If you wonder the root cause of the issue, the .NET Framework Class Libraries forum can help.
    Best Regards,
    Mandy 
    If you have any feedback on our support, please click
    here .
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Configuring the file server in KM and access,edit the documents from it

    Hi friends,
      My requirement is to configure the file server where u will have all the structured and unstructured data stored here. So users can share the documents and create, edit ,save the documents from the file server itself.
    In KM what kind of file servers are there apart from the one it supports by default.
    Can anybody pls provide the configuration steps regarding how to configure the file server i KM.
    To configure the file server is webDAV protocol required?
    Points would be assigned for the helpful answer.
    Thanks in advance.
    Regards
    Sireesha.

    Dear Sireesha,
    Well KM supports mostly all the File server however we have some restrictions with Novell FS and Sharepoint Server from Microsoft. Like versions and other meta data have some issues.
    Alsothough to configure a File Server you need to first create a FS repository Manager. Details can be found in the help guide:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/92322ab24e11d5993800508b6b8b11/frameset.htm">FS Repository Manager</a>
    Yes WebDAV protocol is required here.
    You can create WebDav RM as well.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/4a/217fb6c33c6748a1715a161ac942cd/frameset.htm">WEBDAV</a>
    The above links will help answer your queries.
    Regards
    Anjali

  • Hi recently my MacBook pro has stopped connecting to our office Synology server automatically.  I now have to Go Connect to Server etc in order to browse the file server. Clearing key chain and then readding everything hasnt made any difference. HELP

    Hi recently my MacBook pro has stopped connecting to our office Synology server automatically.  I now have to Go > Connect to Server > etc in order to browse the file server. Clearing key chain and then readding everything hasnt made any difference. HELP

    Not sure what other tests they could run for me. I've pretty much run all the tests I can using Drive Genius and Tech Tool Pro 5. Is there anything they use that I don't know about??

  • How to save query result on the file server as excel file?

    Hi everyone,
    I need to save the the query result on the file server as excel file.
    Do you have any idees how can I do it?
    Regards
    Erwin

    i dont think you can save as excel file but you can save it as CSV use APD or RSCRM BAPI for this

  • The file server connection has unexpectedly closed down

    I am connected to a small network. I had been connecting fine for quite some time but as of yesterday I keep getting this message after 10-15 minutes of logging into the network server:
    "The file server xxxxxx has unexpectedly closed down."
    And where I have placed the x's is the name of our network sever.
    What are some reasons why this keeps happening and what are some solutions?

    Affected computers are ones prior to G5 series after Mac OS X Server 10.4.9 Update or Mac OS X 10.4.9 Update was completed. Workarounds I translated from the Apple Japan site is at your own risk when you perform them. You need to restart the computer after the procedure.
    CASE 1:
    When accessing from Mac OS 9.x to Mac OS X Server and you copies a file to the server, the link is down.
    Step 1. Disable AFP service and other services.
    Step 2. Download "MacOSXSrvrCombo10.4.8PPC.dmg" from Apple Web site and mount it.... This includes the original step 2) and 3)
    Step 3. Display the contents of "MacOSXSrvrCombo10.4.8PPC.mpkg" within "Mac OS X Server 10.4.8 Combined Update"
    Step 4. Expands "MacOSXSvrCmbBase10.4.8PPC.pkg/Contents/Archive.pax.gz"
    Step 5. Replaces "Archive/System/Library/CoreServices/AppleFileServer.app"
    with "/System/Library/CoreServices/AppleFileServer.app"
    CASE 2:
    When accessing from Mac OS 9.x to Mac OS X and you copies a file to the server, the link is down.
    Step 1. Disables File Sharing service.
    Step 2. Download "MacOSXUpdCombo10.4.8PPC.dmg" from Apple Web site and mount it.... This includes the original step 2) and 3)
    Step 3. Display the contents of "MacOSXUpdCombo10.4.8PPC.pkg" within "Mac OS X 10.4.8 Combined Update "
    Step 4. Expands "MacOSXUpdCombo10.4.8PPC.pkg/Contents/Archive.pax.gz"
    Step 5. Replaces "Archive/System/Library/CoreServices/AppleFileServer.app"
    with "/System/Library/CoreServices/AppleFileServer.app"
    Another person solved by deleting AFP related passwords or AppleShare password via launched Keychain Access utility.
    Best wishes!

  • Connection failed the file server is running on your machine

    Hello,
    I was wondering if anyone could potentially help me figure out an issue I have been encountering when connection to server via VPN Connection.
    I can successfully connect to a VPN connection, however, when I try and connect to my server I am receiveing a prompt that "connection failed the file server is running on your machine"
    Does anyone know what this means or has suggestions?
    Thanks,
    Alex

    Check you network settings and the computer name in sharing preferences.
    If you still have problems read a few of the hits at this Google search:
    https://encrypted.google.com/search?q=%22connection+failed+the+file+server+is+ru nning+on+your+machine%22&as_qdr=all&newwindow=1&num=100&filter=0

  • Setting Up the File Server Dynamically

    I have a scenario wherin i have to set up the FTP server name  and directory where i have to put the final file dymically.
    I was able to set the directory path dynamically using Adapter Specific Message properties.
    Can somebody suggest me if i can set the server name also by module processor (have not written one till now)or some other way. The steps to follow etc
    Waiting for your useful answers.

    Hi Siva,
    Setting up a Server name Dynamically -I don't think so it is possible with this point of time.
    So try to do in Java Proxy if required.
    Receiver File Adapter - Dynamic FTP Server Address
    Hope this helps,
    Regards,
    Moorthy

  • When a win7 users accesses a file on the server the permissions on the file revert to read only.

    Hi there,
    Originally my enviroment was 100% Mac, but now we have merged with another company who are all PC users.
    The issue I'm having is when a Windows 7 client accesses a file on the Snow Leopard server the file becomes Read Only, and I have to manually propergate the permissions to fix it. This isn't an issue with XP users.
    So far this is only happening with Excel files.
    Is anyone else experiencing this issue?  Any help would be greatly appreciated.
    Cheers,
    J

    I'm having a similar issue as well.  Excel 2007 appears to be the culprit, but hard for me to say.  Running 10.6.8 here as well.

  • File sharing in the File server preference pane

    System preferences to File Server to File sharing. When I choose a share point folder and want to change permissions, I click the radio button to restrict access to certain users and save. When I re-enter the the folder it defaults back to let everybody have access. If I try to delete the folder it won't delete. When I create a new folder by re-choosing the folder, I get <folder Name>1 and then I cannot delete it. Is there a plist in preferences I can delete to clear this problem?

    Hello Peter,
    Thanks for your answer.
    There must be something wrong in the different steps I follow.
    Firts I set Time machine on the server for each user, shoosing the Volume "SmartStor" (a network volume attached on the Mac Mini server) it creates a "Shared items" folder with a "Backups" folder in.
    In Server Admin tools I can see in the AFP services the share point /Backups
    In Workgroup Manager I set the Time Machine's preferences for the different computers and computers' group with the path afp://myserver.local/Backups/
    At least on my client's computer I can shoose the volume "Backups" "on my server".
    And it doesn't work... even with all the logins and password, User's, Dir Admin and Server Admin.
    With User's and Dir Admin it runs quickly and tells "the volume is not reachable on account of wrong user's name or password"
    With Server Admin login and password it runs indefinitly, nothing occurs ...
    Is there something to do in terminal ?
    Well I tried to find explanations on the web but I found nothing for the moment... The informations are to set a network volume in Terminal in place of the default one...
    'Hope to find soon, I can't stand that something runs for every one but not with me...

  • Set default permissions for new files?

    We have a small LAN where different users often need to open and resave each others' files. No server, just a bunch of client computers on ethernet sharing an internet router.
    Each time a user creates a file, that file's permissions default to read only for anyone but that user. How can I set up the default permissions so that any newly-created files default to Read & Write for "groups" and "others".
    I anticipate I will have to make this change for each user on each workstation.
    Any help would be greatly appreciated.
    Thanks

    If you want users to share files then have them place the file in the /Users/Shared/ folder. Files placed in that folder can be accessed by any user.
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

Maybe you are looking for

  • Importing packages

    I have a question regarding import statement in java language. When I use import java.util.*; and use only say Date class in that package in my class, does java compiler import all the classes that belong to util package or only the class that I am u

  • How can I increase line width on polar plot?

    The lines plotted on a LabVIEW 6 polar plot (picture control) are very thin and do not show up well when printed. I would like to increase the line thickness (as can be done easily on the graph controls), but looking through the polar plot VIs, I can

  • 'Parent' DB Table references 'child' table twice

    I'm having fun learning a million new things at once, and I ran into a bit of a wall. I have made the following work using secondary backing beans, but I'm wondering if there isn't a nice simple connection of some sort that would let me avoid the ext

  • Crystal displays line on edge

    I have a dinamic image in a Crystal Report page header. Everything looks fine on my development machine, but on user's machine the image displays a black line around the image. Kind of like a border, but the line is only about a third of the width of

  • Link a text with another sheet

    Hello!!  Is there a opportunity in Diadem to make a link in one Report sheet on a textbox? The link should go to another sheet and show me the content of it.  Best regards,  Mosquito