LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 10-03-2004, 04:01 PM   #1
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
Cannot write to SMB share as user, can as root


I'm trying to access my brother's shared documents folder on his computer. I can mount it no problem as root or a regular user, but for some reason, I cannot add/remove anything to the drive unless I am root. I've changed the ownership of the mounted files themselves, yet I still cannot alter them, here's my entry in /etc/fstab

Code:
//blade/shareddocs  /mnt/jalel    smbfs     rw,uid=1000,gid=100,password=weee,fm
ask=0000,umask=0000 0 0
The uid and gid correspond to my username/groupname and I'm positive they're correct. Any ideas?
 
Old 10-03-2004, 07:05 PM   #2
gibiman
LQ Newbie
 
Registered: Aug 2004
Location: -
Posts: 16

Rep: Reputation: 0
Is your brother shared FS NTFS ? Because if it is ... It's only natural u do not have rw access.However in kernel 2.6 it is implemented, but not safe.Although i do not know for sure whether u can write as a normal user or only as root. Hmm :-? ... I'll look it up ... Well if it is NTFS i THINK this might be your problem !
 
Old 10-03-2004, 07:06 PM   #3
gibiman
LQ Newbie
 
Registered: Aug 2004
Location: -
Posts: 16

Rep: Reputation: 0
But I bet u already know that .... )
 
Old 10-03-2004, 07:52 PM   #4
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 30
It's not, it's mounted as a smbfs (Samba File System) so, despite the fact that he is using NTFS, it doesn't write to it as NTFS, so writing is perfectly safe (I asked that question earlier). I just don't understand why it isn't allowing me to do so as a normal user. It's irritating to su to root, just to copy a file over to my brother's computer.
 
  


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
Why is fmask & dmask required to write to a WinXP share mounted on Mdrake SMB client ruscook_oz Linux - Networking 1 02-08-2007 06:50 PM
Mount SMB Share from user account jeopardyracing Linux - Newbie 3 12-03-2004 06:04 PM
can't mount smb share as non-root user nixinbarrie Linux - Networking 5 09-27-2004 09:51 PM
smb share root folder GarroteYou Linux - Networking 3 07-02-2004 12:18 AM
How can I do an automated Read/Write SMB mount for a normal user? molear Linux - Newbie 1 07-01-2004 03:45 PM


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