Questions tagged [chown]

The chown command is used on Unix-like systems to change the owner of a file.

The chown command is used on Unix-like systems to change the owner/group of a file.

147 questions
2
votes
1 answer

Directory ownership keeps changing

I run my own git server on my debian server. I use gitosis for access control. I noticed that my /opt/vc directory changes ownership from git:git to myUsername:myDefaultGroup every so often. Almost like something runs chwon -R…
alexenko
  • 123
0
votes
0 answers

Accidentally ran chown -R / and now mail queue not being delivered

EDIT: BTW, everything else including all websites on the server are running fine except that mail queue in whm is not automatically being delivered. What directory would I need to change permissions on just to fix mail sending again? So last…
HekG
  • 11
-5
votes
1 answer

Changing file ownership with chown

I'm currently logged in as root, and I want to switch ownership of files to the xyz user. How can I do that using chown?
Mas
  • 1