I have a new user masi in Raspbian Jessie. I want that it has access to /usr/bin/ etc wget. I did
sudo adduser masi sudo visudo root ALL=(ALL:ALL) ALL masi ALL= NOPASSWD: ALL % passwordless root access su masi passwd As masi, I cannot do wget getting Permission denied, only as sudo wget now. The command ls -la /usr/bin/ gives user/group as root:root for all commands which is the problem. I think I should have root:wheel. I think this can be done by
groupadd wheel sudo usermod -a -G wheel masi sudo chown root:wheel /usr/bin/* I took the groupname wheel from my OS X. I am not sure if it is the right convention here for naming. I do not understand how Raspbian Jessie has beed designed. I only understand little Ubuntu.
I think the commands may not be sufficient because the thing is changing only one directory. I am setting up owncloud server with PostgeSQL-9.4 in Raspian as described here for older version.
How can you add a new user with sufficient righs for wget and others in working folders /usr/bin/ ... in Raspbian?
masito have write access in/usr/bindirectory, and add the output ofwgetto your original post?