Locked data partition

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Locked data partition

Postby Kaye on Mon Feb 09, 2009 12:56 am

Hey everyone,

I just downloaded Mint last night and something strange has happened (I think). I set it up manually to use a 1.5 GB swap partition, a 12 GB Linux partition, and a 135 GB data partition. The weird thing is that the data partition seems to be completely locked. I can't access the only folder in it (lost-found) and also can't add anything to it (any action gives me a permission error). Is there some way to fix this? Or is that how it's supposed to be? I'm really new to Linux, sorry if this seems stupid.

Thanks, Kaye
"In somnis veritas"
Antivirus or defragging?
Image
User avatar
Kaye
Level 5
Level 5
 
Posts: 942
Joined: Fri Feb 06, 2009 5:05 pm
Location: Boston College

Linux Mint is funded by ads and donations.
 

Re: Locked data partition

Postby Fred on Mon Feb 09, 2009 1:04 am

Kaye,

Look in your menu and open a program called Gparted. It is a partitioning tool. Post a screen shot of your partition table and we can go from there.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Locked data partition

Postby Kaye on Mon Feb 09, 2009 1:30 am

Here you go: Image
"In somnis veritas"
Antivirus or defragging?
Image
User avatar
Kaye
Level 5
Level 5
 
Posts: 942
Joined: Fri Feb 06, 2009 5:05 pm
Location: Boston College

Re: Locked data partition

Postby Fred on Mon Feb 09, 2009 2:11 am

Kaye,

What this does is change the ownership of the /data folder to jordan and sets the permissions so all users have read/write access to the folder's contents but nobody has execute permissions. Since this is a data folder you probably don't want anything in that folder to be able to run, or execute. Open a terminal and type:

sudo chown -R jordan /home/jordan/data; sudo chmod -R 666 /home/jordan/data

That should give you access to your data folder.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Locked data partition

Postby Kaye on Mon Feb 09, 2009 10:26 am

The second command didn't work (it told me I was missing a parameter), but the first one allowed me to access the drive. Thanks!
"In somnis veritas"
Antivirus or defragging?
Image
User avatar
Kaye
Level 5
Level 5
 
Posts: 942
Joined: Fri Feb 06, 2009 5:05 pm
Location: Boston College


Return to Newbie Questions

Who is online

Users browsing this forum: all41, darkstrike, Google [Bot], Google Adsense [Bot], kinger0003 and 24 guests