- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Preserve the owner
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 11:42 PM
01-08-2003 11:42 PM
Preserve the owner
eg.
# ll abc.prn
-rw-rw-rw- UserA abc.prn
# whoami
UserB
# gzip abc.prn
# ll
-rw-rw-rw- UserB abc.prn.gz
#gunzip abc.prn.gz
#ll
-rw-rw-rw- UserB abc.prn
How to preserve the owner of the file abc.prn to original owner ( UserA) ? Thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 12:00 AM
01-09-2003 12:00 AM
Re: Preserve the owner
Iam using gzip version 1.3 . There is no altering of ownership by gzip in my server. It perfectly preserves the ownership.
try installing latest gzip.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 12:33 AM
01-09-2003 12:33 AM
Re: Preserve the owner
Thx your response and valuable suggestoin, I am new comer to Linux and want to know more about it, how can I know the existing version in my system , eg . OS version , tools version ? thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 12:44 AM
01-09-2003 12:44 AM
Re: Preserve the owner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 01:14 AM
01-09-2003 01:14 AM
Re: Preserve the owner
To find out your kernel version.
#uname -r
To find out version of utilities.
use -v or --version option .
eg:-
uname --version
To --version or -v is not supported try this
gzip --help
See the first line of output.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 01:24 AM
01-09-2003 01:24 AM
Re: Preserve the owner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 01:43 AM
01-09-2003 01:43 AM
Re: Preserve the owner
I checked that my zip version is 1.3 , do you have other suggestion to fix my previous problem ? thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 01:56 AM
01-09-2003 01:56 AM
Re: Preserve the owner
check the permissions , owner, file size of /bin/gzip .
compare with mine,
-rwxr-xr-x 3 root root 50652 Feb 8 2001 /bin/gzip
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 02:10 AM
01-09-2003 02:10 AM
Re: Preserve the owner
-rwxr-xr-x 3 root root 51228 Aug 24 2001 /bin/gzip
It seems newer than yours.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 02:46 AM
01-09-2003 02:46 AM
Re: Preserve the owner
there is difference in file size , download latest gzip from the link in my previous post.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2003 07:33 AM
01-10-2003 07:33 AM
Re: Preserve the owner
Two ways to get around this are to create a setuid-root copy
of gzip (dangerous) or (better) let UserB use sudo to run gzip as root. If UserB can't be trusted, he is out of luck.