[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-hackers] rm ability
From: |
Loic Dachary |
Subject: |
Re: [Savannah-hackers] rm ability |
Date: |
Mon, 11 Mar 2002 09:13:32 +0100 |
mathieu writes:
>
> In fact, I've retried with ssh address@hidden "rm -f /upload/project/file"
> and it works.
>
It works for you because you have a regular shell account. It
would not work for another user because she is restricted by
/usr/local/bin/cvssh.
>
> The user who send the support request was using rsync
>
> "rsync --rsh=ssh -r --delete-exclude
> --exclude="index.html" address@hidden:/upload/lafontaine/"
>
> but i've got the next error message:
> "unlink index.html : filesystem accessible in
> read-only"
>
>
> https://savannah.gnu.org/support/?func=detailsupport&support_id=100498&group_id=11
I'd suggest something like
rsync --rsh=ssh -Hav --delete --delete-excluded --exclude=index.html
Apparently the support request was filled by hand (--delete-exclude
instead of --delete-excluded). People submitting support requests should be
asked to cut/past the exact command they are using + the output.
Cheers,
--
Loic Dachary http://www.dachary.org/ address@hidden
12 bd Magenta http://www.senga.org/ address@hidden
75010 Paris T: 33 1 42 45 07 97 address@hidden
GPG Public Key: http://www.dachary.org/loic/gpg.txt