figo2476 Posted January 28, 2008 Share Posted January 28, 2008 I working in /var/www/test/ with kubuntu in test.php: <?php rename('test.txt', 'newtest.txt'); ?> permisson, group, ownership: test.txt 777 www-data www-data newtest.txt 777 www-data www-data error: Access test.php via browser 'rename .... ermission denied' I read that php doesn't have permissions to execute the 'rename'... Any hint? Link to comment https://forums.phpfreaks.com/topic/88127-php-rename-permission-denied/ Share on other sites More sharing options...
toplay Posted January 28, 2008 Share Posted January 28, 2008 If unix platform, try specifying current directory (i.e. './test.txt') but full path is preferred. Check with your web host company. Link to comment https://forums.phpfreaks.com/topic/88127-php-rename-permission-denied/#findComment-450899 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.