The problems mentioned below still exist in the xCAT repositories
build from the distribution .tar files.  I don't know if both tar
files have the problems or only one.

Whenever I install the repositories I need to do the following:

   chown -R root:root /install/xcat
   chmod -R go-ws /install/xcat
   find /install/xcat -type f -print0 | xargs -0 chmod a-w

Otherwise some files remain owned by uid 1001 and other files and
directories are world writable.

On Wed, 30 May 2012 at 20:53 -0000, Stuart Barkley wrote:

> Date: Wed, 30 May 2012 20:53:18
> From: Stuart Barkley <[email protected]>
> Reply-To: xCAT Users Mailing list <[email protected]>
> To: xCAT Users Mailing list <[email protected]>
> Subject: Re: [xcat-user] xCAT 2.7.2 is released
>
> Can the file ownership and permissions be fixed in future releases of
> the contents in the .tar.bz2 distribution files?
>
> The ownership of the files inside both .tar files is root/xcat.  We
> don't have an xcat group id here so these files get extracted as owned
> by some random group.
>
> The permissions of the files and directories in the xcat-dep .tar file
> are all sorts of strange values.  Some files and directories are world
> writable which is bad.  Some directories are setgid which isn't
> necessarily that good.
>
> The files should all extract with permissions 444 or 555 and the
> directories should extract with permissions 755.  All files and
> directories should be owned by root/root.
>
> I haven't kept track of tar over the years.  It used to only restore
> the permissions and ownership of files when using 'tar xpf', but 'p'
> seems to now be a default operation.  'tar -xof' does fix restoring
> the files with other owner and group information, but you used to only
> need 'o' when using 'p'.
>
> Thanks,
> Stuart Barkley
> --
> I've never been lost; I was once bewildered for three days, but never lost!
>                                         --  Daniel Boone

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to