I have been using the FTP feature's of Sonic for years. I create
directories, use them, and then have my crontab delete them after 2 days.
I created and still own this directory, but whether from the command line
or my crontab, I cannot rmdir. I also cannot write or delete files from
sh.sonic.net:nhdesign:/home2/02/32/nhdesign 53 % ls -la /nfs/ftp/pub/incoming/22jdid94nnaajd/
drwx----wx. 1 nhdesign user 4096 Mar 18 07:25 .
drwx-wx-wx. 1 root user 4096 Mar 14 05:37 ..
sh.sonic.net:nhdesign:/home2/02/32/nhdesign 121 % rmdir /nfs/ftp/pub/incoming/22jdid94nnaajd
rmdir: failed to remove '/nfs/ftp/pub/incoming/22jdid94nnaajd': Directory not empty
I'm not sure why that stopped working. It is definitely on the todo list of things to figure out, especially since I'm curious why the existing perms stopped working, and I'm considering using something other than sshfs or nfs to get shares to the shell server.
I went and looked, and I think I've identified what's wrong. Will let you know when we have a fix in place, and now I'm really curious -- because if this isn't the problem, I'll have to investigate more.
(Has to do with nfs permissions on sftp server that serves the sshfs...this very same problem would be happening if we were using nfs, it is an nfs problem I may be seeing.)
Edit: I can create an incoming ftp directory in your own ftp directory that will work as you describe, would that be a good solution?