Tag Info

New answers tagged

1

Normally you would run touch as the user without sudo, I guess... Assuming that you made a typo and your third line actually reads Lets say its user1. I want user1 to create a file in a directory where he does not have ownership. Then you are out of luck, that is not possible. However, there are 2 ways of still achieving what you want: Use ACLs to ...


0

Had the same issue but no files had a lock on it, it just managed to lose all of it's owners. Solution was to use TakeOwn takeown /F dirname Will take ownership of the file to the current user. Use /A after the dirname to assign it to the system administrator.



Top 50 recent answers are included