- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can i give write permission to => /var, /generated, /pub/static in Windows?
I am try to install magento 2.3 by Wamp server in Windows, how can i give write permission to /var, /generated, /pub/static in windows?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How can i give write permission to => /var, /generated, /pub/static in Windows?
- right-click on the directory, go to Properties
- Security tab, Advanced..
- Permissions tab, Change Permissions...
- Add...
- Advanced...
- click Find Now, then find and click on "Everyone", click OK
- click OK
- "Everyone" should now show up in the list, with "Read & execute" permissions, here select "Write"
- check the box for "Replace all child object permissions with inheritable permissions from this object"
- click OK. That should recursively give read access to "Everyone".
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How can i give write permission to => /var, /generated, /pub/static in Windows?
@prema_mani1 After click Replace all child object permissions with inheritable permissions from this object then click save button few files running suddenly the checkbox automatically unchecked, i mean Replace all child object permissions with inheritable permissions from this object unchecked. How can i solve this issue?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How can i give write permission to => /var, /generated, /pub/static in Windows?
Hi,
The following commands will help to take the ownership of the directory and files:
D:\>takeown /f D:\path\to\directory /r /d y
D:\>icacls D:\path\to\directory /grant administrators:F /t
Example : C:\Users\Wamp\MagentoProject1> var /grant administrators:F /t
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How can i give write permission to => /var, /generated, /pub/static in Windows?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How can i give write permission to => /var, /generated, /pub/static in Windows?
Hi @Jeeva Rathinam,
Css files not loading, Try to clear the following folders and deploy the content,
Remove folders in
- pub/static/frontend/*
- var/cache
var/view_preprocessed/*
php bin/magento setup:static-content:deploy
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How can i give write permission to => /var, /generated, /pub/static in Windows?
@prema_mani1 For directory permission successfully applied using D:\>takeown /f D:\path\to\directory /r /d y how to apply permission for files i am using icacls D:\path\to\directory /grant administrators:F /t not working getting error like
'icals' is not recognized as an internal or external command,
operable program or batch file.
How to solve the error and give permissions ?