can i change folder and subfoder permission ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
giulia
Senior Member
Senior Member
Posts: 328
Joined: 2013-09-14, 05:33 UTC
Location: Europe

can i change folder and subfoder permission ?

Post by *giulia »

hi

can i change folder and the subfolder permission?
for example remove everything and let everyone read and write

if yes , i can i do it?
thanks
love Total Commander , best file manager ever made
User avatar
Dalai
Power Member
Power Member
Posts: 9941
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: can i change folder and subfoder permission ?

Post by *Dalai »

Editing NTFS permissions works the same way as in Explorer - via an object's properties in the tab Security. Be aware that removing directory permissions usually requires the inheritance to be disabled first. Depending on the directory owner it might also be necessary to take ownership of the directory before the permissions can be changed; this is not necessary when changing permissions as administrator.

One thing you should NEVER do, although this can be read throughout the web: Grant the pseudo-user "Everyone" the permission "Full Control". This allows everyone - including guests - to change permissions! If you want everyone to be able to write, it's sufficient to grant the "Write" permission.

This topic can become very complex very quickly. I suggest to read and try to understand before you change permissions since doing so can have security implications.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
giulia
Senior Member
Senior Member
Posts: 328
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Re: can i change folder and subfoder permission ?

Post by *giulia »

Dalai wrote: 2025-04-07, 09:34 UTC Editing NTFS permissions works the same way as in Explorer - via an object's properties in the tab Security. Be aware that removing directory permissions usually requires the inheritance to be disabled first. Depending on the directory owner it might also be necessary to take ownership of the directory before the permissions can be changed; this is not necessary when changing permissions as administrator.

One thing you should NEVER do, although this can be read throughout the web: Grant the pseudo-user "Everyone" the permission "Full Control". This allows everyone - including guests - to change permissions! If you want everyone to be able to write, it's sufficient to grant the "Write" permission.

This topic can become very complex very quickly. I suggest to read and try to understand before you change permissions since doing so can have security implications.
hi
well i would like to know if tc hav a plugin or a feature to change them ,and not via explorer
thanks
love Total Commander , best file manager ever made
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: can i change folder and subfoder permission ?

Post by *Horst.Epp »

giulia wrote: 2025-04-07, 13:46 UTC hi
well i would like to know if tc hav a plugin or a feature to change them ,and not via explorer
thanks
There is no such plugin or feature.
This would in no way take away the considerations which Dalai has explained.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: can i change folder and subfoder permission ?

Post by *Fla$her »

cm_EditPermissionInfo
cm_EditOwnerInfo
Overquoting is evil! 👎
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: can i change folder and subfoder permission ?

Post by *Horst.Epp »

Fla$her wrote: 2025-04-07, 13:55 UTC cm_EditPermissionInfo
cm_EditOwnerInfo
This may not help at all.
The result for both functions is:
---------------------------
Windows
---------------------------
Windows cannot take ownership as requested because a component of the software you are using that is required to perform that function is not compatible with any version of Windows released after Windows Server 2003. Contact your software vendor to find out if this software has been updated for current versions of Windows.
---------------------------
OK
---------------------------
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: can i change folder and subfoder permission ?

Post by *Fla$her »

Horst.Epp wrote: 2025-04-07, 13:58 UTCThis may not help at all.
I know. It works on XP. :)
Overquoting is evil! 👎
giulia
Senior Member
Senior Member
Posts: 328
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Re: can i change folder and subfoder permission ?

Post by *giulia »

hi
i guess maybe with a command line and icacls
for example
icacls Install /inheritance:d /t /c
should remove everthing
there isn't any way to do it, right?
love Total Commander , best file manager ever made
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: can i change folder and subfoder permission ?

Post by *Fla$her »

You cannot delete everything, you can reset:
Command: %comspec% /q/c takeown /f
Parameters: "%P*" /r /d y && icacls "%P*" /reset /t
Overquoting is evil! 👎
giulia
Senior Member
Senior Member
Posts: 328
Joined: 2013-09-14, 05:33 UTC
Location: Europe

Re: can i change folder and subfoder permission ?

Post by *giulia »

Fla$her wrote: 2025-04-07, 15:00 UTC You cannot delete everything, you can reset:
Command: %comspec% /q/c takeown /f
Parameters: "%P*" /r /d y && icacls "%P*" /reset /t
hi
nice , so i can reset it's like take Take Ownership?
and can i know i can set everyone permission full ?
thanks
love Total Commander , best file manager ever made
Fla$her
Power Member
Power Member
Posts: 2981
Joined: 2020-01-18, 04:03 UTC

Re: can i change folder and subfoder permission ?

Post by *Fla$her »

Yes.
Parameters: "%P*" /r /d y && icacls "%P*" /grant *S-1-1-0:F /c /l /q /t
Overquoting is evil! 👎
Post Reply