LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-30-2010, 07:43 PM   #1
Robert Buckmaster
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
Don't have permission to read DATA partition; partition no longer visible


Hi,

I've been using Ubuntu 10.10 for just under a week. Recently, a partition called 'Data' has disappeared, and all my music and documents along with it. The folder is not to be seen in Places or on my desktop. My only way of finding it is to go to terminal. But when I try to open it there I get an error saying I don't have permission to read it. In Puppy Linux and SliTaz I can easily find the partition and read it. What should I do to bring it back in Ubuntu?

Thanks.
 
Old 10-30-2010, 08:46 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Check the permission settings on the mount point with the partition mounted. Use a terminal to execute the following command.
Code:
ls -lhd /mountpoint
Then check to see if your account falls into one of the settings allowed to access the directory.
Code:
groups
I notice, for example, that my Ubuntu 10.04 system does not put users into the users group by default so if a mount point was owned by root:users and had permissions rwxrwx--- then I would not have access to it under Ubuntu but I would have access to it under other distributions.
 
Old 10-30-2010, 11:15 PM   #3
Robert Buckmaster
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
I followed your instructions. This was my output:

robert@robert-1001PX:~$ ls -lhd /media/DATA
drwxrwx--- 1 root root 4,0K 2010-10-15 19:35 /media/DATA
robert@robert-1001PX:~$ groups
robert adm dialout cdrom plugdev lpadmin admin sambashare
robert@robert-1001PX:~$

If I understand correctly, /media/DATA is mounted as root and therefore I don't have permission to read or write to it. Is there a way of altering the way it is mounted so that I may have access to the partition again?
 
Old 10-30-2010, 11:41 PM   #4
aky_thedoc
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Rep: Reputation: 4
u can try this.

chmod a+rwx /media/DATA

this will allow every1 who logs in to read, write and execute it.

goodluck
 
  


Reply



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
Gparted: Joining 2 partition ext3 within one partition (data saved) Davno Linux - Software 1 12-11-2009 04:24 PM
no exec permission on my data partition sycamorex Linux - General 14 11-11-2008 05:21 PM
FAT partition data visible in Linux, but not in DOS/windows? broadcom Linux - General 2 09-25-2007 03:34 PM
Data Transfer From Redhat Linux Partition to Fat32 Partition saraturtle Linux - General 20 04-04-2007 05:20 PM
Cannot read Windows partition. Permission problems Micro420 Linux - General 5 10-03-2005 01:46 AM

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

All times are GMT -5. The time now is 10:25 AM.

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
Open Source Consulting | Domain Registration