Peter Andersson
2017-01-19 10:42:59 UTC
I'm having trouble with the "SITE UTIME" command. It works perfectly on
user ownership, but it doesn't work on group ownership.
For example, the ftp user is:
User: ftpuser
Group: ftpgroup
UTIME works on a file with this ownership:
User: ftpuser
Group: anygroup
Permissions: 777
But UTIME gives a 555 permission denied on a file with this ownership:
User: anyuser
Group: ftpgroup
Permissions: 777
Does anyone know what might be wrong?
Thanks!
/Peter
Here's the config file for this (test)account;
<Anonymous /Volumes/gemensam/Material>
User ftpuser
Group ftpgroup
DirFakeUser on ftpuser
<Limit RNTO>
AllowAll
</Limit>
<Limit RMDIR>
AllowAll
</Limit>
<Limit MKDIR>
AllowAll
</Limit>
<Limit SITE_UTIME>
AllowUser TurbinSync
AllowAll
</Limit>
<Limit SITE_CHMOD>
AllowAll
</Limit>
RequireValidShell off
AnonRequirePassword on
# Limit the maximum number of anonymous logins
MaxClients 40
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message
</Anonymous>
user ownership, but it doesn't work on group ownership.
For example, the ftp user is:
User: ftpuser
Group: ftpgroup
UTIME works on a file with this ownership:
User: ftpuser
Group: anygroup
Permissions: 777
But UTIME gives a 555 permission denied on a file with this ownership:
User: anyuser
Group: ftpgroup
Permissions: 777
Does anyone know what might be wrong?
Thanks!
/Peter
Here's the config file for this (test)account;
<Anonymous /Volumes/gemensam/Material>
User ftpuser
Group ftpgroup
DirFakeUser on ftpuser
<Limit RNTO>
AllowAll
</Limit>
<Limit RMDIR>
AllowAll
</Limit>
<Limit MKDIR>
AllowAll
</Limit>
<Limit SITE_UTIME>
AllowUser TurbinSync
AllowAll
</Limit>
<Limit SITE_CHMOD>
AllowAll
</Limit>
RequireValidShell off
AnonRequirePassword on
# Limit the maximum number of anonymous logins
MaxClients 40
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message
</Anonymous>