LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-26-2005, 04:57 PM   #1
cajunaggie
Member
 
Registered: Jul 2004
Location: Round Rock, Texas
Distribution: Ubuntu "Dapper Drake"
Posts: 59

Rep: Reputation: 15
Cannot change access permissions for second harddrive partition


I am currently running the Ubuntu Warty Warthog distro, which is Debian based. My 160GB hard drive is divided into two 40GB paritions, a small swap parition, and an 80GB. One 40GB currently holds my OS and other files.
My 80GB parition seems to automatically mount with the default user as root. As it stands I cannot read or write to the parition without first going in through a terminal as a root user. I have tried changing the file permissions but to no avail. Is there a way that I can change either the owner or the file permissons for that 80GB parition or am I going to have to go into root everytime I need to access it?
 
Old 01-26-2005, 06:55 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,549

Rep: Reputation: 180Reputation: 180
"My 80GB parition seems to automatically mount with the default user as root. As it stands I cannot read or write to the parition without first going in through a terminal as a root user. I have tried changing the file permissions but to no avail. Is there a way that I can change either the owner or the file permissons for that 80GB parition "

The file /etc/fstab contains entries to automatically mount partitions during boot. Take a look at /etc/fstab and if it has an entry for your 80G partition then you can correct the problem there.

-----------------------
Steve Stites
 
Old 01-26-2005, 07:48 PM   #3
cajunaggie
Member
 
Registered: Jul 2004
Location: Round Rock, Texas
Distribution: Ubuntu "Dapper Drake"
Posts: 59

Original Poster
Rep: Reputation: 15
My /etc/fstab options currently read user,auto,exex,rw. Suggestions?
 
Old 01-26-2005, 08:31 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,549

Rep: Reputation: 180Reputation: 180
" I have tried changing the file permissions but to no avail."

Try unmounting the partition with umount. Then change the file permissions and/or ownership on the mountpoint directory as well as the files. Then reboot. See if that works.

------------------
Steve Stites
 
  


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
cant change permissions of my windowsxp partition ingvildr Slackware 2 07-09-2005 08:53 PM
Can't change permissions of Windows partition Dimension User Fedora 5 06-05-2005 02:17 PM
Can't change permissions on mounted partition OlRoy Linux - General 2 09-24-2004 02:22 AM
How do I change permissions for my windows partition? cereal83 Slackware 9 07-15-2004 02:06 PM
Windows partition - cannot change permissions elitecodex Linux - Newbie 1 02-02-2004 05:55 PM


All times are GMT -5. The time now is 06:26 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