flat assembler
Message board for the users of flat assembler.

Index > Heap > what filesystem are you using & preferred ?

Goto page Previous  1, 2, 3
Author
Thread Post new topic Reply to topic
sleepsleep



Joined: 05 Oct 2006
Posts: 8903
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
i got one question.

usually we see every files and folders got permissions, (read, write, both)

i am wondering why couldn't just give folders the ability to set permissions and watever inside is based on the parent folder that contained it, instead of the "features" that you could set permission on every files?

eg.
/ root, only root got the permissions.
then create /sleepsleep and set myself in it.

so, whatever files inside could only be open, read, write, both by me.

if i want to share my files to another user, i just create a link in /share directory.
if i want to share to david only, so i created a directory /share/david
so, only david can 777 on it.

what u think?
Post 27 Jul 2008, 12:28
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
The idea is OK, but it would complicate the filesystem code - especially on systems that support mounting/junctioning (both NTFS and several linux filesystems). You could end up with nasty bugs, and would definitely get more complex FS parsing code...

Personally, I think it's best keeping the system code a bit simpler Smile
Post 27 Jul 2008, 12:46
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.