Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #173895
| From | Tixy <tixy@yxit.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Permissions for an entire PARTITION |
| Date | 2016-10-27 07:50 +0200 |
| Message-ID | <swLJD-613-5@gated-at.bofh.it> (permalink) |
| References | <swbZw-7sf-27@gated-at.bofh.it> <swcVA-86H-13@gated-at.bofh.it> <swrBg-10U-7@gated-at.bofh.it> <swupr-2Sj-1@gated-at.bofh.it> <swvvc-3zX-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 2016-10-26 at 08:28 -0400, Greg Wooledge wrote:
> cd /each/file/system/one/at/a/time
> find . -xdev -user 500 -exec chown 1000 {} +
> cd /the/next/file/system
> find . -xdev -user 500 -exec chown 1000 {} +
> etc.
>
> (I would not recommend trying it as one gigantic find from / because
> of the file systems like /sys and /proc, which should probably be
> skipped.
Which the -xdev option you specify will do anyway...
There's still the issue of using find on other filesystems that may be
mounted (e.g. if there's more than one partition or disk normally
mounted). And then there's group ownerships to consider.
Definitely a good thing to try and not get into the situation of wanting
to change user id in the first place. E.g. by creating all users in the
same order (assuming the systems are all the same distro) which is what
I do as a early step after installing a new system.
--
Tixy
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
Permissions for an entire PARTITION Richard Owlett <rowlett@cloud85.net> - 2016-10-25 17:40 +0200
Re: Permissions for an entire PARTITION Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-25 17:50 +0200
Re: Permissions for an entire PARTITION <tomas@tuxteam.de> - 2016-10-25 18:10 +0200
Re: Permissions for an entire PARTITION Richard Owlett <rowlett@cloud85.net> - 2016-10-25 18:40 +0200
Re: Permissions for an entire PARTITION Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-25 18:50 +0200
Re: Permissions for an entire PARTITION Richard Owlett <rowlett@cloud85.net> - 2016-10-28 17:30 +0200
Re: Permissions for an entire PARTITION Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-28 17:50 +0200
Re: Permissions for an entire PARTITION Jörg-Volker Peetz <jvpeetz@web.de> - 2016-10-28 21:40 +0200
EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Richard Owlett <rowlett@cloud85.net> - 2016-10-28 22:50 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] "John L. Ries" <jries@salford-systems.com> - 2016-10-28 23:10 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Brian <ad44@cityscape.co.uk> - 2016-10-29 00:20 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Richard Owlett <rowlett@cloud85.net> - 2016-10-29 01:40 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Reco <recoverym4n@gmail.com> - 2016-10-29 11:20 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] rhkramer@gmail.com - 2016-10-29 14:20 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Reco <recoverym4n@gmail.com> - 2016-10-29 15:00 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Brian <ad44@cityscape.co.uk> - 2016-10-29 16:10 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Reco <recoverym4n@gmail.com> - 2016-10-29 17:50 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Brian <ad44@cityscape.co.uk> - 2016-10-29 20:20 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Reco <recoverym4n@gmail.com> - 2016-10-29 22:30 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Brian <ad44@cityscape.co.uk> - 2016-10-30 00:50 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Reco <recoverym4n@gmail.com> - 2016-10-30 10:30 +0100
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Brian <ad44@cityscape.co.uk> - 2016-10-30 14:00 +0100
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] rhkramer@gmail.com - 2016-10-30 14:20 +0100
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Brian <ad44@cityscape.co.uk> - 2016-10-30 18:10 +0100
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] rhkramer@gmail.com - 2016-10-29 21:30 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Brian <ad44@cityscape.co.uk> - 2016-10-29 22:00 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] rhkramer@gmail.com - 2016-10-29 22:30 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Brian <ad44@cityscape.co.uk> - 2016-10-30 01:10 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] rhkramer@gmail.com - 2016-10-30 01:20 +0200
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] Lisi Reisz <lisi.reisz@gmail.com> - 2016-10-30 13:00 +0100
Re: EUREKA!!!! - was [Re: Permissions for an entire PARTITION] David Wright <deblis@lionunicorn.co.uk> - 2016-10-31 02:30 +0100
Re: Permissions for an entire PARTITION Jochen Spieker <ml@well-adjusted.de> - 2016-10-29 15:30 +0200
Re: Permissions for an entire PARTITION Jochen Spieker <ml@well-adjusted.de> - 2016-10-25 19:40 +0200
Re: Permissions for an entire PARTITION <tomas@tuxteam.de> - 2016-10-26 10:20 +0200
Re: Permissions for an entire PARTITION rhkramer@gmail.com - 2016-10-26 13:20 +0200
Re: Permissions for an entire PARTITION Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-26 14:30 +0200
Re: Permissions for an entire PARTITION <tomas@tuxteam.de> - 2016-10-26 14:50 +0200
Re: Permissions for an entire PARTITION Tixy <tixy@yxit.co.uk> - 2016-10-27 07:50 +0200
csiph-web