Попробуйте -R
переключатель, как это:
chmod -R +a "user:cs63 allow read,file_inherit,directory_inherit" Top
От man utime
:
The utime() system call changes the access and modification times of
the inode specified by filename to the actime and modtime fields of
times respectively.
If times is NULL, then the access and modification times of the file
are set to the current time.
Changing timestamps is permitted when: either the process has appropri‐
ate privileges, or the effective user ID equals the user ID of the
file, or times is NULL and the process has write permission for the
file.
Так, для изменения только времени изменения для файла (touch -m foo
), Вам было бы нужно любому быть root
, или владелец файла.
Способность записать в файл только дает Вам разрешение обновить и измененный и времена доступа к текущему времени; Вы не можете обновить ни одного отдельно, ни установить их на различное время.
На владельца файла кажется, что веб-данные только прочитали разрешение вот почему, Вы получаете ошибку.
Попытайтесь изменить разрешение как
нечто chmod 750
затем веб-данные su и затем выполненное касание-m команда.
или выполненное касание-m управляет как корень.