LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   permissions (https://www.linuxquestions.org/questions/linux-software-2/permissions-167801/)

JROCK1980 04-08-2004 12:31 PM

permissions
 
I am trying to get my ntfs partition veiwable by a regular user. I tried as root chmod 777 /win-d

dr-x------ 1 root root 4096 Apr 6 03:12 win-d

yes my kernel has supprt for ntfs

Any ideas?

trickykid 04-08-2004 12:34 PM

What does your /etc/fstab indicate if any for this mounted partition?

JROCK1980 04-08-2004 12:35 PM

dev/hda3 swap swap defaults 0 0
/dev/hda4 / ext3 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 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
/dev/hdb1 /win-d ntfs defaults,ro 0 0
/dev/hdb2 /lin-d auto defaults 0 0

gandalf2041 04-08-2004 01:50 PM

Have you tried mounting with the user option?

Code:

/dev/hdb1 /win-d ntfs user,ro 0 0

paijm021 04-08-2004 02:50 PM

chmod is a good tool to do these things, but it has its bad sides.

JROCK1980 04-09-2004 03:27 AM

I know but if I remember the last time it worked ok. This is now my /etc/fstab:

/dev/hda3 swap swap defaults 0 0
/dev/hda4 / ext3 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 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
/dev/hdb1 /win-d ntfs defaults,ro,user 0 0
/dev/hdb2 /lin-d auto defaults 0 0

Any ideas?

JROCK1980 04-09-2004 04:03 AM

Here is the solution:

/dev/hda3 swap swap defaults 0 0
/dev/hda4 / ext3 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 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
/dev/hdb1 /win-d ntfs defaults,ro,user,umask=000
0 0
/dev/hdb2 /lin-d auto defaults 0 0


All times are GMT -5. The time now is 11:52 AM.