Denied Permissions
I've looked everywhere, but I'm still confused, so I will ask here. I am trying to access my NTFS-D file as a non root user, but I get permission denied, and I don't know exactly how to set it up for non users to read that file.
Also, I'm tired of runninng XMMS as root all the time, because I get permission error when I try to use the ALSA driver instead of OSS , how do I fix these two problems? |
Try doing a google search to see what mount options there are for /etc/fstab for ntfs volumes. I think you need a specific umask in the mount options string.
As for the ALSA problem, try doing "chmod a+rw /dev/adsp* /dev/amidi* /dev/amixer* /dev/snd/*" This is evil so, if things work, then isolate which devices it affected at set the permissions for the rest back to what they were. |
To access your drive as a non-root user, try making the entry in /etc/fstab look something like this:
Code:
/dev/hda1 /mnt/NTFS-D NTFS noauto,user,ro,umask=0222 0 0 |
I added the following to fstab, which now allows me to open the NTFS partitions, but no files are showing up!! what now? Here is what I have in fstab
/dev/hdb1 / ext3 defaults 1 1 /dev/hda1 /mnt/NTFS-D NTFS noauto,user,ro,umask=0222 0 0 /dev/hdb2 /mnt/NTFS-D NTFS noauto,user,ro,umask=0222 0 0 /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 |
I would be better if you make a choice between /dev/hda1 and /dev/hdb2 for the mount point NTFS-D, or create another mount point for /dev/hdb2 in /mnt
Then to see the files, mount the partition : mount /mnt/NTFS-D (you may have to specify the -t NTFS or not to mount, I don't know I have no NTFS) |
All times are GMT -5. The time now is 12:43 PM. |