I have an ftp system with multiple groups, users, and folders. I need to change ownership on folders to match the corresponding group. I try the following and neither works:
chown owner:group foldername
chgrp group foldername
Neither works. I have 22 folders in all, and the first 15 work just fine. The remaining 7 don't want to work at all, saying I don't have permissions. I've deleted the folders (through ssh and ftp client), created new folders, turned on all permissions (777) and just am at my wit's end.
Can anybody give me an idea on what to do?