(this page is new, minimal, but will be heavily modified, and experienced people should be able to follow it atm)
Uploading to Savannah
So you have made a package for your system you want to share? Well done. But there is a few things you need to do first. Follow the instructions for you operating system below.
Warning Regarding Pass phrases: * * * The guide below uses pass phrases for security. While they are not needed, and all step about them can be ignored, it is advised you do use them, so that no one can steal you keys and use them to wreck havoc on the release server.
|
Uploading on Linux
- First you have to make yourself a gpg key and ssh key.
- Upload your public ssh key to Savannah
- Upload your public gpg key to Savannah
- Wait 1 hour for everything to take effect.
- Open the console and run
- sftp [username]@dl.sv.nongnu.org:/releases/glob2/
- Or if you prefer a more graphical interface, open Konqueror and run
- sftp://[username]@dl.sv.nongnu.org/releases/glob2/
Uploading on Windows
- Install WinSCP
- Open PuTTYgen, generate a new 1024 length DSA2-SSH key with a passphrase
- Save your private file to a folder where it will remain for as long as you use WinSCP
- Save your public file to you desktop
- Upload the public ssh key (top box when key is generated) to Savannah
- Upload the contents of the saves public (not private) key to Savannah (open it using wordpad, then CTRL+A, CTRL+C)
- Wait 1 hour for everything to take effect.
- Open WinSCP
- Set host as dl.sv.nongnu.org, with port 22
- Set username as the one on Savannah
- Set password as they passphrase you set during the making of the key
- Set private file as the one you saved in the place where it will remain
- Set protocol as SFTP (with SCP fallback)
- Save the connection information
- Connection should now work
- Using the norton Commander interface, hit CTRL+O
- Type /releases/glob2/, hit Add, then click Ok
- (further uses require you to open the bookmarks, select it, and click Ok to get there)
Setting Permissions
When you upload a file, it belongs to you. No one else can touch it. Which doesn't make it very good for others. So to allow others to move and rename etc, your files, do the following.
Permissions on Linux
- chmod 775 [file or folder you uploaded]
- If you are using Konqueror:
- Right click uploaded files, click Properties > Permissions > Advanced Permissions > And tick all boxes in the first three columns minus Others Write (8 boxes in total)
Permissions on Windows
- In WinSCP, hit CTRL+ALT+P (or Options > Preferences)
- Go to the Transfer settings page
- Find the box about Upload options, click Set Permissions, and hit the litle box with three ...
- In the Octal text box, write 775 (it should then select all boxes in the first three columns minus Others Write (8 boxes in total)). Click close.
- Click ok. Further files will be automatically these permissions.