From: Reini U. <ru...@x-...> - 2005-07-30 20:13:49
|
Robert May schrieb: > It'll take me a couple of days to get this website up and running, as I > don't have enough permissions to remove/edit the existing files on the > shell server - I have a support call going through now. There's an easy trick to get the sf.net edit perms for any file created by somebody else. ~/bin/my: #!/bin/sh if [ -z "$1" ]; then echo "usage $0 file"; exit; fi if [ ! -f "$1" ]; then echo "$1 does not exist"; exit; fi if [ -w "$1" ]; then echo "$1 is already writable"; exit; fi mv -f "$1" "$1.temp" cp "$1.temp" "$1" chmod g+w $1 rm -f "$1.temp" -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ http://phpwiki.org/ |