Can't move files to .trash

Tim Bell tim.bell at oracle.com
Thu Jun 7 18:51:22 PDT 2012


On 06/07/12 17:58, David Holmes wrote:
> sftp> rename index.html .trash/index.html
> Couldn't rename file "/oj/home/dholmes/index.html" to 
> "/oj/home/dholmes/.trash/index.html": Permission denied
> sftp>

You already have an index.html file in .trash, so I'm guessing sftp 
won't clobber files:

% ls -l ~dholmes/.trash/ind*
-rw-r--r--   1 dholmes  hg          3560 May 29 23:17 
/oj/home/dholmes/.trash/index.html

I emptied everyone's .trash directories, so you should be good to go.

Creating a new directory under .trash and renaming things there should 
work as well.

A better code review server is out there on the horizon... not quite in 
focus yet, but it is out there.

Tim



More information about the web-discuss mailing list