Hacker News new | ask | show | jobs
by tasn 205 days ago
There are a lot of reasons. Just three from the top of my head:

1. The way Unix works, a directory is a file, so if you can write in a directory you'll also be able to move directories around (and thus break the structure you mentioned completely).

2. Doesn't make sense for multi-user. Yes, I understand most people have their own computers, but (1) why design it in a way that breaks multi-user unnecessarily? (2) there are a lot of utility users, and having them get access to user files because of the way this is structured is silly.

3. `grep -r` is going to be a pain in the ass when searching your own files, because it'll also search all the other system subdirectories too.

1 comments

> The way Unix works, a directory is a file, so if you can write in a directory you'll also be able to move directories around

Well, maybe this should be changed, or we could just use the sticky bit.

Other users, except for primary user, can use /ubuntu24/home/. Primary user uses the root of hard drive however they want.

> because it'll also search all the other system subdirectories too.

It's already a pain because /home contains lots of system files, caches etc. And it would not be difficult to add a flag "skip system files".