Skip to main content
7 events
when toggle format what by license comment
Jul 30, 2014 at 12:46 comment added Valentin Bajrami @Flo-Schield-Bobby So that explains. group needs also rwx on website directory. You can grant access to the ftp user using setfacl -m u:my-ftp-user:rwx /var/www/website No need for other changes
Jul 30, 2014 at 12:32 vote accept Flo Schild
Jul 30, 2014 at 12:32 comment added Flo Schild I am not a system admin at the beginning, just a developer, and I do not know anything about the system, so I guess I would not try to manage extended ACL, even if it seems to be a very good solution ; I only had a small need, there will not be more users hierarchies at the moment, so I think "chmod" is enough for my needs. And as there are really few accesses to this private server, I don't feel really concerned about security anyway, I hope I am not wrong...
Jul 30, 2014 at 12:22 comment added peterph As for changing it to 0775: using extended ACLs (if your file system supports them) is better security-wise, since it limits the number of possible writers. You may need to tweak the default ACLs as well, if you need to create directory hierarchies with such user, though.
Jul 30, 2014 at 12:17 comment added peterph Files usually don't have the execution bit set - that is intended for executables only. For directories the executable bit controls whether it is possible to traverse that directory - so it is usually a good idea to set it whenever the read bit is set.
Jul 30, 2014 at 12:14 comment added Flo Schild Okay, so I guess I have to change the rights to 774 or something ? Is there any way to make a difference between folders and files with chmod ? For instance, to change to permissions to 775 for folders and 664 for files ?
Jul 30, 2014 at 12:12 history answered peterph CC BY-SA 3.0