LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-09-2005, 10:46 PM   #1
Canam97
LQ Newbie
 
Registered: Mar 2005
Location: Washington USA
Distribution: mandrake 10.1
Posts: 8

Rep: Reputation: 0
Folder permissions


I followed the directions on another thread and added my old windows(ntfs) drive.
My fstab reads:

/dev/hdb1 /mnt/windows ntfs defaults,noatime,ro 0 0

It mounted it fine and I can access in root console.

When I try to access it in my user account it is locked.
I went to /mnt/windows folder with root console and attemted to give access to all users but it told me it couldnt be done because of a java file in one of the directories. Is there a way to complete this without going thru each folder on the ntfs drive and changeing access on the ones it will allow?

on the permissions page the user was root and the group was root.

the three drop down above that were user read and access, group forbidden, other forbidden.

Let me know if you need additional information or any solutions.

Thanks a bunch for all who have insight
 
Old 03-10-2005, 12:37 AM   #2
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Rep: Reputation: 15
It would appear as though you mount it read only. Try changing your fstab entry to:

Code:
/dev/hdb1 /mnt/windows ntfs defaults,noatime,rw 0 0
If that does not work, then there could be other things one can try. Keep us posted.

p.n
 
Old 03-10-2005, 03:08 AM   #3
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
You can also put users in the fstab line, along with the defaults part. That should allow all users to access the partition.

Word of warning here, be carefull writing to NTFS. Make sure you have backups for sure. I have read where it works with no problem but I have also read where people have lost their data too. Just be careful and cover your . . . . bases.

Later

 
Old 03-10-2005, 04:48 AM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
The existing NTFS drivers for Linux still remain unstable.

This is why Mandrake defaults to read/only mode with them.

If you want Read/Write under Linux check out the Captive drivers.

These utilize Windows XP drivers under Linux, and so are relatively safe to use.
 
Old 03-10-2005, 06:04 PM   #5
Canam97
LQ Newbie
 
Registered: Mar 2005
Location: Washington USA
Distribution: mandrake 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
I did not attempt to allow writing to the ntfs harddrive. While waiting for assistance I just copied the files I wanted to my home folder.

In the fstab, how would the line look if I was to add users to it. I believe it is either user of users but I'm not for sure

Thanks to all who have replied so far.

On a second note: I am runnng on the download version of mdk 10.1 I have purchased and I'm waiting for my official distribution to arrive. Would it be best to start from scratch when it arrives? I am waiting to start putting stuff on my linux drive until I know if I have to start again. When I get the permanant copy of mandrake, have moved all files I want from the ntfs drive, and ensured that games can be played on linux(planning to get cedega) I will leave the ntfs(windows drive) disconnected, or format it and use it for storage of important files in case I lose the primary drive. Is that a decent plan or is there a better way?
 
Old 03-10-2005, 08:55 PM   #6
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
The fstab line would look something like this:

Code:
/dev/hdb1 /mnt/windows ntfs defaults,users,noatime,rw 0 0

The way I would do it, if it were me, is this. Make a small partition that is vfat. Use that to share data between windoze and Linux. Linux and windoze can read/write to vfat with no problems. If you plan to do a reinstall, that would be a good time to do that.

Hope that helps.

Later


Last edited by dalek; 03-10-2005 at 08:58 PM.
 
Old 03-10-2005, 09:42 PM   #7
Canam97
LQ Newbie
 
Registered: Mar 2005
Location: Washington USA
Distribution: mandrake 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks I will try that.
Tried the line you gave me for the fstab but still not allowing me to access the windows partition as user. Te only difference between what you type and mine was that I left mine as read only.

On another forum I was given this line:

/dev/hdb1 /mnt/windows ntfs umask=0,nls=iso8859-1,ro 0 0

It has allowed access read only to the windows partition

not exactly sure what you mean by vfat and such but i'll try to figure it out. When I reinstall linux I will not be ready to put windoze in the dumpster. whe the time comes I will be wanting to wipe the whole ntfs system to change the entire drive to linux. No windows partition. First is to ensure that the kids games will work in linux. I am concerned with my graphics card (ATI Radeon 9200 AGP). Ive read lots of not too favorable posts on it. I will be installing 10.1 powerpack which is suppose to have the ati drivers included.

Last edited by Canam97; 03-10-2005 at 10:01 PM.
 
Old 03-10-2005, 11:01 PM   #8
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
vfat is the same as fat32 I think. Maybe they named it vfat for some legal reason. You know those lawyers. They can mess up anything.

Later

 
  


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
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
folder permissions steve007 Linux - Newbie 1 06-30-2005 12:46 PM
folder permissions Godsmacker777 Linux - Newbie 4 12-02-2004 10:26 PM
Folder permissions help Seventh Linux - Newbie 2 04-22-2004 05:56 PM
Folder Permissions DB03 Linux - Newbie 5 04-18-2004 03:08 PM

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

All times are GMT -5. The time now is 04:36 PM.

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