LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-24-2011, 07:24 AM   #1
Arelatensis
Member
 
Registered: Oct 2010
Location: Russian Federation, Udmurtia
Distribution: CentOS, Aptosid, Mageia, OpenMandriva, Ubuntu
Posts: 48

Rep: Reputation: 2
ext3 without mount point unreadable


Hi all!
Now I have created a ext3 partition for store date, but I had not make any mount point for these partition. I still can mount partition (graphically through Dophin, or in console) in my Mandriva 2010.2,but i can not access to its content as ordinary user (permission denied), only as root.
May be it was a bad mind to use ext3 fs for storing date.
Thanks.
 
Old 07-24-2011, 07:32 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,947

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
Maybe not - the f/s type (ext3 here) has nothing to do with it. Have a look at the permissions of the mount point, and/or Dolphin config (not a KDE user, so just guessing).
 
Old 07-24-2011, 10:06 AM   #3
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
This is all to do with permissions. Since you chose ext3 which is permission aware. You DO have to make sure the mount point belongs to your normal user or has the right permission to everyone to write to it.

Here's an example of what you need to do.
Mount the partition in the terminal:
Code:
# mount /dev/sda6 /mnt/data
# ls -l /mnt
drwxr-xr-x 6 root  root  4096 2011-06-13 22:28 data/
Lets say your username is 'arel', make the mountpoint be owned by 'arel'.
Code:
# chown arel.arel /mnt/data
# ls -l /mnt
drwxr-xr-x 6 arel  arel  4096 2011-07-13 22:28 data/
If the existing data all belongs to root. You may need to change the owner of all the file & folders.
If you want every user to be able to write into this partition. You also need to change the permissions of the mountpoint.
Code:
# chown -R arel.arel /mnt/data/*
# chmod 777 /mnt/data
 
1 members found this post helpful.
Old 07-27-2011, 01:20 PM   #4
Arelatensis
Member
 
Registered: Oct 2010
Location: Russian Federation, Udmurtia
Distribution: CentOS, Aptosid, Mageia, OpenMandriva, Ubuntu
Posts: 48

Original Poster
Rep: Reputation: 2
"This is all to do with permissions. Since you chose ext3 which is permission aware. You DO have to make sure the mount point belongs to your normal user or has the right permission to everyone to write to it."


Thanks. That is was, that I suspected. Now I'm sure.
 
Old 08-23-2011, 06:38 PM   #5
Arelatensis
Member
 
Registered: Oct 2010
Location: Russian Federation, Udmurtia
Distribution: CentOS, Aptosid, Mageia, OpenMandriva, Ubuntu
Posts: 48

Original Poster
Rep: Reputation: 2
Is it important, who creates a partition?. When it is created with gparted or KDEpartition manager, or, in my case, with Mandriva's diskdrake, which all is launched only under root, the created partition will belong only to root.

But, when I created a partition through the Windows utility Paragon, it will accessed by anyone. On my another machine I have two Linux OpenSuse and Aptosid, and I can free access as normal user, from Aptosid to Suse's partitions (/ and /home) and vice versa. Therefore, when a partition is creates by a third part, becomes it accessible for anyone?
 
Old 08-23-2011, 08:53 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
That's the purpose of the chown cmd example give by: ongte
Quote:
Lets say your username is 'arel', make the mountpoint be owned by 'arel'.
Code:

# chown arel.arel /mnt/data
# ls -l /mnt
drwxr-xr-x 6 arel arel 4096 2011-07-13 22:28 data/
 
  


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
RHEL5.1 PPC: ls, find,cd freeze on single ext3 mount point scavs Linux - Newbie 2 01-24-2010 08:19 PM
Ext3 partition unreadable in OpenSuse 11 DarwinsLittleHelper Linux - Newbie 11 06-27-2009 04:12 PM
puppy+grub saves ram installed mount point as HD install mount point agualust Linux - Newbie 0 04-10-2009 12:23 PM
mount NFS to mount point then share out the mount point ionic_slim Linux - Networking 2 04-20-2008 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration