0
votes
1answer
32 views

Change permission for home directory on debian [duplicate]

My Debian machine is running DirectAdmin and we have build our own CMS. By now, when we create a new website a new folder and user will created down the /home/ directory. As an developer to setup ...
-1
votes
1answer
81 views

Add permissions for a user to folders and files [closed]

I have a user jenkins that creates files and folders in (on ubuntu) : /var/jenkins/workspace/my-project e.g: drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 16:41 ./ drwxr-xr-x 8 jenkins jenkins 4096 ...
1
vote
1answer
223 views

How to chown when a user name contains a dash?

A user and group contains a dash: abc-def. When I try to use chown I get an error: chown abc-def.abc-def * -R chown: invalid user: `abc-def.abc-def' the user is valid and it should work... how can ...
8
votes
7answers
21k views

Chown operation not permitted for root

I try to chown the owner of a file to root, but I can't. I'm doing this as root. I get the following message: chown: changing ownership of `ps': Operation not permitted