Creating a user without home folder ?

Hi
Can i create a new "User " programatically(iam using to do this) without having a home folder for that user ? Let me explain what iam doing basically.MY application tracks complex deals,financial transactions between corporate firms.Any valid user(called as Member) to this system can create what is known as a "DEAL" for which associated documents have to be managed among other things.For this i start off by creating a new user in the IFS with user name as the deal itself(DealCode which is the DEAL's code is the User name ).(this account will have a home folder and will be /home/<DealCode>).This account will hold all documents pertaining to that DEAL .Now can i create users(rather Members) who can access this account for Deal ?I do not want the Members to have a home folder but when they login their home folder should automatically be the Deal's home folder for which they are authorised.So what is the best way of doing this ?and is this the right approach ?
thanks
Sampige
null

I'm trying to understand your model.
I think I understand this much.
Each Deal is has it's own folder.
Members create Deals.
A Deal will be accessed by Many Members.
What I'm not sure about is can a member access many deals, but I would expect this to be the case.
My gut feeling is that you do not represent each deal as user with a home folder. When a new deal is created I would create a folder for that deal and a new group which will be used to control who has access to that folder.
The group will be used to control which members have access to the folder containing the deal. If a member has access to the deal they should be added to the group which has access permissions on the folder.
When a member has access to deal their home folder will contain a link to the folder that contains the information for the deal
When a member logs in they will see one folder for each deal that they have access to in their home folder.
Does this help

Similar Messages

  • Manually created folders in the Home folder won't be hidden to other computer users

    First, I noticed this in Mountain Lion, so it's not Mavericks to be considered the responsible.
    All Mac users (ok, except guests and limited) come with a home folder, which contains some default created subfolders that are not accessible by other users on the same Mac. That said, I created a couple of folders under my home folder, in order to store some personal data there: I believed that every newly created folder in there would automatically become unaccessible to other users as well as the default ones. Actually not: after a co-worker of mine logged in, navigating to my user's home folder, I spotted the prohibition sign at every system created folder, but not at the folders I manually created! In fact they were accessible, with full rights to read and write. I manually set their permissions and now I hope noone may see those folders content.
    Is it a common behaviour? I expected different.
    Thanks

    hi there,
    yes it is common, since any newly created folder has the default set of permissions, which in current OSX versions and most other unixoid systems is "755" or "rwx r-x r-x".
    If you want to change this to the more private setting ("700" or "rwx --- ---"),  as used by the subfolders within your home directory in OSX, you need to use the terminal command "chmod" or the Info-Panel within the Finder to alter the permissions manually.
    hope this helps,
    Chris

  • An error occurred while backing up the user's  home folder

    I have a user account that I'm trying to remove from a computer. I have updated to 10.5.2, and restarted a number of times and repaired permissions. There were 3 accounts on the machine I'm trying to remove, and the first 2 deleted just fine. However, this last one, the most important one, will not delete and save to a dmg file.
    The error message is "an error occurred while backing up the user's home folder" shortly after beginning the process.
    log file shows:
    /08 12:52:49 AM authexec[266] executing /System/Library/PrivateFrameworks/DiskImages.framework/Resources/diskimages-hel per
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] 2008-02-28 00:53:13.213 writeconfig[209:10b] DILDiskImageCreate: internal error - missing kDIHLCreateImageComponentsKey in return dictionary
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] 2008-02-28 00:53:13.230 writeconfig[209:10b] DIHLDiskImageCreate failed: 999 (options:{
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] "create-content-spec" = {
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] "iff-spec" = {
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] "any-owners" = 1;
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] "copy-uid" = 501;
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] "no-cross-dev-nodes" = 1;
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] scrub = 1;
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] "skip-unreadable" = 1;
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] url = file://localhost/Users/woneal/;
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] };
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] "nbi-spec" = {
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] filesystem = "HFS+";
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] layout = SPUD;
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] };
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] };
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] "create-target-spec" = {
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] "image-type" = UDIF;
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] overwrite = 1;
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] url = file://localhost/Users/Deleted%20Users/woneal.dmg;
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] };
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] "suppress-uiagent" = 1;
    2/28/08 12:53:13 AM [0x0-0xe00e].com.apple.systempreferences[197] })
    any ideas?

    This is the correct steps to solve this problem:
    1. Cancel the update (with the backing up error, of course)
    2. Do a manual backup
    3. Do a manual restore (your password to unlock your backup file is your AppleID password, not your IPhone keypad password)
    4. Now Update your phone. This time the backup should work.
    5. After it is updated, it will automatically restore, if you choose to restore not to set up a new phone.
    And yes, copy all your photos manually. Your backup probabally won't include photos.
    If this still doesn't work, try to stop your anti-virus software.

  • ICloud for pages app not working on network users having home folder on Mac Mini Lion server

    Does anyone know how to make iCloud for pages work on network users having home folder on server, having home folder on local Client iCloud for Pages works fine but when home folder is on Server iCloud for Pages app does not work. My Clients are Running Mountain Lion 10.8.2, my Server is a Mac Mini Lion Server.

    Hi Tim,
    No fix yet, my home folders reside on a thunderbolt external hard drive, I also tested having home folders on default server HD and no changes, I called Apple Support a while ago, they replicated the issue, it just does not work on network users, they did not say when will it be fix.
    The version of Pages I am using is from the Apple Store.
    Hector

  • Network Users - Can't login without home folder

    Hey everyone,
    Got a problem. We upgraded our lab from 10.6.8 to 10.9.3. Preserving our settings and bootcamp by simply upgrading. After getting nearly all machines sorted out with active directory we are still having a problem with 2-3 machines with network user accounts being able to login. If no local home folder has been created prior to upgrading to 10.9.3 then the user cannot login, the login prompt dissapears then re-appears. Any way to fix this?
    Here is a run down of the set-up.
    Our settings force network users to have a local home folder on the local mac that they are logging into.
    Mac OS X server is 10.6.8.
    Active directory server is 2012 R2.
    Network users without a pre-created home folder on the local mac prior to upgrade cannot login. The login prompt dissapears, then re-appears. No login.
    Computers are managed with workgroup manager, as well as apple remote desktop. But no settings are applied, and no login scripts are being run.
    Also I have noticed something concerning Mac OS X 10.8.5 and up. And that is in the active directory settings, if you bind to a domain (using active directory and not LDAP), lets say for example:
    mydistrict.maindistrict.net
    And you go to add your local active directory district to the Authentication/Contacts search policy eg: Active Directory/mydistrict.maindistrict.net
    it will only show: Active Directory/mydistrict/alldomains.maindistrict.net.
    It shows a list of all domains for the forest. But it also adds the district that you bound to as the search directory?
    Let me use a precise example using actual names.
    Bind to local district: pineville.ketsds.net
    Now in search policy on 10.8.5 up to 10.9.3 it displays possible search domains like this:
    Active Directory/PINEVILLE/pineville.ketsds.net <- The domain we want.
    Active Directory/PINEVILLE/all-other-domains-in-forest.ketsds.net <--Which is fine.
    Which is all fine, but when we select  the local domain for authentication, and contacts search it adds it, but in the overview it says that it is not in our search policy even though it is.
    On Mac OS X versions below this (10.6.8 and down, cannot verify for 10.7 as we do not have systems with it) it displays the search domains as:
    Active Directory/pineville.ketsds.net
    as compared to  this on 10.8.5 and above:
    Active Directory/PINEVILLE/pineville.ketsds.net
    as well as all the other domains, and when you add the local to the search policy it does not give the error that it is not in your search policy. Is there anyway to make this happen on 10.8.5 and above? We have tried everything. Network accounts will login even though it says this, it is just annoying.
    Last question is on one computer that we upgraded, we had a problem with the network accounts. Tried deleting the .plist for network preferences, and the Directory services folder as well as the Open directory folder and now it create the open directory folder as locked and any changes made with the directory utility in the search policy is immediatley reverted once we hit apply.
    Summary of questions:
    1.) Network users cannot login without local folder created prior to upgrade.
    2.) Mac OS X 10.8.5 and above does not correctly add Authentication/Contact search policy domains as it does in 10.6.8 and below.
    3.) Active Directory/Open Directory Authentication/Contact search policy settings keey reverting after applying. (Happened prior to deleting .plist files and AD/OD folders in /Library/Preferences)
    Thanks guys, sorry if thi post is so long! :/

    -BUMP
    Not sure what the bump policy is but my post is fadiing fast. Third page already.
    Kind of an urgent situation guys, any help or insight at all would be greatly appreciated!!

  • Install Boot Camp Partition without Home Folder

    Hello!
    I have a Early 2011 MacBook Pro and wish to install Windows 8.1 using Boot Camp. The problem is I have replaced my optical drive with another hard drive (to be specific I replaced my HDD with an SSD then the optical drive with the HDD). With my Mac model it isn't possible to install Windows with a USB (I have tried :/). My current plan is to put my optical drive back in (because you can't use an external optical drive) and install Windows to a partition of the SSD. The trouble is my Home folder is on the HDD, which I need to remove.
    What is the best thing to do? Can I boot up OSX and install Windows without my home folder? Should I temporarily move my home folder? Should I create a new temporary user? Or is there some hack that will actually work that doesn't require opening up my Mac again?
    Thanks in advance for any response, Phil.

    Webmaster4o wrote:
    Is there software that I can install or something special I can do to install windows in a way that it won't be able to access the files on the Mac side? I don't want the security risks of windows getting through to the Mac bit. So, is there something that can out up a barrier between the two?
    The choice to install Windows is an invitation to security risks. It does not mean OS X does not have its own security risks. All OSes do. Windows has more widespread malware, viruses, etc. Windows has read-only access via Apple HFS+ driver to OS X volumes (this is installed as part of Bootcamp Drivers package).
    You have two choices,
    1. Install FileVault2 - OS X: About FileVault 2 - Apple Support.
    2. Convert your HFS+ volumes to CoreStorage. See the help about diskutil cs convert. Please also see https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/ man8/diskutil.8.html
    diskutil cs convert
    Usage:  diskutil coreStorage convert
            MountPoint|DiskIdentifier|DeviceNode
            [-stdinpassphrase | -passphrase [passphrase]]
    Convert a regular JHFS+ partition into a CoreStorage logical volume.
    The file system must be mounted and resizable (i.e. Journaled HFS+).
    Ownership of the affected disk is required.
    Either method removes read-only access to OS X side.

  • Network user, network home folder, and the login keychain

    I've got everything set up in WGM. I can log the user onto a workstation, and the home folder maps to the appropriate network location.
    What I can't seem to do, is get a login keychain working. The keychain exists, in the proper folder on the network home folder. Keychain Assistant First Aid says everything is hunky dory. The problem is that the login keychain won't show up on the keychain list, nor can I add it. If I delete the file from the networked location and run first aid again, it says the login keychain doesn't exist and proceeds to create it, just like I'd expect. Only problem is, the keychain still doesn't show and I can't use it!
    So any time I try to save email passwords, Safari passwords, etc. it errors out. Going through the prompted reset dialogs doesn't seem to do anything. I'm not seeing any console messages pointing to errors, either.
    Anybody gon any ideas?

    Ok then, I got one for you. Similar sort of thing. Just created a 10.6 server, created all the relevant users within WGM, then imported the home folders from the previous 10.5 server. Ensured all new UIDs matched the UIDs from the 10.5 WGM because it then simplifies permissions - i.e. all the permissions are recognised by the new server automatically for the right users.
    Now for one of my users, her login keychain is never open by default. When you start Keychain Access (she's on 10.5.8 btw) you get the System keychain and the System Roots list of certificate authorities, but no login keychain.
    Have checked the permissions of her ~/Library/Keychains/ folder and they're correct, as are the permissions for ~/Library/Keychains/login.keychain.
    Double-clicking on the login.keychain file opens it up just fine in Keychain Access, however as soon as you close KA and re-open it, the login keychain's gone again.
    I've tried importing a keychain, adding an existing keychain (obviously the login one) and creating a new keychain called login, none of which work - there's no error, it just ignores me.
    I'd rather not create a temporary user account, transfer all the docsuments/mail etc, delete the original and recreate a new one using the old name and copy everything back, but unless someone can help me out, that's what I'm going to have to do.
    There has to be some guru's out there somewhere that can help???
    Thanks in advance,
    Matt

  • MacWord BASIC help, please!  Creating folders (finding the "home folder")

    I am new to Mac, but not to Word.  Where is the "home folder" and how do I create a folder to hold Word documents I've named and saved?  

    Hi there and welcome!
    Conceptually the 'Home' folder is where your stuff (music, pictures, movies, documents, preferences, etc) is kept in the computer. Since OS X on the Mac allows multiple user accounts each user has their own 'Home' folder. When reading documentation shorhand for the Home folder may be expressed by the ~ (tilde) symbol.
    To get to the Home Folder From the Finder or when saving a file, look the left of the Finder window (or the Save As window) for a picture of a house. This is the home folder. Clicking on it will take you to the home folder.
    In the screenshot here my Home folder is named chas (my username on the computer)
    Inside the home folder are logical locations for your stuff. You will see Documents, Music, Pictures, Downloads, and Desktop). These are all great places to save your stuff in. I wold recommend saving your Word files into the Documents folder.
    You can also create your own folders on the computer. When saving a file you will always see a New Folder button in the lower left hand of the save dialog box:
    Clicking this button will allow your to create a new custom folder to help you stay organized.
    Enjoy!

  • Can I use "~" in Automator instead of user's home folder?

    I want to create an Automator action that I send to someone that can put a file in their iTunes Folder. If I create it on my computer however, Automator uses the actual file path to MY iTunes Library.
    Is there a way to use the "~/Music/iTunes/" to have Automator use a relative link to THEIR home folder?
    Can't figure this one out. Thanks

    Use ~username/Music/iTunes
    Be aware that you will have to change the permissions on ~username's Music and iTunes folders to allow you read and write access. All users be default have read only access to other users' iTunes folder and no access at all to the Music folder.

  • Users Losing Home Folder connection?

    I bought a new server (Mac Pro Intel with three hard drives) and have spent the last two months moving user accounts from the old ldap to the new, This has been a pain in the butt butt it needed to be done.
    So for a while there I had two ldap entries in Directory Access for users. I finished the move of all users to the new ldap last week and turneded off the old one. I am in the process of putting out a new image which only has the one ldap entry.
    We are running network accounts. Server is a MAcPro running 10.4.11 End user cpus are iMacs or eMacs all running 10.4.11
    Issues:
    Many times a person logs in and are treated like a new user. It wants to set up their email, no bookmarks, etc. Only a restart fixes.
    MAny times a person will be working and troubles like email says it can't be shown because it hasn't been downloaded from the server and to connect to the network, user will be unable to save and the documents folder will get a transparent ? over it happen. All of these things happen during th same session. Only a restart fixes.
    I ran the a permission fix program on the docs because the names of the home folders have changed.
    I am frustrated beyond belief..... Suggestions?

    How exactly did you make the move from one server to another?
    I ask because it sounds like you created new users on the new server and moved their folders over. If this is the case, you should expect some issues to crop up. You'll need to assign the permissions to each and every user directory on the new server...or am I missing something?
    Jeff

  • Need help with roaming user profiles, home folder on server - symptoms after Windows reinstall on workstation

    Hello. I have deployed roaming user profiles in our home office. We are using Windows Server 2012 on our datacenter computer, which has a partition with all our home directories. All was working beautifully for quite some time.
    I re-installed Windows 8.1 Pro on my laptop. I am able to log in to my profile from the new installation.
    The problem that has started happening seems to be some sort of permission problem with my home directory, but I am not sure how to go about diagnosing it. I haven't changed anything in the policies or remote profiles.
    The symptoms:
    When I try to run an installation program from my documents/downloads/desktop (remote) folders, UAC asks for the administrative credentials as expected, and then I am asked to enter my user credentials. If I do so, I sometimes get a message about duplicate
    connections to a share, and the installation program does not execute. "Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or
    shared resource and try again." I am confused, because I am entering credentials for the same user name as the one I am logged in with.
    To work around, I have to copy the executable to a folder on my workstation hard drive and run it from there.
    Another symptom is when I download anything from the internet, chrome will reflect a "Failed - Download error" message with the download. If I re-attempt the same download several times, eventually it will succeed. This appears to be due to my
    downloads folder being on the remote computer.
    I am looking for any guidance on how to remedy these symptoms. I suspect there must be a setting I have forgotten to change in the local computer, because nothing has changed on the server since it was operating properly.
    Thank you for your time.

    Hi Exintrovert,
    Thanks for posting here.
    According to your discription above, you can check the microsoft artical as below:
    https://support.microsoft.com/en-us/kb/938120/
    Would you please have a try the work around in the artical and then let us know the update?
    Looking forward to your feedback.
    Best Regards,
    Elaine 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • HELP! Creating symbolic link to home folder for installer DMG

    Guys,
    I'm in a bit of a bind. I need to create a symbolic link for an installer DMG to distribute a communal Bookmarks.plist to all the computers in my department. Unfortunately 'ln -s ~/Library/Safari /Volumes/Bookmarks/.' doesn't do the trick! While it creates an alias that functions on my machine, when that DMG is compiled and distributed from the original sparse image, the alias fails to link to that location on whoever attempts to mount the DMG. Any ideas?? Thanks!

    Symbolic links break when you change the machine on which they were created. Use an standard Mac alias instead as I believe they will work as expected.

  • Problem with App store! I want to create a user without credit card.

    Hi
    So i was going to download a free app for my iPhone 5 with iOS 8, and i already have an apple id from iTunes on my pc so i just wrote that in. After that it said that i have'nt used that Apple id in App store before, which was true. So i clicked look through infromation and wrote in the info i needed to. But then i came too a page that said i needed to put in Credit card info, and i dont have a credit card! What do i do? I dont want too make a new Apple ID, since i have my main e-mail connected to it.
    Please help! Anything answer would be much appreciated!
    (Sorry for my poor English)

    Welcome to Apple Communities
    http://support.apple.com/kb/HT2534?viewlocale=en_US&locale=en_US

  • All Adobe Creative Cloud apps fail to work, creating new user Home folder fixed it.

    We have Adobe Creative Cloud device licenses.    I had a user contact me yesterday with these problems.
    Adobe Photoshop CC 2014 - error opening, "could not complete your request because the file is locked do not have necessary access permissions or another program is using the file photoshop"
    Adobe Illustrator CC 2014 - error opening, "the operation cannot complete because of an unknown error [cant]"
    Adobe InDesign CC 2014 - would crash when opening, no error given
    These same apps worked when logged in as a different user.
    None of these worked:
    I tried removing all kinds of user Adobe preferences, Application Support files, etc.
    Deleted ~/.adobe
    I fixed permissions on the user's home folder.
    Renamed user's Home/Library to LibraryBak.
    Uninstalling and reinstalling CC.
    What finally worked was creating a new user and copying the contents of the broken user home directory over, except for Home/* level hidden files. (eg: .adobe, bash_history)   Basically I just copied over the visible folders and used the Terminal to copy of the hidden ~/Library folder.
    Does anyone have any idea what the exact cause was?  What file/folder could've been deleted to fix this instead of the longer route I took?

    This wasn't answered and I see that it's still not resolved.

  • Home folder in dock for all users (via template)

    Hi,
    I'm setting up a Mac lab which is bound to AD. I've got the default preferences working via the English.lproj template, but I can't figure out how to modify this so that whomever logs in, their Home folder icon will appear in the dock.
    Obviously if I drage the home folder icon into the dock on the dummy account I setup to create the master template for English.lproj, the next user that logs in will have the dummy user's home folder in their dock instead of their one.
    Any help would be appreciated.
    Thanks

    I'm not sure I know what you mean. Because these Macs are joined to AD, there are 1300 potential people who could log into them. I therefore need to set this up in the template before they ever login for the first time.
    Thanks for your response.

Maybe you are looking for