LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-15-2005, 01:06 PM   #1
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Blog Entries: 7

Rep: Reputation: 32
NTFS access permissions


Hi I got one fat partition and two ntfs partitions on my slack10.2 box .......... when Iam root all the partitions are accesible ..........when Iam a normal user only the fat partition is accessbile........this is my ftab :

/dev/hdc7 swap swap defaults 0 0
/dev/hdc6 / ext3 defaults 1 1
/dev/hdc1 /winc vfat defaults 1 0
/dev/hdc5 /wind ntfs ro 1 0
/dev/hdc8 /winf ntfs ro 1 0
/dev/cdrom /mnt/cdrom auto user,unhide,noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

Another problem is that only root can mount and unmount the cdrom .........

Thanks for any help
 
Old 10-15-2005, 01:14 PM   #2
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
It's likely because you have ro on the lines with the ntfs drives. Change them to defaults like the fat partition.
 
Old 10-15-2005, 04:32 PM   #3
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676

Original Poster
Blog Entries: 7

Rep: Reputation: 32
I tried it still the same problem

/dev/hdc7 swap swap defaults 0 0
/dev/hdc6 / ext3 defaults 1 1
/dev/hdc1 /winc vfat defaults 1 0
/dev/hdc5 /wind ntfs defaults 1 0
/dev/hdc8 /winf ntfs defaults 1 0
/dev/cdrom /mnt/cdrom auto user,unhide,noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


Any other ideas/??
 
Old 10-16-2005, 12:11 PM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
what are the effective permissions on the directories after mounting them? As root run

ls -l /mnt

and see what the permissions are for wind and winf. Is it something like

root:root rwxr-----

You can change that with a umask option in the fstab lines, like this

/dev/hdc5 /wind ntfs defaults,gid=100,umask=002 1 0

to make it root:users rwxrwxr-x

Keep in mind, without a third party driver, like captive-ntfs, you won't be able to write to ntfs partitions. The kernel driver only allows modifications that don't change the file's original size.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ntfs partition permissions trawler Linux - General 2 10-23-2005 05:27 PM
NTFS Permissions DirtyDan Linux - Networking 11 09-11-2005 09:03 PM
ntfs permissions Palamides Slackware 6 02-23-2005 07:42 PM
Captive NTFS -- full r/w ntfs access for Linux spurious Linux - Software 6 01-09-2004 12:29 AM
ntfs write permissions asc3ndant Linux - General 2 07-11-2003 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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