Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-25-2002, 04:05 PM   #1
Registered: Dec 2001
Location: China
Distribution: Mandrake 7.2 and 8.1
Posts: 51

Rep: Reputation: 15
cannot write to windows share as user

As a user, I can read but not write to a Windows share I have mounted through Samba. As root, however, I can. The permissions for the mounted directory show that the mounted directory is owned by root and has no write permissions for group or other. As root, I try changing the permissions to 777, but I get no error and no change in the permissions.

This is my ftab line that is mounting the share:
//robyn/data /home/keir/data smbfs username=keir,password=keir 0 0

Thanks, Keir
Old 11-25-2002, 05:40 PM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
There are two permissions...
Linux file permissions for /home/keir/data &
window$ permissions for user keir on //robyn/data

does user keir have write permissions in window$ ?
Old 11-26-2002, 01:12 AM   #3
Registered: Dec 2001
Location: China
Distribution: Mandrake 7.2 and 8.1
Posts: 51

Original Poster
Rep: Reputation: 15
The share permissions are set to 'everyone' full control/read/write'. (It's a home nework) and there are no NTFS permissions (it's FAT 32).
Old 01-23-2003, 10:20 AM   #4
LQ Newbie
Registered: Jan 2003
Posts: 2

Rep: Reputation: 0
no need to use samba if you are trying to use a local partition, if u are trying to access a remote disk maybe the solution could be similar

anyway for local partition:
u can access the partition with read/write mode just adding a line in /etc/fstab
/dev/hdXX /wherever_u_want vfat gid=500,umask=0007 0 0

or as root:
mount -t vfat /dev/hdXX /wherever_u_want -o gid=500 -o umask=0007

this line add the permission to access/read/write/execute anything in the partition with windows to group=500 (see /etc/group)


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
Can't write to Samba share from Windows Needlotsahelp Linux - Newbie 3 07-30-2005 09:32 PM
write access to share on windows machine Delphinusnz Mandriva 0 11-16-2004 03:24 AM
Cannot write to SMB share as user, can as root GT_Onizuka Linux - Networking 3 10-03-2004 07:52 PM
can't write to VFAT samba share from WIndows dvanaken Linux - Software 3 05-13-2003 06:14 AM
Windows Unable to write to a network share??? Please help! shassouneh Linux - Networking 4 03-10-2002 06:02 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration