Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-13-2005, 08:36 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Posts: 13
Rep:
|
Mounting windows xp file system, creates mnt point, however, cant read files in share
Attempting to mount windows xp file system share on seperate machine.
When I use:
mount -t smbfs //servername/share /mountpoint
Receive warning 'Ignoring badly formed line in conjunction file: read only -yes'
When I df, the mount point has been created to the windows file system with an accurate block %. However, when I cd to mount point, there is no reference to my share directory or files within the directory.
Please advise on course of action.
Can ping to / from host remote using host name, ip, fully qualified names.
Also tried mount -t vfat //servername/share /mountpoint
Recv: special device does not exist.
I can ping servername being used.
Last edited by cmd0a0; 04-13-2005 at 09:29 PM.
|
|
|
04-14-2005, 05:19 AM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524
Rep:
|
try grepping your conj. files (or all your files...) for `read only -yes', and fix any appropriate file that shows up.
|
|
|
04-14-2005, 05:23 AM
|
#3
|
Member
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821
Rep:
|
due to permission.
check ur shared file is view by others.
give read mode.
|
|
|
04-14-2005, 05:38 AM
|
#4
|
Member
Registered: Apr 2005
Location: Bangalore
Distribution: Redhat, CentOS, AIX
Posts: 93
Rep:
|
mount -t smbfs - o username=loginname //hostname/share /mnt/mountdir
|
|
|
04-14-2005, 05:39 AM
|
#5
|
Member
Registered: Apr 2005
Location: Bangalore
Distribution: Redhat, CentOS, AIX
Posts: 93
Rep:
|
this should work ^
thanks,
Rinish.P
|
|
|
04-14-2005, 09:54 AM
|
#6
|
LQ Newbie
Registered: Oct 2004
Posts: 13
Original Poster
Rep:
|
Rinish, this worked well:
mount -t smbfs - o username=loginname //hostname/share /mnt/mountdir
I now configured fstab to mount upon boot.
my syntax in fstab:
servername/share /mountpoint vfat <args>
Question with <args>: all files s/b rw,exec for applmgr user or dba group mbrs. Also, as applmgr, should be able to chmod,chgrp,chown as applmgr.
Currently, even as root, unable to change permisions.
I did read that the following args will work:
rw,exec,nosuid,nodev,user.
What do you think. Thanks.
Last edited by cmd0a0; 04-14-2005 at 12:45 PM.
|
|
|
04-14-2005, 02:59 PM
|
#7
|
LQ Newbie
Registered: Oct 2004
Posts: 13
Original Poster
Rep:
|
After doing more reading, I did find out that you cannot change the permissions when using vfat. Ultimately, you can set options to allow users / group the appropriate permissions to the dir / files.
That said, I will attempt to use the umask, uid and gid options and ensure that I can read/write files on the file system as applmgr & dba group.
Thanks.
|
|
|
04-14-2005, 08:48 PM
|
#8
|
LQ Newbie
Registered: Oct 2004
Posts: 13
Original Poster
Rep:
|
Still cant get the proper config using fstab. Upon boot, it states that it cannot identify my device. So i go back to the mount at the command line. I am able to mount, however, cannot write a file out to share on file system as user applmgr, even though i have specified the user explicitly.
I can however, edit any doc in the dir !
Any advise would be greatly appreciated.
Last edited by cmd0a0; 04-14-2005 at 08:53 PM.
|
|
|
04-15-2005, 02:49 AM
|
#9
|
Member
Registered: Apr 2005
Location: Bangalore
Distribution: Redhat, CentOS, AIX
Posts: 93
Rep:
|
in ur fstab try with this
//host/share /mnt/mountdir smbfs uid=username,gid=groupname,username=username/domainname 0 0
Thanks,
Rinish.P
|
|
|
04-15-2005, 10:15 AM
|
#10
|
LQ Newbie
Registered: Oct 2004
Posts: 13
Original Poster
Rep:
|
Thanks for everyones assistance. Was able to resolve in fstab with :
//hostname/share /mnt/rman smbfs username=xxxx,password=xxxx,uid=500,gid=500,rw
|
|
|
04-16-2005, 01:28 AM
|
#11
|
Member
Registered: Apr 2005
Location: Bangalore
Distribution: Redhat, CentOS, AIX
Posts: 93
Rep:
|
that was great cmd0a0
|
|
|
All times are GMT -5. The time now is 08:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|