Is there any restrictions of using os.remove() command from the web app code? I'm uploading file in the directory '/home/gt/gt/img'. Uploading is smooth, but whe I try to delete the file using next command, for some reasone it's not deleted. Filename here is string formatted as 'xxxxxx-xxxxxx-xxxxxx-xxxxxx.jpg'. x- random.
This command perfectly works when running BASH python...
Any suggestings? Thank you.