Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

10.0 times 0.1 is hardly ever 1.0.


computers / alt.os.linux / How to set group:owner to all directories created with "mkdir -p" (or other command(s))?

SubjectAuthor
o How to set group:owner to all directories created with "mkdir -p" (or other commBengt T

1
How to set group:owner to all directories created with "mkdir -p" (or other command(s))?

<41fd32c3-aeb3-4260-b69c-47b4ced103f8n@googlegroups.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=3270&group=alt.os.linux#3270

  copy link   Newsgroups: alt.os.linux
X-Forwarded-Encrypted: i=1; AJvYcCVmdU2nlUdE/uyl25sf5ry3fzoDC8CoiBU4LO+Qk5q8wfcStCQD+0njukXqqAmbcQ7VIGZ4vainakCOjFt6S4FV+SocDh9eJ/GxQ+AHufY3dg==
X-Received: by 2002:a0c:da83:0:b0:68f:24b2:ad2f with SMTP id z3-20020a0cda83000000b0068f24b2ad2fmr29432qvj.0.1708092064973;
Fri, 16 Feb 2024 06:01:04 -0800 (PST)
X-Forwarded-Encrypted: i=1; AJvYcCUfXEmqetrj1rF3u3FORgBlIPv8J4u9AehwKnFMj2ziethmOdA/ZnOoNKdKb5a66lnyksX8zfAha2W86876ji/ZXKiQJ85krtkS8tXxmiQ=
X-Received: by 2002:a05:6870:2254:b0:21d:e9b7:e9aa with SMTP id
j20-20020a056870225400b0021de9b7e9aamr81095oaf.3.1708092064628; Fri, 16 Feb
2024 06:01:04 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.os.linux
Date: Fri, 16 Feb 2024 06:01:04 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=193.181.35.60; posting-account=rPxKYAkAAACZL9Ia3g3cZHelK-_cv8q3
NNTP-Posting-Host: 193.181.35.60
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <41fd32c3-aeb3-4260-b69c-47b4ced103f8n@googlegroups.com>
Subject: How to set group:owner to all directories created with "mkdir -p" (or
other command(s))?
From: bengt_tornqvist@hotmail.com (Bengt T)
Injection-Date: Fri, 16 Feb 2024 14:01:04 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1775
 by: Bengt T - Fri, 16 Feb 2024 14:01 UTC

Suppose that tmp_dir_1, tmp_dir_2 and tmp_dir_3 do not exist. With "mkdir -p tmp_dir_1/tmp_dir_2/tmp_dir_3" the following is created:

!-- tmp_dir_1
!-- tmp_dir_2
!-- tmp_dir_3

The group:owner of all tmp_dir_...-s are set the group:owner of the user generating the "mkdir..." the command.

How to set group:owner to others, for all tmp_dir_...-s, directly in a script with command(s), without having to manually
do so afterwards?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor