* [9front] Changing folder owner
@ 2025-03-21 22:18 Pär Moberg
2025-03-21 23:52 ` Stanley Lieber
2025-03-22 23:45 ` [9front] " Anthony Martin
0 siblings, 2 replies; 3+ messages in thread
From: Pär Moberg @ 2025-03-21 22:18 UTC (permalink / raw)
To: 9front
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
Hi,
I am hitting a wall when it comes to making a folder for my user in
"/n/other/usr".
What is the right way to do this?
Is it "chmod o+w /n/other/usr" make the folder with my user and then change
it back?
I found chgrp but I didn't get how to work with it.
//Pär
[-- Attachment #2: Type: text/html, Size: 420 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9front] Changing folder owner
2025-03-21 22:18 [9front] Changing folder owner Pär Moberg
@ 2025-03-21 23:52 ` Stanley Lieber
2025-03-22 23:45 ` [9front] " Anthony Martin
1 sibling, 0 replies; 3+ messages in thread
From: Stanley Lieber @ 2025-03-21 23:52 UTC (permalink / raw)
To: 9front
> On Mar 21, 2025, at 6:24 PM, Pär Moberg <ghostdewolf@gmail.com> wrote:
>
>
> Hi,
> I am hitting a wall when it comes to making a folder for my user in "/n/other/usr".
> What is the right way to do this?
> Is it "chmod o+w /n/other/usr" make the folder with my user and then change it back?
> I found chgrp but I didn't get how to work with it.
> //Pär
check out the man page for chgrp. there is a -u flag* to change the owner (rather than the group) of the file.
sl
* i seem to remember a whitepaper arguing against mission creep such as this, but i never worked at bell labs.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [9front] Re: Changing folder owner
2025-03-21 22:18 [9front] Changing folder owner Pär Moberg
2025-03-21 23:52 ` Stanley Lieber
@ 2025-03-22 23:45 ` Anthony Martin
1 sibling, 0 replies; 3+ messages in thread
From: Anthony Martin @ 2025-03-22 23:45 UTC (permalink / raw)
To: 9front
Pär Moberg <ghostdewolf@gmail.com> once said:
> I am hitting a wall when it comes to making a folder for my user in
> "/n/other/usr". What is the right way to do this? Is it "chmod o+w
> /n/other/usr" make the folder with my user and then change it back?
Yes. That's how it's done. Or add your user to the group with
write permissions in the directory.
> I found chgrp but I didn't get how to work with it.
During normal operation, changing the owner of a file is not possible.
You have to use the file server console to allow it. See the
description of the allow command in fs(8) and hjfs(8), the
permit command in gefs(8), or the srv command in fossilcons(8).
Cheers,
Anthony
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-03-22 23:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-21 22:18 [9front] Changing folder owner Pär Moberg
2025-03-21 23:52 ` Stanley Lieber
2025-03-22 23:45 ` [9front] " Anthony Martin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).