Mounting windows xp file system, creates mnt point, however, cant read files in share
Linux - NetworkingThis 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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.