Skip to main content
8 events
when toggle format what by license comment
Jul 13, 2016 at 1:17 comment added S818 I temporarily added "www-data" to "maximilian", changed the primary group of "www-data" to "maximilian" and removed "www-data" from "www-data". Still, after executing chmod, the owner stayed root:root.
Jul 13, 2016 at 1:08 comment added Chirag Try by removing from www-data and adding in other groups and execute commands by sudo
Jul 13, 2016 at 1:05 comment added S818 There is the user "www-data" inside the group "www-data". However, I temporary added "maximilian" to "www-data" with no effect. And, of course, I am acting as root the whole time.
Jul 13, 2016 at 1:05 comment added Chirag Or you should try all command from 'sudo' in beginning of every command if not running as root user
Jul 13, 2016 at 1:04 comment added Chirag adduser maximilian www-data
Jul 13, 2016 at 0:59 comment added Chirag First You have to add user to group www-data? Then it may be possible.
Jul 13, 2016 at 0:05 comment added S818 Thanks, but unfortunately not. The first command did nothing as always and the second one removed the write permission for group and others as expected. Also executing the first command another time afterwards did nothing.
Jul 12, 2016 at 23:55 history answered Chirag CC BY-SA 3.0