Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problems mounting smbfs/ntfs in /etc/fstab to give read-write permissions

Reply
Thread Tools Display Modes

Problems mounting smbfs/ntfs in /etc/fstab to give read-write permissions

 
 
relaxedrob@optushome.com.au
Guest
Posts: n/a

 
      09-07-2004, 04:41 AM
Hi All,

I have the following line in my /etc/fstab to mount an NTFS drive:

//HONS/RobertMarkBram /phdWeb smbfs
rw,username=rob,password=XXXXXX,uid=gid=500 0 0

I have that id, but I still do not have write permissions:

robertmarkbram - /phdWeb
$id
uid=500(robertmarkbram) gid=500(robertmarkbram)
groups=500(robertmarkbram),0(root)

robertmarkbram - /phdWeb
$touch temp
touch: creating `temp': Permission denied

robertmarkbram - /phdWeb
$ls -lad .
drwxr-xr-x 1 65535 root 4096 Sep 3 17:19 .

Can anyone tell me what is going wrong?

Any advice would be most appreciated!

Rob

 
Reply With Quote
 
 
 
 
Walter Mautner
Guest
Posts: n/a

 
      09-07-2004, 06:09 AM
(E-Mail Removed) wrote:

> Hi All,
>
> I have the following line in my /etc/fstab to mount an NTFS drive:
>
> //HONS/RobertMarkBram /phdWeb smbfs
> rw,username=rob,password=XXXXXX,uid=gid=500 0 0
>
> I have that id, but I still do not have write permissions:
>
> robertmarkbram - /phdWeb
> $id
> uid=500(robertmarkbram) gid=500(robertmarkbram)
> groups=500(robertmarkbram),0(root)
>
> robertmarkbram - /phdWeb
> $touch temp
> touch: creating `temp': Permission denied
>
> robertmarkbram - /phdWeb
> $ls -lad .
> drwxr-xr-x 1 65535 root 4096 Sep 3 17:19 .
>
> Can anyone tell me what is going wrong?
>

From the permission set, "root" as group has only read access. Instead, the
share is mounted as "nobody" or a user that doesn't exist on your system.
The syntax "uid=gid" isn't mentioned as legal in the mount documentation and
might therefore be ignored?
--
Longhorn error#4711: TCPA / NGSCB VIOLATION: Microsoft optical mouse
detected penguin patterns on mousepad. Partition scan in progress
*to*remove*offending*incompatible*products.**Reactivate*your*MS*software.
Linux woodpecker.homnet.at 2.6.8reiser4pkt*[LinuxCounter#295241]
 
Reply With Quote
 
relaxedrob@optushome.com.au
Guest
Posts: n/a

 
      09-07-2004, 11:36 PM
Hi Walter,

> > //HONS/RobertMarkBram /phdWeb smbfs
> > rw,username=rob,password=XXXXXX,uid=gid=500 0 0


> From the permission set, "root" as group has only read access. Instead, the
> share is mounted as "nobody" or a user that doesn't exist on your system.
> The syntax "uid=gid" isn't mentioned as legal in the mount documentation and
> might therefore be ignored?


That did the trick! I changed that part to "uid=500,gid=500" and it works fine.

Thank you very much!

Rob

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NTFS Permissions Required To Give User Modify on Deeply Nested Folder Will Windows Networking 3 01-21-2008 08:50 AM
Share / NTFS Permissions Windows 2003 Server Subfolder bert Windows Networking 3 04-12-2006 05:50 PM
viewing NTFS permissions dtm Windows Networking 2 03-29-2006 12:54 PM
Fedora4 disk mounting (fstab mods) Chris Richmond - MD6-FDC ~ Linux Networking 2 12-31-2005 03:59 AM
help! - NTFS network drive mounted smbfs has invisible files? Jeff Linux Networking 0 08-06-2003 10:07 PM



1 2 3 4 5 6 7 8 9 10 11