[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Permissions for an entire PARTITION



On Wednesday, October 26, 2016 04:09:41 AM tomas@tuxteam.de wrote:

> On Tue, Oct 25, 2016 at 11:33:23AM -0500, Richard Owlett wrote:

> > On 10/25/2016 10:40 AM, Greg Wooledge wrote:

> > >On Tue, Oct 25, 2016 at 10:32:29AM -0500, Richard Owlett wrote:

> > >>I'm in a multi-boot environment, multiple installs of Debian.

> > >>I want all install to have read/write/execute permissions.

> > >>The partition will effectively be serving as a common scratch pad

> > >>in order to exchange information. There is organically a single

> > >>user, [*ME*] and there is *NO* networking of any sort whatsoever.

 

This could be another option:

 

The following description is not complete, but in general, after some of the installs (probably all but one), you could use the -u option of useradd to create a new userid with a specified UID.

 

To that end, on installation of one (the first) system, specify your desired / preferred username, and after the install, check its UID.

 

During the installation of future systems, specify a dummy username. After the install, go back and create a new user with your preferred username and the same UID as used in the installation of the first system (using -u). Then (for "completeness" / "cleanliness") delete the dummy username and associated files directories (e.g., /home/<dummy_username>).

 

A problem with this is that your configureation files (hidden in /home/<preferred_username> may be ideal for one system but not very appropriate for some of the other systems.

 

 

 

 


Reply to: