2
The + at the end of the permissions string indicates that the directory has an Access Control List (ACL) applied to it.
It is likely that your ACL is somehow denying the user sftpuser write access to the directory.
To view the ACL for the html directory, use the command:
getfacl html
This should output something like the following:
# file: html
# owner: ...
1
Check the folder's owner.
Probably you create this folder by root user or non "www-data" user.
root@domain:/var# chown -R www-data:www-data www
or
root@domain:/var/www# chown -R www-data:www-data html
1
You can not mount ntfs so that permissions are disabled, I suppose (I am even in doubt that this was possible in Win XP).
But you can bypass file permissions as Administrator, or any other account possessing backup privilege. You can even mount ntfs volume readonly (to be sure you did not accidentally change anything on the volume while you copied files) and ...
1
I had similar problems and never got it working with 9p, and as other commenters have said 9p is not mature.
I ended up using samba to mount a host filesystem and it's working fine. Any other network filesystem would do the job, too, probably (e.g. NFS, which is recommended by Red Hat; see link from @Diagon's comment https://access.redhat.com/discussions/...
1
just add this to the arguments
--trust-server-cert-failures="other,unknown-ca,cn-mistmatch,expired"
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
permissions × 3484linux × 637
windows × 345
apache-2.2 × 335
ubuntu × 251
security × 242
active-directory × 238
file-permissions × 225
windows-server-2008 × 156
php × 156
centos × 143
mysql × 118
windows-server-2003 × 115
ftp × 114
ssh × 105
access-control-list × 101
ntfs × 100
chmod × 97
nginx × 96
windows-server-2008-r2 × 91
samba × 90
groups × 87
iis × 83
users × 83
user-permissions × 83