|
|||||||
| Linux Operating Systems Talk about all Linux distributions and software here! |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
DriverHeaven Lover
Join Date: Dec 2002
Location: In your backyard
Posts: 236
Rep Power: 0 ![]() |
i made a mountpoint in the /mnt directory, and i linked it to my /dev/hdb7 partition on my second disk.
funny thing is when it is mounted i can't set permissions , even when using the root account, so i unmount it. when it's not mounted i can set my permissions, and when i mount again my permissions are gone again, so now i can only read my mounts when using my root account and not my normal account. so anyone what's the deal?
__________________
System 1: CPU: AMD Athlon 64 3200+ (socket 939) | DVD-RW: Sony DVD RW DW-U18A | Motherboard: MSI K8N Neo2-54G | GFX: nVidia Geforce 6600 GT | Monitor: Samsung SyncMaster 1100DF | RAM: 1 GB Kingston PC 3200 | Sound: Soundblaster X-Fi | Main HDD: 2 * Western Digital Raptor 36.7GB Serial ATA 10000RPM @ RAID 0 | Storage HDD: Maxtor DiamondMAX Plus 9 120 GB 8 MB Cache | DVD: Lite-On 16* DVD | OS: Windows XP SP2 | PSU: Sweex 650W PSU System 2: CPU: AMD Sempron 3000+ | Motherboard: MSI K7N2 Delta2-FSR | GFX: nVidia Geforce 6200 256 MB | Monitor: Hercules Prophetview 920 PRO | RAM: 1 GB Kingston PC 3200 | Sound: Nvidia Soundstorm | Main HDD: Maxtor DiamondMAX Plus 9 80 GB 8 MB Cache | CD-ROM: NEC 52* CD | OS: FreeBSD 6.0-STABLE | PSU: A-Open 300W PSU Laptop: CPU: AMD Mobile Sempron 3100+ | GFX: SiS M760GX 128 MB | Monitor: 15" XGA TFT LCD | RAM: 1 GB Kingston PC 3200 | Sound: Realtek AC '97 audio | HDD: 40 GB | DVD-RW: Slimtype DVDRW SOSW-833S | OS: Windows XP PRO SP2 |
|
|
|
|
|
#2 |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Well, a cheesy solution would be to either add yourself to the group that can access the mount point or change the owner of the folder using chown.
It seems odd that it would do that though. What exactly do you mean by linking to /dev/hdb7? You're just refering to mounting that device to a certain directory, not a soft link, correct?
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
DriverHeaven Lover
Join Date: Dec 2002
Location: In your backyard
Posts: 236
Rep Power: 0 ![]() |
/dev/hdb7 is my second harddrive's 4th partition, but i'll try your solutions, thanx.
__________________
System 1: CPU: AMD Athlon 64 3200+ (socket 939) | DVD-RW: Sony DVD RW DW-U18A | Motherboard: MSI K8N Neo2-54G | GFX: nVidia Geforce 6600 GT | Monitor: Samsung SyncMaster 1100DF | RAM: 1 GB Kingston PC 3200 | Sound: Soundblaster X-Fi | Main HDD: 2 * Western Digital Raptor 36.7GB Serial ATA 10000RPM @ RAID 0 | Storage HDD: Maxtor DiamondMAX Plus 9 120 GB 8 MB Cache | DVD: Lite-On 16* DVD | OS: Windows XP SP2 | PSU: Sweex 650W PSU System 2: CPU: AMD Sempron 3000+ | Motherboard: MSI K7N2 Delta2-FSR | GFX: nVidia Geforce 6200 256 MB | Monitor: Hercules Prophetview 920 PRO | RAM: 1 GB Kingston PC 3200 | Sound: Nvidia Soundstorm | Main HDD: Maxtor DiamondMAX Plus 9 80 GB 8 MB Cache | CD-ROM: NEC 52* CD | OS: FreeBSD 6.0-STABLE | PSU: A-Open 300W PSU Laptop: CPU: AMD Mobile Sempron 3100+ | GFX: SiS M760GX 128 MB | Monitor: 15" XGA TFT LCD | RAM: 1 GB Kingston PC 3200 | Sound: Realtek AC '97 audio | HDD: 40 GB | DVD-RW: Slimtype DVDRW SOSW-833S | OS: Windows XP PRO SP2 |
|
|
|
|
|
|
|
DriverHeaven Lover
Join Date: Dec 2002
Location: In your backyard
Posts: 236
Rep Power: 0 ![]() |
nope your solutions didn't work, so i asked my friend who's kind of a "linux Guru" , it's working now with this line in /etc/fstab
/dev/hdb7 /win-g vfat umask=0000,iocharset=iso8859-1,codepage=850,noexec,nosuid 0 0
__________________
System 1: CPU: AMD Athlon 64 3200+ (socket 939) | DVD-RW: Sony DVD RW DW-U18A | Motherboard: MSI K8N Neo2-54G | GFX: nVidia Geforce 6600 GT | Monitor: Samsung SyncMaster 1100DF | RAM: 1 GB Kingston PC 3200 | Sound: Soundblaster X-Fi | Main HDD: 2 * Western Digital Raptor 36.7GB Serial ATA 10000RPM @ RAID 0 | Storage HDD: Maxtor DiamondMAX Plus 9 120 GB 8 MB Cache | DVD: Lite-On 16* DVD | OS: Windows XP SP2 | PSU: Sweex 650W PSU System 2: CPU: AMD Sempron 3000+ | Motherboard: MSI K7N2 Delta2-FSR | GFX: nVidia Geforce 6200 256 MB | Monitor: Hercules Prophetview 920 PRO | RAM: 1 GB Kingston PC 3200 | Sound: Nvidia Soundstorm | Main HDD: Maxtor DiamondMAX Plus 9 80 GB 8 MB Cache | CD-ROM: NEC 52* CD | OS: FreeBSD 6.0-STABLE | PSU: A-Open 300W PSU Laptop: CPU: AMD Mobile Sempron 3100+ | GFX: SiS M760GX 128 MB | Monitor: 15" XGA TFT LCD | RAM: 1 GB Kingston PC 3200 | Sound: Realtek AC '97 audio | HDD: 40 GB | DVD-RW: Slimtype DVDRW SOSW-833S | OS: Windows XP PRO SP2 |
|
|
|
|
|
#5 |
|
DriverHeaven Junior Member
Join Date: Jun 2002
Location: Germany
Posts: 99
Rep Power: 0 ![]() |
set umask=0 in your fstab
|
|
|
|
|
|
#6 | |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Quote:
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
#7 |
|
DriverHeaven Newbie
Join Date: Jun 2004
Location: Cyberspace
Posts: 18
Rep Power: 0 ![]() |
I would get rid of that mess and just put ... /dev/hdb7/ /mnt/harddrive4(or whatever) ext3 (or whatever the file system is.. vfat whatever) default(or noauto) 0 0
you don't need the umask (diagnostic purposes only for chmod) or iocharset unless you need to to see non english names. or if this is DOS type partition then I would use these in place of defaults: rw,nosuid,dev,exec,noauto,user,async
__________________
"Technological progress is like an axe in the hands of a pathological criminal." --Albert Einstein |
|
|
|
![]() |
| Thread Tools | |
|
|