How to change owner of subfolders/files (not CHMOD)

Advertisement

Chargin
Joined:
Posts:
2

How to change owner of subfolders/files (not CHMOD)

I see the tick box on rightclick/properties of a folder to set permissions recursively. but I dont want all the subfolders/files to share the same permissions, I just want to change the owner. By permissions Im referring to the CHMOD status, I dont want everything to be 664 for example.
Reason being I upload all my files etc to my VPS using Winscp, and I login using "root"
then I want to edit those files using a text editor, but the text editor logs in using the ftp login username. I cnat make these changes though until I change the owner on these files using winscp. Id like to be able just to do that once to the whole dir after uploading it.
How???

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,504
Location:
Prague, Czechia

Re: How to change owner of subfolders/files (not CHMOD)

Right click the permissions box and select Leave as is (you need to have recursive mode selected already before).

Reply with quote

Advertisement

You can post new topics in this forum