LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can only access Windows partition through root (https://www.linuxquestions.org/questions/slackware-14/can-only-access-windows-partition-through-root-241623/)

mlsbraves 10-12-2004 03:11 AM

Can only access Windows partition through root
 
I created a folder in the /mnt directory called windows. I then edited the fstab with the added line:
Code:

/dev/hda1 /mnt/windows auto user,defaults 0 0
Everything works fine under root but I can't access through my user. It claims I don't have permission. I've tried changing permissions to viewable by groups but I get this error:
Code:

Changing the attributes of files is not supported with protocol devices
Any suggestions?

darthtux 10-12-2004 03:18 AM

Add a umask

user,defaults,umask=0022

heema 10-12-2004 03:26 AM

check out this site :

http://shilo.is-a-geek.com/slack/fstab12.html

gbonvehi 10-12-2004 03:28 AM

mlsbraves, replace auto with your windows filesystem (ntfs or vfat) because otherwise mount can't set the permissions on it.

mlsbraves 10-12-2004 04:29 AM

Quote:

Originally posted by darthtux
Add a umask

user,defaults,umask=0022

Thanks. Worked Perfect.

Quote:

Originally posted by gbonvehi
mlsbraves, replace auto with your windows filesystem (ntfs or vfat) because otherwise mount can't set the permissions on it.

This should help me restrict which groups have access to it. Thank you

Also one more thanks to heema for the link. You have all been helpful


All times are GMT -5. The time now is 11:25 PM.