This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Windows File permissions are not being inherited - Cygwin 1.7 - Windows 7


On 1 September 2010 09:00, Harie Ram wrote:
> I am currently packaging Cygwin 1.7 i.e. bundling all the files into
> an msi and installing it. The requirement is : install only the basic
> cygwin packages. Provide permissions to the Cygwin users so that they
> can install the packages that they require later.
>
> The issue that I am currently facing is : the modify permissions given
> to the INSTALLDIR "C:\Cygwin" using the msi lock permission table is
> being inherited through all the subfolders and files. Any new manually
> created folders and files anywhere within C:\Cygwin via Windows
> explorer or via the Cygwin Bash Shell are inheriting permissions. But
> any new installations done by the user by choosing a package from the
> Cygwin list are not inheriting the permissions.

Giving users the right to change a global Cygwin install doesn't sound
like a terribly good idea.

> The installed user who
> installs the package has full permissions to delete/modify the folder
> and its contents . But the local admin/administrator/system does not
> have permissions. It gives an access denied error. These 3 user groups
> administrators/system/users are not even being listed in the security
> properties of those installed folders.

Administrators can grant themselves the right to access those folders though.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]