FTP Home Folder/Directory

Is there any way to lock a user to a directory without seing the filepath.
As the customer logs on today he sees his folder and has to enter that folder to store data.
I would like upon login that he is adressed into that folder.

What is your webserver?
In Apache you can configure the Virtual Host: http://httpd.apache.org/docs/1.3/vhosts/
Regards.

Similar Messages

  • On 10.4.11 Mac Mail I get this: Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unnedded documents or move documents to another volume. I can't open mail.

    On 10.4.11 iMac Mac Mail I get this message: "Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unneeded documents or move documents to another volume." I can't open mail to do this. I have reinstalled software but no effect. How do I get into Mail to delete?

    Found this on the "more like this" Worked like a charm!
    With the Mail.app quit and using the Finder, go to Home > Library > Mail. Copy the Mail folder and place the copy on the Desktop for backup purposes.
    Go to Home > Library > Mail > Envelope Index. Move the Envelope Index file to the Desktop.
    Launch Mail and you will be prompted to import mailboxes. Select OK and allow the import process to complete.
    After confirming all mailboxes were successfully imported and available, you can delete the copy of the Mail folder and old Envelope Index file from the Desktop and this should resolve the problem.

  • Mobile Account and Active Directory home folder

    We install a XServe server (Mac OS X 10.6.3). We join it to Active Directory for authentification and Open Directory for policy. I read the magic triangle on the web.
    I mount a MacBook Pro with Mac OS X 10.6. I join it to AD and after to OD. When I configure an account to be mobile, the home folder configure in AD stop to mount automatically. If the account is not mobile the home folder mount correctly.
    Somebody has an idea of waht happen?

    Hello, sifeduc, and welcome to the AppleBoards,
    This really seems like a Directory Services question and is probably best suited to this board: http://discussions.apple.com/forum.jspa?forumID=1353
    That being said are you talking about Portable Home Directories? If so PHDs should be created on the server first and on the client second. If you have a client account you want to sync to the OD you need to delete the client account - *but leave it in place* - create a server account and then use the local account which will then sync to the server. The steps for this are a little more complicated than that but not much.
    Good Luck,
    =Tod

  • Directory in home folder with 1367321 files?

    Hi!
    I have a random named (DZVhveYJ_Y) directory in my home folder (~) with 1.3 million files in it, also random named, all of them six characters. Directory size is only 480 MB. What can this directory be? Should I delete it?
    Last edited by Bailando (2014-01-29 17:09:17)

    jasonwryan wrote:What is in the files?
    ...and for your information, before you try to open them, you can find out what type they are by using the command "file <filename>". I hate it when I accidentally try to open a binary file in a text editor.

  • Autherntication using Open Directory and NO home folder

    We are looking to set up an Open Directory on a Snow Leopard server in our medium sized company - we would like to use it for Single Sign On authentication but do not want to create home folders on the server. All we want OD to do is authenticate
    We have been able to authenticate using OD bound and unbound but both need home folders. Is there a way to have no home holder and still authenticate?
    thanks

    What I did was in WGM select a user account. Then select the Home tab. Click the + button to add a home folder. In the sheet that drops down, in the bottom box put /Users/username. Leave the other boxes blank. This will create a home folder locally on whatever machine the user logs into.

  • Home Folder Creation w/Active Directory

    If this has been asked a million times, just point me to the url for the answer...
    I have done the leg work and have the "magic triangle" working - I can login and auth to AD and get my preferences from OD. I want our user's home folders to reside on our Windows server. I have shared out \\server\students on the Windows server and in AD I am pointing their home folder to our Windows server, but I can't get the permissions right. When I point a new user's home folder in AD to our Windows server, it creates the folder \\server\students\jtest.
    When the user logs in, none of the subfolders are created. Can someone give me some pointers on how permissions need to be set so the subfolders are created on first login?
    This is all pretty new and I'm happy that I got the triangle to work - if I can get this all important piece, I'll be set.
    Thx in advance!

    Hi
    A lot of this depends on how many OUs you have; how deep they go; and how many directories you have nested in each OU or the particular OU the directory for home folder creation is within. The accepted 'recommendation' is not more than 3 deep - generally. Having said that I have made it work with OUs 7-10 deep. Gets trickier after that.
    In my experience the non-creation of expected directories is generally down to permissions not being assigned properly - as you've guessed. Essentially users must be given read/write access all the way down the nested directories. I have seen permissions assigned correctly to a parent folder, with a set of different permissions applied to the next folder down and the next one along again with the correct permissions applied. Folder creation fails when permissions are set in this way.
    What is interesting is the log-in does not fail though you are greeted with the usual "the home folder exists on an SMB or AFP Server etc" dialog box when getting to the desktop. You sometimes get this at the log-in window as well. Although you can also see the message for other reasons - usually down to poor DNS configuration.
    You should be able to log in as the local admin and look at the system.log in Console. You should see an error starting with 'NSurl etc etc. . . ' listed. If you do that's an indication it's a permissions problem.
    Beyond this and without being there it's difficult to tell?
    Hope this helps, Tony

  • Custom home folder for BC FTP accounts?

    Does anyone know if you can customize the home folder for FTP account/login to BC like you can with other hosting providers? I know you can manage access with account roles, but I don't think it goes as specific as what folder on the server can be accessed by a specific account. Right now all FTP accounts login straight to the root folder.

    Hi Steve,
    Unfortunately you cannot control or customize this further via BC FTP.  The system will always open in the root.  All you can do via FTP is create/delete new folders as well as upload/remove files. 
    Kind regards,
    -Sidney

  • How to change users home directory home folder name?

    Is there a way in Mountain Lion to simply change the name of the home directory home folder name without it throwing off anything else for that particular user?
    I read the article about 'Enabling and using the "root" user', but it specifically says for 'Lion' and not 'Mountain Lion'
    When I get to step 8 there is no clear place to enter an adminstator account name and password so I can't go any further.
    I also did a quick test with a newly created user and after setting some preferences and customizing the desktop, I changed the home directory name and I pretty much lost all my preferences after logging back in. It's as if changing the home directory name in any way shape or form literally wipes out the previous user and you have to start anew.
    I don't want to risk changing the home directory name and end up losing essentially my whole user setup, but I really want a different name for my home directory and I don't want anything else to change. Is this possible?
    Thanks

    Hi Blastic,
    I'm trying to do the same thing.  I did follow Apple's instructions and while they are easy to follow.....I was unable to rename the folder as described  (clicking on it or pressing enter).  I did enable root user, I did log out and re-log in as root user.....and I got stopped.  I simply could not rename the folder as per Apple's instructions and ther is NOTHING on the internet about it......save for your beacon of light!  Thanks for the post.  I'm using 13 inch MacBookPro Mid 2010 2.4 GHz, Intel Core 2 Duo, 8GB ram, OS 10.8

  • Portable home directory error "Home folder...is not located in the usual p"

    I have a small handful of users with portable home directories. Of these, one is getting an error every time she logs onto the workstation: "The home folder for user ~ is not located in the usual place...". Her profile loads just fine, but I suspect it's only the local copy. Last week she didn't mention this mesasge, but did tell me about a problem with her mail; we ended up having to remove and re-create her imap account.
    Her workstation is running OS X 10.5.8, as is the server. They're on the same subnet (and even the same switch). Once her profile loads, she can access everything just fine, including her folders and documents.
    1. Is there any way to tell whether her local copy is synced with the server? (I'm worried that she's been doing this for several days and they're no longer in sync.)
    2. How can I correct this for the future?
    3. If the local and server copies are out-of-sync, how do I re-sync them (with the local copy overwriting the server copy)?
    Thanks so much!
    -Matthew

    I encountered this issue recently.  My solution was to configure a network home folder for the user, log in at the workstation with the network user account, then turn off and delete the user's home folder on the server. 
    Note: In my setup, our network users are configured as mobile user accounts so that a local home folder is created at login on the workstation.
    Bryan Dulock
    Apple Consultants Network
    Houston, TX

  • How do I restrict an sFTP user to just their home folder?

    Today I setup a user for on my Mac specifically for someone to sFTP files to my computer.
    I tested the connection on another computer on the network, it worked OK but I quickly realised that after logging in via an FTP client, I could got to the root dir and start to navigate around other folders, getting to other home directories, download photos etc.. all of which I dont want the user to do.
    I would like the FTP user to login, and only see their home directory, nothing else.
    the root shouldnt show any files for example.
    I have tried to lock things down and its a bit better, ensuring that a lot of the folders have owner only permissions, and group write only.
    However there are some folders that cannot be locked down by default.
    /Applications
    For example, any user can read any file in that folder, even if the user is only intended to FTP files.
    i have tried changing the group the user belongs to (changing it from 'Staff' to 'Nobody') but it doesnt seem to make a difference.
    Hope someone can help me with this please, perhaps there is a better way. I have not used any terminal commands in what I have done, everything has been  via the GUI (which I guess should be sufficient).

    Thanks Linc,
    that has helped a lot.
    Here is what I have done for the record:
    1) opened the sshd_config file in /etc
         sudo vi sshd_config
    2) added the following lines to the very bottom of the file:
    Match User MYUSER
    # The following two directivces force klm to become chrooted
    # and only have sftp available. No other chroot setup is required
    ChrootDirectory /Users/MYUSER/
    ForceCommand internal-sftp
    # For additional paranoia, siallow all types of port forwardings
    AllowTcpForwarding no
    GatewayPorts no
    X11Forwarding no
    3) Saved the file and tried to reconnect
    4) My FTP Software (on another computer on the network) wouldnt connect! I kept getting an error message:
         Error: Server unexpectedly closed network conection
         Error: Could not connect to server
    5) I opened up the "Console" program and looked at the secure.log under /var/log and saw the following entry:
    Aug  2 10:28:57 rmlloyd-imac sshd[6590]: fatal: bad ownership or modes for chroot directory component "/Users/MYUSER"
    This made me realise that it was someting to do with permissions on the home folder, but I still dont quite appreciate why the user logging in doesnt have permissions to its own folder as a root.
    6) Some searching on the internet yielded something like the perfect answer, that a home directory cannot be set as a chroot directory.
    So I changed the ChrootDirectory to:
    ChrootDirectory /Users
    7) Attempt to login with sFTP again works! What I see is the root appears to be the contents of /Users
    Conclusion
    This is much much better than the situation I was in originally, I can set access permissions to the home directories, but the ftp user still sees them. Its not perfect but it nearly is.
    I really wish I didnt have to mess around in the terminal though, as fun as it is, a check box added by apple to the user UI would do the job much easier. e.g.
    "Restrict user to home folder only" - makes the home folder the root
    "Restrict user to the following activities" - then have check boxes for sFTP etc...
    Then the apple UI can write to the sshd_config for me .
    All in all, I am very pleased and have learnt a fair bit from setting this up, so thanks to those that replied and I hope this information helps someone else one day.

  • Where would my FTP home folders go?

    Hi,
    Im trying to properly setup a FTP service on a OSX Server (10.6.1) setup using the "Home Folder Only" setup. I wan to secure all my users and don't want other users to see other shares (Ie symlinks)
    But I guessed my home folder would mount under the /Users/homedir folder, but it does not seems to be the case. The server manual gives no clue what so ever about where it would be stored.
    Im noticing that the symlink is still showing, even if I have selected Home Folder Only. I have restarted the FTP server just to make sure the change where applied. Any help would be appreciated

    I am having a similar problem. This is a clean 10.6.1 install. Basically FTP users are sent to the FTP Root and have no permission to do anything. I have the FTP advanced settings set to Show Home Only and have double-checked both the FTP service access permissions and the share point permissions for the Users directory and the various user home directories. They all check out. It appears to be ignoring the Advanced Settings.
    Apparently nobody else has any ideas about this issue.

  • How do I make one account's home folder visible to the other?

    How do I make one account's home folder visible to the other? Also, when I begin to delete an account, it asks if I want to either delete its home folder, keep it in the users folder, or save it in a disk image. I want to be able to see it from my remaining account once I delete it, so if I leave it in the users folder, would I be able to see all the files (right now I can't

    Use terminal to add ACL to the account,
    at the prompt:
    sudo chmod -R +a "<user> allow list,addfile,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr, writeextattr,readsecurity,file_inherit,directoryinherit" /User/<user_name> #yep, all that goes on one line!#
    #Replace <user> with the user name that you want to have file/folder privileges#
    #Replace <user_name> with the account you want to process#
    example:
    sudo chmod -R +a "sue allow list,add_file, .... deletechild,readsecurity,file_inherit,directoryinherit
    /User/joe
    #sue now gets full access to joe's files and folders#
    to remove:
    sudo chmod -R -a "sue allow list,add_file, .... deletechild,readsecurity,file_inherit,directoryinherit
    /User/joe
    You can add as many users as you want! Just lather, rinse repeat. That is how I share my itunes
    directory with the ones I want to share it with.
    That's the simplest way. ACL permissions overrule posix permissions.

  • I renamed my home folder :( can't get it back to normal

    hi, i know there are about a billion topics in this forum about this same thing, but i still cannot get everything back to normal despite reading a lot of them.
    a couple of weeks ago i renamed my home folder, which created a whole new set of preferences.
    i've done some things since then, but i can't remember every step i've taken so bare with me! maybe you clever people can figure out what i've missed out/done wrong.
    i remember that in the users folder i renamed the new (incorrect) folder to Stephen_new, and changed the old (correct) one to Stephen. - this was as instructed to by http://docs.info.apple.com/article.html?artnum=107854.
    I also copied the whole library folder from the home > Stephen > library to the home > library folder, as instructed on step 3 on this website http://www.thexlab.com/faqs/renamehomerecovery.html (i presumed by 'home > library > library they meant home > Stephen > library). This gave me back my bookmarks and stuff.
    however, in the home folder there was only library and desktop. now, when i add something to a folder (say movies) through mac hd > users > stephen > movies (or the shortcut on the left of finder) it creates a new movies folder in the home directory, and copies the file there too. i.e. the file is in 2 places.
    also on the left of finder the icons for movies etc. have all gone back to blue folder icons.
    so basically the problem is before if i wanted to go to documents it would be right in my home folder, but now i have to go mac hd > users > Stephen > documents to get there, or i could make a shortcut on the left of finder.
    i'm not sure how to tell which users folder i'm actually using, Stephen or Stephen_new. I'm guessing it's Stephen as new files seem to save there.
    i would guess that i need to change my users folder to the name of my home folder icon, but you can't have 2 things the same name in the same folder.
    i created a topic at appleinsider.com's forums, which no one replied to. maybe some of the info there could help you figure it out
    http://forums.appleinsider.com/showthread.php?t=71584
    thank you very much for any help you can give me. if anything is unclear please ask me to explain further.
    ibook g4   Mac OS X (10.4.8)  

    hello again,
    i didn't really dare to delete the blue home folders before, just in case everything went wrong, but now i think i have so little space that i can't afford to lose 2.25gb!
    one thing that slightly worries me is the fact that the 'proper' library folder (in the home icon) is 2.09gb, whereas the 'wrong' one (from the blue folder forenamesurname) is 2.24gb - this is the one i would be deleting. just seems odd to delete a larger file than the one i presume i'm using.
    "Move everything you want to keep out of the blue folders, and then place both of the folders on your desktop. If everything works properly after a few days, delete both folders. If you are asked for your administrator password at any point or if either folder is copied instead of moved when dragged, don't delete that folder."
    by 'everything you want to keep', does this include the library folder? 'cause there doesn't seem to be much else, and i'm not sure if deleting the library folder would ruin all my preferences.
    i've put both of the folders on the desktop, it didn't ask for the admin password or try to copy them, so i guess that's good news. what kind of things should i be looking out for to act differently?
    are the folders not in use now that they are on the desktop?
    also if i put them in the trash will they have no effect? i.e. the same as permanently deleting them, so i could put them in the trash as a test.
    cheers, stephen.

  • When logging on to Windows 7 user gets a second mapped drive to the users home folder

    Morning,
    I'm working through an issue we've discovered whilst trialing Windows 7.  Our environment is setup as follows.
    Domain Controllers are Windows Server 2003
    Clients are Windows XP and Windows 7
    Windows XP and Windows 7 Clients are in seperate OU's
    All Windows XP Group Policies apply to Windows XP And Windows 7 clients, Windows 7 policies are then applied to Windows 7 clients after
    Windows 7 policies are setup such that any setting defined in a Windows XP Group policy is left unconfigured in the Windows 7 Group policy and only new Windows 7 settings have been set in Windows 7 Group Policies.
    We have users home folders mapped in their Account Directory account setting and set to H:\   to connect to
    \\domainname\dfs\home\username
    In addition we also as a fail safe map the drive via a login script using net use
    This has worked fine for years in windows XP, if Active Directory failed to map the drive for any reason then the login script would then map the home drive.
    In Windows 7 we have noticed a curious error.  We found after a period of a couple of weeks we suddenly started getting a new drive mapped.  This was identical to the H:\ drive mapping but was instead under drive Z:\.  In other words, the
    users home folder is mapped twice on h:\ and z:\.  This is not affecting any of the Windows XP users.
    I have gone through several logic reasons to ascertain why this has happened with the following findings.
    1. Originally we thought the error appeared when we tried out mapping the home drive using the mapped drives functionality new in Windows 7 group policy under preferences > windows settings > drive maps.  However, after forcing it to delete the
    Z:\ drive using this functionality we only succeeded in removing it with a group policy present to do it.  As soon as we removed that group policy the Z:\ drive came back
    2. Secondly i thought the reason we would be getting a z:\ drive when we haven't specified it anywhere is because active directory is trying to map to the H:\ Drive but it is already present therefore in Windows 7 it tries to map to a different drive. 
    Using Windows logic it tries the highest letter first which is unlikely to be in use i.e. z:\.  This makes sense because our logon script uses a net use h:\ command to map the drive and i believe by default these are set to perisistent.  Therefore
    the next time the user logs on H:\ is already mapped so the logic in Active Directory accounts maps the drive to Z:\ instead hence we end up with two mapped home drives.  To test this i altered the login script to set the drive maps to
    non persistent using persistent:no.  The logic here was that when the user logged off the drive would become unmapped so that when Active Directory tried to map the drive it would be able to use H:\.  Unfortunately this was not the case and
    Z:\ remains.
    3. Here is where i resolve the issue but i don't know why and is the bit i need answering.  If i go into my account on Active Directory and go to Profile and set the home folder drive letter to another letter i.e. change from H:\ to U:\,
    i get prompted to set full control etc and apply.  I then set the drive back from U:\ to H:\, again i am prompted for setting full control which i accept.  
    NOW when i login i no longer receive a Z:\ drive and only get an H:\ drive.  YAY, thats what i want, however, i do not understand why this is the case.  At first i thought it might be something in the active directory logic when i login to an XP
    machine and then login to a windows 7 machine.  IF you bear in mind that although i get a new profile in Windows 7 i still retain the same home folder setting.  However, after logging on an XP machine logging off then logging
    on a Windows 7 machine i still didn't get the Z:\ drive back. 
    I have tried creating a new user that ONLY receives our Windows 7 Group Policies and still they receive both an H:\ and a Z:\ drive which rules out the Windows XP policies conflicting with the Windows 7 policies.
    Does anyone have any ideas why i would get a second drive mapped to Z:\ logging into Windows 7 on a Windows Server 2003 domain? 
    Can anyone explain in more detail exactly how the Active Directory functionality works when you specify a connect to Drive letter for a users home folder?
    My current workaround is simply to add a net use command to remove the Z:\ drive.  I do not want to use Mapped Network drives using the new policy settings in Windows 7 RSAT because we have already found issues with it. 
    <input id="3daf20bf-4f4d-4a05-86da-2c30c205d580_attachments" type="hidden" />

    We had the exact same issue happen to us. No issue on Windows XP but Windows 7 mapped two home drives (F and Z). F was mapped during the login script and Z was being mapped by some unknown reason.
    We use Netapp for our storage and home drives and use a feature called CIFS Home Drive Mapping. This essentially maps a user to a folder not available through normal CIFS methods causing AD to error when setting the home drive. To get around this we use
    dsquery and dsmod to modify this attribute in the user account. This is the command we used...
    dsquery user -name %UserNameX% | dsmod user -hmdrv F -hmdir \\filer\$username$
    Notice there is no ":" after the F
    We determined the root causewas the value for the
    homeDrive attributefor the user account was set to "F" instead of "F:"
    When we updated our users to reference "F:" instead of "F" in their user, this problem was resolved.
    Use LDP or some other method to verify that the homeDrive attribute is set to "F:" (or any other letter) or you will have this issue.

  • How to change name on Home folder?

    I have an Apple iBook PPC G4 1.33 GHz running Leopard OS X version 10.5.8 and with 1 GB Memory. I just purchased this machine, which is in excellent condition, but I have a problem. It is not earthshattering and doesn't threaten the life of the machine in any way, but it is my machine and I would like the Home directory to reflect that.
    The name in the System Preferences for Administrator is "gdavies", which is myself, but the Home Folder in the Finder sidebar is named "macuser". I went in as root user and came close to complete disaster, but got out in time. Having me named as administrator in Accounts but not on the Home directory is unusual. If both were called "macuser" I believe I could fix it, but this requires a greater level of expertise than I have.
    Any ideas how to make home folder read "gdavies"? I just bought this iBook and it came with the Home folder named as "macuser". I changed the computer's name in "Sharing" in system prefs and I believe I may have changed the name in the Accounts. I know I should not have done it that way, but it doesn't help changing it back.
    When I open the Users folder in the Mac HD there are there folders, one called "gdavies" with 10 items, most empty, such as desktop, downloads and so on, though dropbox is there.
    The next folder is the house icon for the Home directory named "macuser" with 38 items and is the working folder. Then there is a folder called "shared", which contains no items.
    How do I change the Home directory name in the Finder window sidebar to "gdavies'?

    Kappy, you are indeed working overtime to help me and I just want you to know how appreciative I am.
    Now, I shall take your answer step by step.
    1. Log into Accounts using the admin password for "macuser". That password and the "other" admin password for gadvies is one and the same. However, done.
    2. Click on Login Options, done - verify gdavies has admin status - done - answer "yes, gadvies has admin status".
    3. Turn off Auto login - done.
    4. Logged out then logged into "gdavies".
    5. Returned to Accounts pane authenticating with "gdavies" password - done. But remember that the admin password is one and the same for "macuser" and "gdavies". Now, I did *not* set it up like that. It just seemed to happen. do I :- )  or do I :- (    ???
    6. Select "macuser" account and using Login options delete. Select the option to remove completely.
    I am sorry Kappy, but this pesky "macuser" sits in the home directory without any account in Accounts. So there is no "macuser" account to delete.
    I went through all the motions and I was sort of hoping that a "macuser" account would *appear* in the Accounts pane beneath the Guest account so that I could delete it, but no such luck. You know, sometimes things like that do happen.
    Thanks a heap for the try, Kappy, I do appreciate you exercising on my behalf "those little grey cells" as Hercule Poirot would say - my favorite Private Eye (Agatha Christie).
    Cheers, Gareth

Maybe you are looking for