This article describes how you can configure virtual paths in Serv-U for Windows and Linux environments.
- Navigate to the level at which the Virtual Path should be applied. For a single user, navigate to Users | User Properties (by editing a user account) | Virtual Paths. For a group, navigate to Group | Group Properties (by editing a group) | Virtual Paths. For a domain, navigate to Directories | Virtual Paths. For a server, navigate to Global Directories | Virtual Paths. In this example, we will create a Virtual Path at the domain level.
- Select Add to add a Virtual Path.
- Select the Physical Path and Virtual paths that should be used. For example, the Physical Path might be C:\Downloads (a shared repository of downloaded files) and the Virtual Path might be %HOME%\Downloads, which would place a directory called Downloads in the home directory of each user account on the domain.
- Select Save.
In order for users to be able to access this Virtual Path, they must have access to the Physical Path. Since this Virtual Path should exist for all users, a Directory Access rule granting access to C:\Downloads should be created in the Directories | Directory Access menu. This completes the configuration.
Network Permissions Issues
A common problem with setting up Serv-U on a NT, 2000, XP or 2003 system is Serv-U's system service runs under the LocalSystem account by default. This account does not have access to any network resources. If Serv-U requires access to network resources, there are two options:
- Configure the Serv-U service to log in as a user who has access to the required network resources rather than the LocalSystem account, which exists locally only and does not have access to netwok resources. To change the user account used to run Serv-U, go to the Windows Control Panel | Administrative Tools | Services menu. Edit the Serv-U File Server service and open the Run as tab. Please contact your network administrator if you need to know which accounts will grant this access.
Note: Accounts used to run the Serv-U File Server must be granted the Log on as a service privilege in Windows.
2. The simpler option is to disable Serv-U running as a service. Under Local Server in the Serv-U Administrator, uncheckStart automatically (system service).