LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 06-27-2013, 03:59 PM   #1
omegazafer
LQ Newbie
 
Registered: Jun 2013
Posts: 8

Rep: Reputation: Disabled
Linux's general file order structure.


Hi friends,
Can you give me brief explanation about linux file structure because the situation that it is different than windows is causing a bit confusion to new linux users?

For example if there are two users in a same computer. how one user reach the other user's home directory thinking of windows(c/users/).The all files should be reachable easiliy like windows shoudn't they. First of all we accept not to use additional file manager installed to our system. Later yo can give an example to file manager programs.

thanks for your interest.
 
Old 06-27-2013, 08:03 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,731

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Here is a good primer on the Linux file structure. http://www.thegeekstuff.com/2010/09/...tem-structure/

Here's an intro to the user security model: http://tldp.org/LDP/intro-linux/html/sect_03_04.html

I just tested on my Debian system, where I have a second user (for Samba purposes).

I can see and open the files in her home directory, and I am not allowed to modify them; they are set to read only for "others."
 
1 members found this post helpful.
Old 06-28-2013, 04:14 AM   #3
omegazafer
LQ Newbie
 
Registered: Jun 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks frankbell,
I read the writings that you advised now I am beginning to understand but there is a point which I have a difficulty to undertand. Is only home directory changing according to user? Are the other directories the same for all users in a one os? How can reach user2's home directory as user1 in user1's desktop without any additional file program?(We accept permissions are sufficient for user2's home directory )
 
Old 06-28-2013, 04:17 PM   #4
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,828

Rep: Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748
Generally, each user will have his/her own sub-directory in the /home directory. Each user will have rwx permissions on his/her own directory.
The other directories will usually allow read or execute permissions (not always) and need root permission to do modify, write to or delete.
user1 should be able to access to read another users /home/user directory but not modify or write to. That is by design. If you want to give one user permission to write to or delete another users files you will have to change the permissions. That is generally what 'root' user is used for. Hope I understood your questions?
 
1 members found this post helpful.
Old 06-28-2013, 05:44 PM   #5
omegazafer
LQ Newbie
 
Registered: Jun 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks yancek,
Your answer is very helpful for me included what I absolutely asked.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert directory structure from long file names in Linux to DOS 8.3 structure? manorina Linux - Software 5 09-12-2009 09:18 AM
Linux file structure go_sooner Linux - Newbie 3 06-05-2005 01:46 AM
Linux general structure woranl Linux - Newbie 4 05-26-2005 05:14 AM


All times are GMT -5. The time now is 03:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration