Results 1 to 3 of 3
I've been researching this for days on my own and still no luck, and the guys who switched me to Linux (5 days and counting) can't help either. I can't ...
- 02-17-2006 #1Just Joined!
- Join Date
- Feb 2006
- Posts
- 2
Permissions trouble
I've been researching this for days on my own and still no luck, and the guys who switched me to Linux (5 days and counting) can't help either. I can't access the windows partition (hda1) as user, only as root. I changed permissions but they disappear after mounting. what is funny is that user CAN mount and unmount the partition, he just can't access the files once they are mounted because permissions changed. I have tried tweaking mtab and fstab (they are printed below) and have tried all kinds of things with chmod, cdgrp, chown and mount
here is some representative in/output:
fry@frybox:/mnt$ ls -la
total 16
drwxr-xr-x 3 root disk 4096 2006-02-13 17:40 .
drwxr-xr-x 21 root root 4096 2006-02-16 13:55 ..
dr-x------ 1 root root 8192 2006-02-15 12:05 hda1
fry@frybox:/mnt$ umount hda1
fry@frybox:/mnt$ ls -l
total 4
drwsrwsrwt 2 root 771 4096 2006-02-13 17:40 hda1
fry@frybox:/mnt$ mount hda1
fry@frybox:/mnt$ ls -l
total 8
dr-x------ 1 root root 8192 2006-02-15 12:05 hda1
Here is fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda6 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/hda1 /mnt/hda1 ntfs rw,users,group,exec,dev,suid 0 0
and mtab:
/dev/hda6 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
tmpfs /dev tmpfs rw,size=10M,mode=0755 0 0
/dev/hda1 /mnt/hda1 ntfs rw,user=fry 0 0
- 02-17-2006 #2
Umask usually does the trick. Try adding umask=0002 to the options.
Here's what I have for a local disk that I share between OSes:
Code:/dev/hda3 /mnt/storage vfat rw,suid,dev,auto,users,async,gid=6,umask=0002 0 0
Stand up and be counted as a Linux user!
- 02-18-2006 #3Just Joined!
- Join Date
- Feb 2006
- Posts
- 2
Great! Thanks! Why did that work?


Reply With Quote
