deloptes schreef op 23-12-2016 0:40:

perhaps you want to chown your-user.www-data /path

or something like

php5 -S <addr>:<port> Run with built-in web server.

Give up the bad ideas, seriously!

I think my point was more that I didn't know how to chgrp, but I found I needed to add myself to www-data first before I could chgrp to it.

Which seems reasonable, I just don't get why it would be required :p. In general you can only use it to give permissions to something, not take it away. Maybe if you got really inventive you could trigger some process running under a certain user to do something with a file owned by you if it otherwise wouldn't have been able to..., but... ;-).

You could also achieve that by giving everything o+rwx permissions...

But ehm.. I guess it is just a personal bafflement ;-). In that I fail to see how giving permissions to something you already own to another would be a security implication. But maybe it is more an identity issue.

Reply via email to