VectorLinux
December 20, 2014, 09:07:56 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: I want write access to my network drives  (Read 2139 times)
virtuallinux
Member
*
Posts: 14



« on: July 28, 2007, 12:31:09 pm »

So, now that I can mount my network drives, I want to be able to use them.  I can read from them just fine, but write access is restricted to the root user.  I want to be able to write to them without having to become root.
I'm using Vector 5.8 STD Gold.
Logged

Vector 5.8 Std Gold
Compaq Armada 7800 laptop
266MHz p2
bigpaws
Vectorian
****
Posts: 1862


« Reply #1 on: July 29, 2007, 05:02:53 am »

Documentation is included with Vector Linux and this is answered.

Using search also has good results.

http://vectorlinux.osuosl.org/docs/vl58/manuals/index.html

Bigpaws
Logged
virtuallinux
Member
*
Posts: 14



« Reply #2 on: August 03, 2007, 08:02:43 pm »

Sorry I took a while.  I've looked in the documentation, but I didn't see anything.  Could you give me some idea of where in the documentation it might be?
Logged

Vector 5.8 Std Gold
Compaq Armada 7800 laptop
266MHz p2
bigpaws
Vectorian
****
Posts: 1862


« Reply #3 on: August 04, 2007, 03:36:14 am »

Follow the link I posted. It will lead to the Documentation.

Bigpaws
Logged
virtuallinux
Member
*
Posts: 14



« Reply #4 on: August 04, 2007, 07:22:48 am »

I know where the documentation is, I just haven't been able to find the answer to my question in the documentation.  I was hoping you might be able to give me some idea where in the documentation to look.
Logged

Vector 5.8 Std Gold
Compaq Armada 7800 laptop
266MHz p2
lagagnon
Global Moderator
Vectorian
*****
Posts: 1922



WWW
« Reply #5 on: August 04, 2007, 08:11:15 am »

Here: http://vectorlinux.osuosl.org/docs/vl58/manuals/vl5_mounting_guide_en.html

You need to add some lines to your /etc/fstab line telling the system your mount devices and their mount point, such as:

/dev/hda1   /mnt/win  vfat   fmask=111,dmask=0,quiet,shortname=mixed,user  0  0

(for a Windows vfat partition), or,

http://www.vectorlinux.com/forum2/index.php?topic=3127.0

(for a read/write NTFS partition), or,

/dev/hda3 /mnt/new reiiserfs noatime 0 2

(for a Linux reiserfs partition).

More details can be found by reading "man mount" and "man fstab". Come back here if you have more problems...

Logged

"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll
virtuallinux
Member
*
Posts: 14



« Reply #6 on: August 04, 2007, 06:52:48 pm »

Thanks for the links.  While I still don't have write access, I have gotten my fstab fixed so that mounting is a much easier process.  I think what I need to do is find some way to mount as a user and not as root. 
Here's my fstab, for what it's worth:
Code:
# /etc/fstab: static file system information.
#
# The following is an example. Please see fstab(5) for further details.
# Please refer to mount(1) for a complete description of mount options.
#
# Format:
# <file system>   <mount point>   <type>   <options>   <dump> <pass>
#
# dump(8) uses the <dump> field to determine which file systems need
# to be dumped. fsck(8) uses the <pass> column to determine which file
# systems need to be checked--the root file system should have a 1 in
# this field, other file systems a 2, and any file systems that should
# not be checked (such as MS-initrd/mnt or NFS file systems) a 0.

# The Linux partitions
/dev/hda2 / ext2  defaults  0  1

# Shared Windows/Linux partition
#/dev/hda1   /mnt/dos  msdos  umask=0   0  0
#/dev/hda1   /mnt/win  vfat   fmask=111,dmask=0,quiet,shortname=mixed,user  0  0
#/dev/hda1   /mnt/win  ntfs   umask=0   0  0

#Network Shares
//SCFSSERVER/frank   /mnt/frank  smbfs defaults,allow_other,umask=0,users,nls=utf8,noexec 0 0
//SCFSSERVER/CPSP   /mnt/CPSP  smbfs defaults,allow_other,umask=0,users,nls=utf8,noexec 0 0

# Floppy disks
# The 'noauto' option indicates that the file system should not be mounted
# with 'mount -a' 'user' indicates that normal users are allowed to mount
# the file system.
/dev/fd0   /mnt/floppy auto defaults,noauto,user 0 0
#/dev/fd1  /mnt/floppy auto defaults,noauto,user 0 0

# If you have a ls-120 floppy drive, it could be on /dev/hda b c d etc.
#/dev/hdd /mnt/ls120 auto defaults,noauto,user 0 0

# CDROM, CDWRITER, DVD
/dev/cdrom /mnt/cdrom iso9660 users,noauto,ro

# NFS file systems:
#linux01.gwdg.de:/suse/6.3/i386.de  /mnt/nfs  nfs  defaults  0 0

# proc file system:
proc /proc proc defaults 0 0

# Unix98 devpts filesystem:
none  /dev/pts  devpts  gid=5,mode=666  0 0

# Shared memory filesystem:
tmpfs   /dev/shm    tmpfs defaults 0  0

# Basic USB filesystem
sysfs  /sys  sysfs  defaults  0 0

# example of a VFAT USB pendrive
#/dev/sda1  /mnt/pendrive vfat   fmask=111,dmask=0,noauto,user,quiet,shortname=mixed 0 0


# Swap partitions
# The 'sw' option means auto activating with 'swapon -a'.
/dev/hda1   none   swap   sw   0  0
Logged

Vector 5.8 Std Gold
Compaq Armada 7800 laptop
266MHz p2
bigpaws
Vectorian
****
Posts: 1862


« Reply #7 on: August 04, 2007, 07:57:12 pm »

When asking a question please be very specific. For example:

I am using smbfs to mount my remote network drives. I have access using root
but not as a normal user.

By the way smb is not samba it is a network protocol as is smbfs.

This may be of more help:

http://www.linuxquestions.org/questions/showthread.php?s=&threadid=138313

There is also a brief explaination. Google is your friend.

HTH

Bigpaws

Logged
virtuallinux
Member
*
Posts: 14



« Reply #8 on: August 04, 2007, 08:37:22 pm »

Thanks, I've finally got write access.  That last link is what I've been looking for.
Logged

Vector 5.8 Std Gold
Compaq Armada 7800 laptop
266MHz p2
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!