-
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
![Lenovo Laptop ThinkPad Light Gaming AMD Ryzen 7 PRO 8GB 256GB SSD Windows 11 picture](/store/img/g/wUwAAOSwtRhmaVRt/s-l225/Lenovo-Laptop-ThinkPad-Light-Gaming-AMD-Ryzen-7-PR.jpg)
Lenovo Laptop ThinkPad Light Gaming AMD Ryzen 7 PRO 8GB 256GB SSD Windows 11
$286.00
![15.6](/store/img/g/aFMAAOSwS4dmT5XL/s-l225/15-6-Lenovo-ThinkPad-Laptop-PC-Intel-i5-16GB-RAM-5.jpg)
15.6" Lenovo ThinkPad Laptop PC: Intel i5 16GB RAM 512 SSD Windows 10 Webcam
$229.99
![Lenovo ThinkPad X1 Carbon Gen 8 Core i5 10310U 16 GB 256 GB, Windows 11 Home picture](/store/img/g/XbkAAOSwzZ9mfHz2/s-l225/Lenovo-ThinkPad-X1-Carbon-Gen-8-Core-i5-10310U-16-.jpg)
Lenovo ThinkPad X1 Carbon Gen 8 Core i5 10310U 16 GB 256 GB, Windows 11 Home
$254.99
![Lenovo ThinkBook 15 Gen 4 Notebook 15.6](/store/img/g/p58AAOSwUlZman8a/s-l225/Lenovo-ThinkBook-15-Gen-4-Notebook-15-6-FHD-Intel-.jpg)
Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD Intel Core i7-1255U 8GB RAM
$599.99
![Lenovo ThinkBook 15 Gen 4 Notebook 15.6](/store/img/g/sfoAAOSwilxmMx9X/s-l225/Lenovo-ThinkBook-15-Gen-4-Notebook-15-6-FHD-AMD-R7.jpg)
Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD AMD R7 5825U 16GB RAM 512GB SSD
$559.99
![Lenovo - Legion Slim 5 16](/store/img/g/k70AAOSwoZZkjHfX/s-l225/Lenovo-Legion-Slim-5-16-Gaming-Laptop-WUXGA-Ryzen-.jpg)
Lenovo - Legion Slim 5 16" Gaming Laptop WUXGA - Ryzen 5 7640HS with 16GB Mem...
$949.99
![Lenovo Legion Pro 5i 16](/store/img/g/pS8AAOSwVcRme8wL/s-l225/Lenovo-Legion-Pro-5i-16-Gaming-Laptop-RTX-4070-8GB.jpg)
Lenovo Legion Pro 5i 16" Gaming Laptop RTX 4070 8GB i9-13900HX 16GB RAM 1TB SSD
$2008.85
![Lenovo ThinkPad T490 14](/store/img/g/wPUAAOSwgrJmfA6h/s-l225/Lenovo-ThinkPad-T490-14-i7-8665U-16GB-RAM-256GB-SS.jpg)
Lenovo ThinkPad T490 14" (i7-8665U - 16GB RAM - 256GB SSD - Win11Pro)
$139.84
![Lenovo ThinkPad E15 Gen 3 - AMD Ryzen 7 5700U 16GB RAM 256GB SSD Windows 11 Pro picture](/store/img/g/zz4AAOSwcZ1meGIL/s-l225/Lenovo-ThinkPad-E15-Gen-3-AMD-Ryzen-7-5700U-16GB-R.jpg)
Lenovo ThinkPad E15 Gen 3 - AMD Ryzen 7 5700U 16GB RAM 256GB SSD Windows 11 Pro
$275.00
![lenovo legion gaming laptop pro 15arh05 Ryzen 5 15.6 black picture](/store/img/g/iCcAAOSwlFNmcFJ0/s-l225/lenovo-legion-gaming-laptop-pro-15arh05-Ryzen-5-15.jpg)
lenovo legion gaming laptop pro 15arh05 Ryzen 5 15.6 black
$450.00