- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Mounting windows shared drive
Operating System - Linux
1748230
Members
4010
Online
108759
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2002 06:49 PM
11-16-2002 06:49 PM
Hey guys,
I have shared a drive on winXP and allowed network users to modify the files.
I mounted the filesystem on my Linux using the two following commands:
# mount -t smbfs -o rm //winxp/shared /mnt/xp_shared
# smbmount rw //winxp/shared /mnt/xp_shared -rw
Both have mounted the filesystem fine but in 755, I even treid to chmod 777 on the mount point and did not work.
Before mounting I checked that the mount point was 777.
What am I doing wrong?
additional info:
- WinXP sp1 files in directory are not marked read-only
- local LAN
- Linux RH 8.0 (hp linuxcoe) with iptables and smb services started
Thanks,
Seb
I have shared a drive on winXP and allowed network users to modify the files.
I mounted the filesystem on my Linux using the two following commands:
# mount -t smbfs -o rm //winxp/shared /mnt/xp_shared
# smbmount rw //winxp/shared /mnt/xp_shared -rw
Both have mounted the filesystem fine but in 755, I even treid to chmod 777 on the mount point and did not work.
Before mounting I checked that the mount point was 777.
What am I doing wrong?
additional info:
- WinXP sp1 files in directory are not marked read-only
- local LAN
- Linux RH 8.0 (hp linuxcoe) with iptables and smb services started
Thanks,
Seb
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2002 02:59 PM
11-17-2002 02:59 PM
Solution
You need to pass some mroe options to your 'mount' command, similar to this:
mount -t smbfs -o fmask=666,dmask=777 //winxp/shared /mnt/xp_shared
All such options that can be passed in the '-o' are listed in 'man 8 smbmount'.
Don't forget that you can add an entry (with these options) to your /etc/fstab to moun tit automatically upon boot-up, or use the Auto-Mounter (/etc/auto.misc) entry to do a similar thing.
mount -t smbfs -o fmask=666,dmask=777 //winxp/shared /mnt/xp_shared
All such options that can be passed in the '-o' are listed in 'man 8 smbmount'.
Don't forget that you can add an entry (with these options) to your /etc/fstab to moun tit automatically upon boot-up, or use the Auto-Mounter (/etc/auto.misc) entry to do a similar thing.
One long-haired git at your service...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP