-
Just noticed that I could access the cdrom drive as squeegy when it was mounted, trying to find any similarities.
-
root@mars:/mnt# ls -la
total 44
drwxr-xr-x 12 root root 4096 Dec 10 12:44 .
drwxr-xr-x 24 root root 4096 Dec 9 13:00 ..
drwxr-xr-x 2 root root 4096 Aug 18 2002 auto
drwxr-xr-x 2 root root 4096 Oct 4 14:18 bootfloppy
drwxr-xr-x 2 root root 4096 Dec 9 08:10 cdrom
lrwxrwxrwx 1 root root 16 Dec 9 07:08 floppy -> /mnt/auto/floppy
drwx------ 1 root root 8192 Dec 10 18:16 hda1
drwxr-xr-x 2 root root 4096 Dec 9 07:23 hdb1
drwxr-xr-x 2 root root 4096 Dec 9 07:23 hdc5
drwxr-xr-x 2 root root 4096 Dec 10 12:44 jupiter
drwxr-xr-x 2 root root 4096 Oct 4 14:19 miniroot
drwxr-xr-x 2 root root 4096 May 30 2001 test
drwxr-xr-x 2 root root 4096 Dec 9 07:31 wind
this is what it looks like when hda1 IS mounted. and hdb1 is not. It contains the correct mode or whatever, so that other users can read it. Then as soon as I mount the drive it looks like this.
drwxr-xr-x 12 root root 4096 Dec 10 12:44 .
drwxr-xr-x 24 root root 4096 Dec 9 13:00 ..
drwxr-xr-x 2 root root 4096 Aug 18 2002 auto
drwxr-xr-x 2 root root 4096 Oct 4 14:18 bootfloppy
drwxr-xr-x 2 root root 4096 Dec 9 08:10 cdrom
lrwxrwxrwx 1 root root 16 Dec 9 07:08 floppy -> /mnt/auto/floppy
drwx------ 1 root root 8192 Dec 10 18:16 hda1
drwx------ 1 root root 114688 Dec 10 18:46 hdb1
drwxr-xr-x 2 root root 4096 Dec 9 07:23 hdc5
drwxr-xr-x 2 root root 4096 Dec 10 12:44 jupiter
drwxr-xr-x 2 root root 4096 Oct 4 14:19 miniroot
drwxr-xr-x 2 root root 4096 May 30 2001 test
drwxr-xr-x 2 root root 4096 Dec 9 07:31 wind
As you can see the drives that are mounted lose their access permissions ? But like I said the cdrom is readable by squeegy when mounted.
-
alright now I have added the line umask=555 which when i mount the drive it now comes up with these permissions.
squeegy@mars:/mnt$ ls -la
total 38
drwxr-xr-x 12 root root 4096 Dec 10 12:44 .
drwxr-xr-x 24 root root 4096 Dec 9 13:00 ..
drwxr-xr-x 2 root root 4096 Aug 18 2002 auto
drwxr-xr-x 2 root root 4096 Oct 4 14:18 bootfloppy
dr-xr-xr-x 1 root root 2048 Dec 31 1969 cdrom
lrwxrwxrwx 1 root root 16 Dec 9 07:08 floppy -> /mnt/auto/floppy
drwx------ 1 root root 8192 Dec 10 18:16 hda1
drwx-w-r-- 1 root root 114688 Dec 10 18:46 hdb1
drwxr-xr-x 2 root root 4096 Dec 9 07:23 hdc5
drwxr-xr-x 2 root root 4096 Dec 10 12:44 jupiter
drwxr-xr-x 2 root root 4096 Oct 4 14:19 miniroot
drwxr-xr-x 2 root root 4096 May 30 2001 test
drwxr-xr-x 2 root root 4096 Dec 9 07:31 wind
I just think it needs a little more tweaking and it'll be there. What umask should i use ?
-
alright i finally got it to work, had to add uid=1000,gid=1000,umask=555 and it works now. thanks for all the suggestions.
Similar Threads
-
By scramble in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 02-06-2005, 05:46 PM
-
By knopppixnewbie in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 01-24-2005, 04:18 PM
-
By jay_kpx in forum General Support
Replies: 5
Last Post: 11-16-2004, 08:34 AM
-
By furryfren in forum General Support
Replies: 0
Last Post: 07-01-2004, 12:12 PM
-
By Bazy in forum General Support
Replies: 2
Last Post: 04-12-2004, 08:13 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

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed
$199.99

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...
$9.64

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern
$15.25

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$16.41

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99

D-Link DGS-1210-28P 28-Port PoE Gigabit Web Smart Switch With Cord
$49.99