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

Notices


Reply
  Search this Thread
Old 10-27-2003, 04:49 PM   #1
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Rep: Reputation: 30
mount


hello there. i can mount my devices under root, but not under user login. any suggestions?
 
Old 10-27-2003, 04:52 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if they alerady have full fstab entries, add "user" to the options for the relevant devices and you should be fine. if they have no fstab entry you must create one.
 
Old 10-27-2003, 06:57 PM   #3
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Original Poster
Rep: Reputation: 30
The following is my fstab:
/dev/hdb5 / ext2 errors=remount-ro 0 1
/dev/hdb1 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/hda1 /xpsystem ntfs auto,users,exec,ro 0 0
/dev/hda2 /storage ntfs auto,users,exec,rw 0 0
/dev/hdc /mnt/cdrw iso9660 rw,auto,aristos 0 0
/dev/hdd /mnt/dvd iso9660 r0,auto 0 0

Unfortunately i can not see hda2 under root. Also all of the above cannot be seen as user. how can i do it? The user name is aristos
 
Old 10-27-2003, 07:05 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I suppose you want to write to this partition:
/dev/hda2 /storage ntfs auto,users,exec,rw 0 0
you won't be able to do it (as root or otherwise). If you want a partition for shared data with windows, make a fat32 (called vfat under linux) partition.

As for seeing the contents of the partitions as non-root. Add the option umask=0 to the entries. E.g.:
/dev/hda1 /xpsystem ntfs auto,users,exec,ro,umask=0 0 0
 
  


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
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
can mount C not D FAT: invalid media value (0x45) mount: wrong fs type, bad option Emmanuel_uk Linux - Newbie 10 11-29-2005 02:47 AM
automount: mount(generic): failed to mount (null) (type iso9660) on /mnt/media/ vasudevadas Slackware 5 10-17-2005 03:05 PM

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

All times are GMT -5. The time now is 01:48 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