LinuxQuestions.org
Visit Jeremy's Blog.
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 11-16-2005, 02:55 AM   #1
Panci
LQ Newbie
 
Registered: Nov 2005
Location: Italy
Distribution: Slackware 12.1
Posts: 22

Rep: Reputation: 0
fstab syntax


HOw can I mount at the bootstrap a window partition with all permision for all user (it is a ntfs partition).

I tried this but it doesn't work,i mean the partition are correctly mounted but anly root has "r-x" permissions

Code:
dev/hdb5        /mnt/rebourn     ntfs    ro,mode=666 1   0
thank you
 
Old 11-16-2005, 03:00 AM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
add the option 'user' to the options. it should read like this:

Code:
/dev/hdb5        /mnt/rebourn     ntfs    ro,user,mode=666    1   0
That ought to work.

--Shade

ps, edit to add:

Also check the permissions on /mnt/rebourn and make sure the mount point itself is navigable by users. Probably also worth checking permissions on /dev/hdb5

Last edited by Shade; 11-16-2005 at 03:02 AM.
 
Old 11-16-2005, 04:50 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114Reputation: 8114
Re: fstab syntax

Quote:
Originally posted by Panci
HOw can I mount at the bootstrap a window partition with all permision for all user (it is a ntfs partition).

I tried this but it doesn't work,i mean the partition are correctly mounted but anly root has "r-x" permissions

Code:
dev/hdb5        /mnt/rebourn     ntfs    ro,mode=666 1   0
thank you
Rather, try this line:
Code:
dev/hdb5        /mnt/rebourn     ntfs    ro,user,umask=002    1   0
The "user" is not to let users see the Windows files, but it is there so that non-root users can run
Code:
mount /mnt/rebourn
. You can leave thge "user" out if you just want to mount the NTFS partition at boot time. In that case, use this line instead:
Code:
dev/hdb5        /mnt/rebourn     ntfs    ro,umask=002    1   0
Eric
 
Old 11-16-2005, 04:40 PM   #4
Panci
LQ Newbie
 
Registered: Nov 2005
Location: Italy
Distribution: Slackware 12.1
Posts: 22

Original Poster
Rep: Reputation: 0
ok itry the solution these are the feedback:

--changing the permission to the mount directory and the dev file dosn't work ,when the partition is moutn the permission rechange

--whit this line /dev/hdb5 /mnt/rebourn ntfs ro,user,mode=666 1 0
the partition dosnt mount at the startup

--- the corret one is dev/hdb5 /mnt/rebourn ntfs ro,user,umask=000 1 0

thank you everybody
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
syntax SmithSmith123 Linux - Newbie 2 11-17-2005 04:45 PM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 05:54 AM
C++ syntax error before :: token HELP, i cant find the syntax error :( qwijibow Programming 2 12-14-2004 06:09 PM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM

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

All times are GMT -5. The time now is 12:11 AM.

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