also @ TechSpot: AMD Radeon HD 7770 & Radeon HD 7750 Review
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > The Alternative OS

Collaborate in the cloud with Office, Exchange, SharePoint, and Lync

Using NTFS partitions as normal User

Thread Tools Search this Thread
  #1  
Old 03-24-2002
ryejay98's Avatar
TechSpot Member
 
Location: VA
Member since: Feb 2002, 41 posts
Using NTFS partitions as normal User

Okay, so my windows paritition is NTFS. I enabled the modules in the kernel (2.4.18) and edited the /etc/fstab file to mount it.

If I log in as root, I can access my NTFS parition with no problem whatsoever.

If I log in as a normal user, however, I can't access the partition. Suggestions?
  #2  
Old 03-25-2002
Mictlantecuhtli's Avatar
TechSpot Special Forces
 
Location: Finland
Member since: Feb 2002, 4,886 posts
System specs
Could you post the NTFS partition line from /etc/fstab?
  #3  
Old 03-25-2002
ryejay98's Avatar
TechSpot Member
 
Location: VA
Member since: Feb 2002, 41 posts
/dev/hda1 /mnt/WinXP ntfs user,ro,noatime 0 0

is what it says in /etc/fstab
  #4  
Old 03-26-2002
lokem's Avatar
TechSpot Addict
 
Location: Assembled In Malaysia
Member since: Mar 2002, 773 posts
Can you please paste the output of 'ls -l' of the /mnt directory? I'm suspecting that it has something to do with the WinXP directory.
  #5  
Old 03-26-2002
ryejay98's Avatar
TechSpot Member
 
Location: VA
Member since: Feb 2002, 41 posts
How so? Login as root, or SU as root, and the directory works perfectly, and I can access any file within....

I'll post the results this evening when Im home on the PC....
  #6  
Old 03-26-2002
lokem's Avatar
TechSpot Addict
 
Location: Assembled In Malaysia
Member since: Mar 2002, 773 posts
Quote:
Originally posted by ryejay98
How so? Login as root, or SU as root, and the directory works perfectly, and I can access any file within....

I'll post the results this evening when Im home on the PC....
If I'm not mistaken, it depends on the permissions for the directory. Look at the ownership and permission (should be 664 or something) for the directory and see if it permits other users to access it or not.
  #7  
Old 03-28-2002
Newcomer, in training
 
Member since: Mar 2002, 14 posts
How good is the support for NTFS? I'm dual-booting 2k and XP now (NTFS for all drives) but intend on making it a triple boot with Linux very soon.
  #8  
Old 03-28-2002
Mictlantecuhtli's Avatar
TechSpot Special Forces
 
Location: Finland
Member since: Feb 2002, 4,886 posts
System specs
Linux reads NTFS partitions pretty well. An experimental write support is also available. I'm not sure about compressed files/directories or encryption, though.
  #9  
Old 03-28-2002
Newcomer, in training
 
Member since: Mar 2002, 14 posts
So, how experimental is it? Anyone used and abused it yet to see how well it works?
  #10  
Old 03-28-2002
Elcarion's Avatar
TechSpot Paladin
 
Location: Tampa, FL, USA
Member since: Feb 2002, 188 posts
The following should work for you:
/dev/hda1 /mnt/WinXP ntfs default,umask=000 0 0

You can try keeping the ro (read only) if you want to. I don't think you need noatime if you mount the filesystem with ro. The umask=000 essentially disables Linux file security. If have not tried writting to an ntfs directory from Linux, good luck if you try!

For more info on this type: "man mount" at the command prompt. If you do a "man fstab" read the description at the top. It explains that /etc/fstab is directing the mount command.
  #11  
Old 03-28-2002
Elcarion's Avatar
TechSpot Paladin
 
Location: Tampa, FL, USA
Member since: Feb 2002, 188 posts
Quote:
Originally posted by Mictlantecuhtli
Linux reads NTFS partitions pretty well. An experimental write support is also available. I'm not sure about compressed files/directories or encryption, though.
I would backup my data before trying...there's no telling what Linux may do with the data!
  #12  
Old 03-28-2002
ryejay98's Avatar
TechSpot Member
 
Location: VA
Member since: Feb 2002, 41 posts
Well I tried using the /etc/fstab that you suggested, and had the same issue :-(

As for the results of the ls command...

drwxr-xr-x 2 root root 48 Mar 21 11:52 WinXP/
  #13  
Old 03-29-2002
Mictlantecuhtli's Avatar
TechSpot Special Forces
 
Location: Finland
Member since: Feb 2002, 4,886 posts
System specs
Quote:
Originally posted by ryejay98
As for the results of the ls command...

drwxr-xr-x 2 root root 48 Mar 21 11:52 WinXP/
That's the reason why it doesn't work - normal user doesn't have permissions to write to that directory. Use chmod -R uog+w WinXP to set write permissions to everyone.
  #14  
Old 03-29-2002
Elcarion's Avatar
TechSpot Paladin
 
Location: Tampa, FL, USA
Member since: Feb 2002, 188 posts
Quote:
Originally posted by ryejay98
Well I tried using the /etc/fstab that you suggested, and had the same issue :-(

As for the results of the ls command...

drwxr-xr-x 2 root root 48 Mar 21 11:52 WinXP/
What you have looks normal to me for any directory under /mnt. The 2 before root leads me to believe that your file system is not mounted. The 2 should become a 1 after it is mounted. When you mount the ntfs partition it should change the permissions to drwxrwxrwx for /mnt/WinXP if you put umask=000 in your fstab properly. Did you try just adding umask=000 to your current fstab entry?
Try looking at /etc/mtab to see which file systems are mounted. I don't know what else to tell you.
  #15  
Old 03-30-2002
lokem's Avatar
TechSpot Addict
 
Location: Assembled In Malaysia
Member since: Mar 2002, 773 posts
Quote:
Originally posted by Mictlantecuhtli

That's the reason why it doesn't work - normal user doesn't have permissions to write to that directory. Use chmod -R uog+w WinXP to set write permissions to everyone.
Shouldn't a normal user be able to read the files/directories with that permission? It's world readable and executable, just not writable...
  #16  
Old 03-31-2002
Mictlantecuhtli's Avatar
TechSpot Special Forces
 
Location: Finland
Member since: Feb 2002, 4,886 posts
System specs
Of course. I didn't read carefully enough.
  #17  
Old 03-31-2002
lokem's Avatar
TechSpot Addict
 
Location: Assembled In Malaysia
Member since: Mar 2002, 773 posts
Quote:
Originally posted by Mictlantecuhtli
Of course. I didn't read carefully enough.
Heh.. That's alrite It's why other users can't access the mount point that's a bit wierd.

ryejay98: Is that ls output before or after you have mounted the partition?
  #18  
Old 04-10-2003
Newcomer, in training
 
Member since: Apr 2003, 1 posts
THANK YOU!

Quote:
Originally posted by Elcarion
The following should work for you:
/dev/hda1 /mnt/WinXP ntfs default,umask=000 0 0

You can try keeping the ro (read only) if you want to. I don't think you need noatime if you mount the filesystem with ro. The umask=000 essentially disables Linux file security. If have not tried writting to an ntfs directory from Linux, good luck if you try!

For more info on this type: "man mount" at the command prompt. If you do a "man fstab" read the description at the top. It explains that /etc/fstab is directing the mount command.
That's it, that was HUGE!!!!!!!

mb
  #19  
Old 04-11-2003
Phantasm66's Avatar
TechSpot Evangelist
 
Location: Glasgow, Scotland
Member since: Feb 2002, 6,504 posts
The NTFS read support in Linux is fine, but the write support is very dangerous. Please don't use it. If you need advanced file system support in Linux, use ext3. If you want to share a partition between linux and windows and want to write with both, use fat32. NTFS is a windows technology and as such I think you should count yourself lucky that Linux can read it at all.
Closed Thread

Similar Topics
Topic Replies Forum
Hard Drive: Win 2k Pro NTFS to XP NTFS 17 Windows OS
Vista created xtra folder for normal user acct 0 Windows OS
Assigning unallocated space to existing NTFS partitions (with gParted Live)? 2 Storage and Networking
Programs 2 recover deleted partitions/files [NTFS/FATx] 7 Software Apps
External HDD- Need to convert to NTFS but what about partitions? 2 Storage and Networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 12:27 PM.