LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-20-2007, 01:47 AM   #1
geckoguykc
LQ Newbie
 
Registered: Apr 2006
Posts: 27

Rep: Reputation: 15
Permissions problem


I cannot get permissions to read my windows drive (hdc1).
here's the fstab line
/dev/hdc1 /media/windows ntfs ro,nls=utf8,umask=0222 0 0
....
unless i'm root I can't even read the drive..........
i'v tried all kinds of things and i just won't give me the permissions to read it...........thanks for any help....
 
Old 04-20-2007, 04:41 AM   #2
mkhan919
Member
 
Registered: Jan 2007
Location: Valbonne, France
Distribution: Mandriva 2008 (Free)
Posts: 135

Rep: Reputation: 15
Unhappy Ubuntu Feisty has gone nuts

Hi, i am using ubuntu feisty, and i am encountering a very similar problem as the above post. So instead of starting a new thread, i am posting here. Untill yesterday, every thing was working OK, i was able to read and write to my windows partitions then all of a sudden, today, i rebooted and i cant access the windows partitions any more.. i tried using the ntfs-config utility, but it just asks if i want to enable the write support for internal partitinons, i tell it yes and thats it..

here is the output from my /etc/fstab

# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
/dev/sda7 / ext3 defaults,errors=remount-ro 0 1
/dev/sda9 /home ext3 defaults 0 2
/dev/sda1 /mnt/win_c ntfs-3g defaults,locale=en_US.UTF-8 0 0
/dev/sda5 /mnt/win_d ntfs-3g auto,umask=007,users 0 0
/dev/sda6 /mnt/win_e ntfs-3g auto,umask=007,users 0 0
/dev/sdb7 /mnt/ExtDisk1 auto defaults,umask=007,gid=46 0 0
/dev/sdb6 /mnt/ExtDisk3 ntfs-3g defaults,umask=007,gid=46 0 0
/dev/sdb5 /mnt/ExtDisk2 ntfs-3g defaults,umask=007,gid=46 0 0
/dev/sda8 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0



By all reasoning this should work. but it does not. As far as i can figure out, the problem is that the permission that are set for the directories are problematic.


myname@myname-laptop:/mnt$ ls -l
total 88
drwxr-xr-x 2 myname root 4096 2007-04-14 17:19 ExtDisk1
drwxr-xr-x 2 myname root 4096 2007-04-14 17:20 ExtDisk2
drwxr-xr-x 2 myname root 4096 2007-04-14 17:26 ExtDisk3
drwxrwxrwx 1 root root 28672 2007-04-19 20:20 win_c
drwxrwx--- 1 root root 20480 2007-04-19 18:52 win_d
drwxrwx--- 1 root root 28672 2007-04-14 17:53 win_e


I have tried changing the ownership of win_c, win_d, win_e to myname but ubuntu just changes them back.
i had been reading and writing to windows partitions in Mandriva before this, and never had a problem. In fact as i have already mentioned, it was working just fine in ubuntu, untill one day it decided not to work any more....

Any suggestions please as to what could i do to make it work again...

PS. the systems are mounted since i can access using root from the console.

Last edited by mkhan919; 04-20-2007 at 04:46 AM.
 
Old 04-20-2007, 10:13 AM   #3
mkhan919
Member
 
Registered: Jan 2007
Location: Valbonne, France
Distribution: Mandriva 2008 (Free)
Posts: 135

Rep: Reputation: 15
Fixed....

Changed the umask value to umask=0000. the problem is solved now.
...................
sorry for interrupting this thread.
 
Old 04-20-2007, 12:15 PM   #4
geckoguykc
LQ Newbie
 
Registered: Apr 2006
Posts: 27

Original Poster
Rep: Reputation: 15
I still haven't figured it out
 
Old 04-21-2007, 07:22 AM   #5
mkhan919
Member
 
Registered: Jan 2007
Location: Valbonne, France
Distribution: Mandriva 2008 (Free)
Posts: 135

Rep: Reputation: 15
Try this line.
its from my own fstab file and seems to be working okay.

/dev/hdc1 /media/windows ntfs defaults,umask=0000,users 0 0

then do a
sudo umount -a
followed by

sudo mount -a

I hope this works..
 
  


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
problem with permissions alaios Linux - General 3 03-07-2006 12:46 AM
Permissions problem bmorel Linux - Newbie 4 05-20-2005 05:01 PM
Need help with a permissions problem bobbryce Fedora 3 02-08-2005 10:09 AM
Sendmail problem: sm-client permissions problem d3funct Linux - Software 0 08-12-2003 06:00 PM
Permissions problem TheShemeta Linux - Newbie 10 06-12-2003 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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