LinuxQuestions.org
Help answer threads with 0 replies.
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, 08: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, 09: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: 332Reputation: 332Reputation: 332Reputation: 332
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-31-2010, 12:15 AM   #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-31-2010, 12:41 AM   #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


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


All times are GMT -5. The time now is 05:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration