LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-01-2004, 07:49 PM   #1
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
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?
 
Old 09-01-2004, 08:08 PM   #2
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
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.
 
Old 09-01-2004, 08:35 PM   #3
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
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
Change hda1 to the appropriate drive letter and partition number of the drive you're trying to access.
 
Old 09-05-2004, 02:33 PM   #4
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
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
 
Old 09-05-2004, 03:08 PM   #5
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
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)
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ALL permissions denied for root larry_linux Linux - Newbie 9 09-13-2005 12:15 AM
SuExec with Apache: permissions denied bmorel Linux - Software 1 05-25-2005 05:33 AM
/bin/sh - bad interperator, permissions denied perry Linux - Software 5 11-28-2003 10:14 AM
file permissions on VFAT partition - access denied cevjr Linux - Security 3 09-04-2003 04:50 PM
NFS - can't mount - permissions denied error mchitsquad Mandriva 2 09-01-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:10 PM.

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