LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-23-2006, 08:31 PM   #1
NAC
Member
 
Registered: May 2006
Location: mm........
Distribution: FC6 + Gentoo >/ x86_64
Posts: 132

Rep: Reputation: 15
Mounted and get in


Hi
I use root mounted /dev/hda* to /mnt/win
and wanna user can use this folder to do something. read and wirte.

but when i use user acount, i cannot get in(read)this folder.

someone can help?
thanks a lot
 
Old 11-23-2006, 08:48 PM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
What type of filesystem is it?
 
Old 11-23-2006, 08:54 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Do you want just one user to access the folder, or any user to access the folder?

If it is just one user then use "sudo chown username:groupname" to change the owner and group owner of the file. If it is formatted in a foreign filesystem such as fat32, then you need to use the "uid=username,gid=groupname" options to the mount command or in your /etc/fstab entry.
 
Old 11-23-2006, 09:55 PM   #4
NAC
Member
 
Registered: May 2006
Location: mm........
Distribution: FC6 + Gentoo >/ x86_64
Posts: 132

Original Poster
Rep: Reputation: 15
that is a NTFS hd, so i how should i do that?
edit fstab?
thanks
 
Old 11-24-2006, 05:08 AM   #5
NAC
Member
 
Registered: May 2006
Location: mm........
Distribution: FC6 + Gentoo >/ x86_64
Posts: 132

Original Poster
Rep: Reputation: 15
/dev/hda1 /mnt/music ntfs noauto,ro,user=nac,fmask=755 0 0

doesnt work!!!!
 
Old 11-24-2006, 10:37 AM   #6
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
As you can read in many posts, it's a bad idea to have direct write access to NTFS partitions.
So, the question is, why do you need that? Can't you create a FAT32 for sharing files between Windows & Linux?
Or share files in some other way?

Quote:
/dev/hda1 /mnt/music ntfs noauto,ro,user=nac,fmask=755 0 0
The "ro" says that you'll mount it for reading only (which is OK for NTFS, but not really what you were looking for).
See man mount

Last edited by timmeke; 11-24-2006 at 10:39 AM.
 
  


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
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 09:23 AM
NFS: a mounted to b, b mounted to c, c can't read a? Steve Cronje Linux - Networking 9 10-25-2004 10:51 AM
Is it mounted or not? bornhj Fedora 2 10-11-2004 03:32 AM
Cd-rom not mounted geyes30 Mandriva 4 01-15-2004 11:38 PM
Mounted Devices natethebate Linux - General 6 08-29-2000 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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