LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2014, 06:28 PM   #1
gonny95
Member
 
Registered: Feb 2014
Distribution: Slackware,Ubuntu
Posts: 84

Rep: Reputation: Disabled
Question User has no write access to mountpoint


I'm using 32-bit Slackware



I made a non-root user named gonny95 and gonny95's primary groups is root

I want to make my computer like:

When users log-on every hard disk is unmounted (of course,except filesystem(/))
When users want to mount a hard disk, user can mount a hard disk using mount command

So I edited /etc/fstab

In /etc/fstab
Code:
/dev/sda2        /.1C             ntfs	      noauto,user,umask=000      0   0
/dev/sda5        /.1D             ntfs        noauto,user,umask=000      0   0
/dev/sdb1        /.2E             ntfs        noauto,user,umask=000      0   0

I rebooted and log-on with user(gonny95)

typed mount /dev/sdb1
and result was
"User has no write access to mountpoint /.2E

root user can mount but non-root user can't

What should I do?

+
And I want to mount disk without inputting root password

Last edited by gonny95; 02-08-2014 at 07:30 PM.
 
Old 02-08-2014, 11:09 PM   #2
gonny95
Member
 
Registered: Feb 2014
Distribution: Slackware,Ubuntu
Posts: 84

Original Poster
Rep: Reputation: Disabled
I was fool that's because I didn't have a permission to write my mount point directory
 
Old 02-08-2014, 11:39 PM   #3
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,155

Rep: Reputation: Disabled
Quote:
I made a non-root user named gonny95 and gonny95's primary groups is root
This is as good as root, don't do that.
 
Old 02-09-2014, 12:25 AM   #4
gonny95
Member
 
Registered: Feb 2014
Distribution: Slackware,Ubuntu
Posts: 84

Original Poster
Rep: Reputation: Disabled
Ok, I'll keep it in mind
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
vsftpd read access for user accounts but needs write access ncsuapex Linux - Server 2 04-23-2010 11:51 AM
Give user write access to htdocs kvnband Linux - Security 9 12-30-2005 02:35 PM
how to give a nonroot user write access Kilahchris Linux - Newbie 8 05-11-2005 03:10 AM
Write access on FAT partition by ordinary user Linner Fedora 6 06-17-2004 05:42 AM
fat32 and write access for user tsitras Debian 2 05-18-2004 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration