unlink() permissions

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Wed Jun 12, 2013 5:50 am

to unlink expired files, you must have write permission on those files.

johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Thu Jun 13, 2013 9:59 pm

In any filesystem, you ought to have read access to the folder/directory in order to access a file in it - this is implied.

johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Thu Jun 13, 2013 10:05 pm

maybe the exec() function php might be useful to you to run commands from php on your NAS.
http://php.net/manual/en/function.exec.php

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests