tag:blogger.com,1999:blog-7979948.post113699515584996698..comments2023-07-14T12:48:01.476+02:00Comments on Vittorio Pavesi: Change OWNER on NTFSVittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7979948.post-40470063554485274292010-08-24T22:43:20.725+02:002010-08-24T22:43:20.725+02:00Thank you.
I think the folder name needs a trai...Thank you. <br /><br />I think the folder name needs a trailing slash: C:\cygwin\ instead of just C:\cygwin<br /><br />"C:\Program Files\Windows Resource Kits\Tools\subinacl.exe" /subdirect<br />ories C:\cygwin\ /setowner="user"<br /><br />Without it subinacl didn't seem to stick inside the specified folder but went searching my root directory tree for additional folders with the given name.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7979948.post-61757016499090810402008-01-25T08:50:00.000+01:002008-01-25T08:50:00.000+01:00Really thanks John !Really thanks John !Vittorio Pavesihttps://www.blogger.com/profile/02804415638484029352noreply@blogger.comtag:blogger.com,1999:blog-7979948.post-6620815447606505232008-01-24T23:16:00.000+01:002008-01-24T23:16:00.000+01:00You don't have to use the SID. Example:set USR=Joh...You don't have to use the SID. Example:<BR/><BR/>set USR=John<BR/>setacl -on "d:\home\%USR%" -ot file -rec cont_obj -actn setowner -ownr "n:%USR%;s:n"<BR/><BR/>Note the ;s:n. When you use s:y you are implying a SID. s:n means a user name, be a it local or domain user.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7979948.post-65713590476886107972007-04-17T14:02:00.000+02:002007-04-17T14:02:00.000+02:00Grazie per l'informazione :)Grazie per l'informazione :)Giannihttps://www.blogger.com/profile/03237835814603718009noreply@blogger.com