This test case describes making files available for reading in the local network
How to test
- Open the Personal File Sharing preferences under System ➛ Preferences ➛ Personal File Sharing and turn on file sharing on the network. Set the password to be required when writing files, and enter a password.
- Copy one or more files and folders to $HOME/Public. Try to use nautilus for this.
- Now log into another computer on the same local network.
- On the second computer, open nautilus 'Network' window. You can do this via Places ➛ Network or by finding it in the menus of an open nautilus window or by entering "network://" in nautilus 'Open Location' dialog.
- Make sure that the 'Public' folder on the first machine shows up and that you can open it and view the files that you copied there earlier.
- Verify that modifying the shared files, or creating new files in the shared location does not work from the second computer.
- Turn the first computer off, or remove it from the network, or just end your session. Verify that the shared location disappears from the 'Network' window on the second computer.
- Expected results:
- The 'Public' folder is visible from the second computer as soon as sharing is enabled on the first computer, and it disappears when sharing is disabled again or the first computer is removed from the network or the session is ended.
- Viewing shared files works and opens the same apps that would be used for local files.
- Modifying or deleting shared files fails or asks for a password.