LinuxQuestions.org
Help answer threads with 0 replies.
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-15-2004, 03:20 PM   #1
carlbrans
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
mount linux as samba client, own mountpoint


I am trying to have full rwx access from my SUSE9.1 Linux box to a shared directory, “test” residing in a Windows XP box, “Brans4,” on a MS LAN. The MS share settings are correct, I believe, giving shared access to appropriate directories with specific user ID/PW. This checks out from other MS machines.

After creating smby from my user account, so user owns it, I mount these files from root with

mount –t smbfs //Brans4/test /home/brans/smby

This works OK, and the data is in my ~/smby, and I have full rwx access as root, but only rx access as user. Actually, ownership of smby has passed to root. Furthermore, an attempt to chown or chmod from root results in a “permission denied” error message for both directory and files. This strikes me as very strange since root has full rwx access, and can even delete files but cannot chmod or chown on this directory or its files.

I want full ownership of /~/smby/* from the user, brans, account. The above procedure is not giving it to me, so ???

1) Am I missing some option setting in the mount command?
2) Is there a mount command I can run as user brans?



Thanks.
CB
 
Old 10-15-2004, 05:01 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
try this
Code:
mount –t smbfs //Brans4/test /home/brans/smby -o uid=500,gid=500
replace 500 with the correct uid if you need to of course.
 
  


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
Mount client for linux? ditlev Linux - Software 1 10-13-2005 12:15 PM
samba: mount-folder in client gives only root permissions mvo Linux - Newbie 3 09-16-2005 11:39 AM
Can't remove Samba mountpoint NelsonN Mandriva 3 02-19-2005 02:16 PM
Samba Client Mount awtoc123 Linux - Networking 4 05-20-2004 11:48 AM
howto? samba share NTFS mount to W2K client slintz Linux - Software 0 06-02-2003 06:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:34 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
Open Source Consulting | Domain Registration