CLOSED: mnt/samba/newsgroups/incomplete issues
Posted: Wed Nov 14, 2018 6:04 pm
Heya guys,
Thought I'd create a new thread that kinda continues on from viewtopic.php?f=4&t=7199.
I'm trying to delete the contents of /mnt/samba/newsgroups/incomplete/ but it's giving me access denied.
I've tried chmod -R 775 /mnt/samba/newsgroups/incomplete/ and it gives me:
But no changes have actually been made.
The original directory is /var/hda/files/drives/bay1/newsgroups/ with the following:
/mnt/samba/newsgroups/incomplete/ is:
I've tried chmod and chown with no effect. I'm probably being an idiot again, but would be good to see where I'm being an idiot.
Basically: Sab isn't deleting these files, so over time the size creeps up. I have a script that deletes things, but it obviously doesn't register with greyhole leaving quite a few orphans.
The script I used to run before I noticed the orphan issue was:
Thanks!
Thought I'd create a new thread that kinda continues on from viewtopic.php?f=4&t=7199.
I'm trying to delete the contents of /mnt/samba/newsgroups/incomplete/ but it's giving me access denied.
I've tried chmod -R 775 /mnt/samba/newsgroups/incomplete/ and it gives me:
Code: Select all
mode of '/mnt/samba/newsgroups/incomplete/file' changed from 0770 (rwxrwx---) to 0775 (rwxrwxr-x)
The original directory is /var/hda/files/drives/bay1/newsgroups/ with the following:
Code: Select all
drwxrwxrwx 273 apache users 32768 Nov 15 00:31 incomplete
Code: Select all
drwxrwx--- 2 alex users 0 Nov 15 00:31 incomplete
Basically: Sab isn't deleting these files, so over time the size creeps up. I have a script that deletes things, but it obviously doesn't register with greyhole leaving quite a few orphans.
The script I used to run before I noticed the orphan issue was:
Code: Select all
plink.exe -v -l user -batch -load Amahi -ssh "sudo chown -R alex:users /mnt/samba/newsgroups/incomplete; rm -rf /mnt/samba/newsgroups/incomplete/*; sudo chown -R apache:users /mnt/samba/newsgroups/incomplete"