On Sunday 27 November 2005 01:46, Nish Aravamudan wrote:
[snip]
> >
> > Sure enough, I can confirm this.
> >
> > I don't seem to have to provide --no-same-permissions to tar to get umask
> > to affect the permissions of extracted files, so my files are fine
> > on-disc.
>
> FWIW, ubuntu's man-pages claim:
>
> " --no-same-permissions
> apply umask to extracted files (the default for non-root
> users)"
>
> and
>
> " -p, --same-permissions, --preserve-permissions
> ignore umask when extracting files (the default for root)"
>
> Maybe you are untarring as non-root and David is untarring as root?
>
Thanks Nish, this is obviously the difference. I never compile anything as
root (pesky Makefiles rm -rf'ing things!).
--
Cheers,
Alistair.
'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]