-
Junior Member
registered user
Samba Mounting Issues
I just finished installing Knoppix to my hard disk this afternoon, after running the CD for a few days and deciding I liked it. I'm in the midst of finalizing my setup, and I've run into a nasty snag: permissions when mounting a Windows share with Samba.
At first, I thought that following the steps nececssary to mount the Win98 partition on my drive would work: create a mount point, chown it so that appropriate users could access it (I'm going on the group-based method: root:windows owns the directory, and my knoppix user is part of that group), and then mount it up (using "mount -t smbfs -o gid=windows //SERVER/C /mntpoint").
However, I've run into a major snag going this: only root can write to that directory now. Interestingly enough, I'd tried "chmod 777 /mntpoint" before mounting, and then I see permissions go back to 755 (drwxr-xr-x); I've even had ownership revert to root:root on me. I must admit, that's extremely weird/unnerving.
How exactly should I be mounting up this networked Windows (XP, in this case) share to let folks besides root access it?
Oh, and while I'm at it, how the heck can I set this up in /etc/fstab so I don't have to do it manually every time I reboot?
Thanks,
Alex Kirk
-
Senior Member
registered user
As far as your /etc/fstab I would expect something like:
//server/c /mountpoint smbfs defaults,user,gid=windows 0 0
(in your options you might want to try umask=002)
In my home LAN, I don't need to worry about security so I've set up a common password on all machines, windows and linux, so it's easy for me to either write to windows from linux or to linux from windows.
HTH
rock
Similar Threads
-
By rasafrasit in forum Hardware & Booting
Replies: 3
Last Post: 02-03-2004, 02:17 PM
-
By MoFoQ in forum Customising & Remastering
Replies: 2
Last Post: 12-27-2003, 08:30 PM
-
By smarchand291 in forum General Support
Replies: 0
Last Post: 11-08-2003, 11:41 PM
-
By juan_sck in forum General Support
Replies: 2
Last Post: 10-17-2003, 01:36 PM
-
By Prototask in forum General Support
Replies: 2
Last Post: 01-21-2003, 10:26 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch + NM-8X Module picture](/store/img/g/adoAAOSwyBpmPhv-/s-l225/Cisco-Catalyst-C9300-24UX-A-24-Port-10G-mGig-UPOE-.jpg)
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch + NM-8X Module
$579.97
![Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack picture](/store/img/g/cqoAAOSwtYVmS7LQ/s-l225/Cisco-WS-C2960X-48FPD-L-48-V07-POE-GE-2-10G-SFP-LA.jpg)
Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack
$99.95
![Cisco Meraki MX250-HW Cloud Managed Security Appliance - UNCLAIMED picture](/store/img/g/EdQAAOSw12dmaHxh/s-l225/Cisco-Meraki-MX250-HW-Cloud-Managed-Security-Appli.jpg)
Cisco Meraki MX250-HW Cloud Managed Security Appliance - UNCLAIMED
$325.00
![Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig Copper UPOE Network Switch picture](/store/img/g/UdkAAOSwDmpmMtqf/s-l225/Cisco-Catalyst-C9300-24UX-A-24-Port-10G-mGig-Coppe.jpg)
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig Copper UPOE Network Switch
$549.00
![Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture](/store/img/g/yEAAAOSwxVReIhma/s-l225/Cisco-C3850-NM-2-10G-2-Port-Network-Exp-Module-for.jpg)
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$30.99
![Cisco C3850-NM-4-10G 4 Port Network Exp.Module for 3850 picture](/store/img/g/qPUAAOSwuOJd2AEx/s-l225/Cisco-C3850-NM-4-10G-4-Port-Network-Exp-Module-for.jpg)
Cisco C3850-NM-4-10G 4 Port Network Exp.Module for 3850
$139.90
![CISCO SFP-10G-LR SFP TRANSCEIVER MODULE GBIC 10G 10GB SFP - 1 Year Warranty picture](/store/img/g/FkQAAOSwtBZbqRX9/s-l225/CISCO-SFP-10G-LR-SFP-TRANSCEIVER-MODULE-GBIC-10G-1.jpg)
CISCO SFP-10G-LR SFP TRANSCEIVER MODULE GBIC 10G 10GB SFP - 1 Year Warranty
$39.99
![Cisco WS-C2960S-F48LPS-L 2960S Series 48 Port Gigabit Switch, 1 Year Warranty picture](/store/img/g/hsYAAOSwNEtjYpaA/s-l225/Cisco-WS-C2960S-F48LPS-L-2960S-Series-48-Port-Giga.jpg)
Cisco WS-C2960S-F48LPS-L 2960S Series 48 Port Gigabit Switch, 1 Year Warranty
$27.50
![Cisco FPR1010-NGFW-K9 FirePOWER Security Appliance **CISCO EXCESS** picture](/store/img/g/-YEAAOSwo45mW8aP/s-l225/Cisco-FPR1010-NGFW-K9-FirePOWER-Security-Appliance.jpg)
Cisco FPR1010-NGFW-K9 FirePOWER Security Appliance **CISCO EXCESS**
$339.00
![Cisco Nexus N9K-C93180YC-FX 48 Port Network Switch picture](/store/img/g/CE8AAOSwR3tcNO9O/s-l225/Cisco-Nexus-N9K-C93180YC-FX-48-Port-Network-Switch.jpg)
Cisco Nexus N9K-C93180YC-FX 48 Port Network Switch
$1385.00