-
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

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR
$95.20

Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working
$149.99

Dell Poweredge VRTX 25Bay 2.5" 2x PERC 8, 2xCMC, I/O 1GB Pass Through, 4x PS
$578.08

AS IS READ DESCRIP. Supermicro SuperServer 6026TT-HIBQRF 12-Bay 4x X8DTT-HIBQF
$215.00

Datto S4P10 1U Blade Rack Server Intel Xeon D-2143IT 2.20GHz 48GB DDR4 4-Bay PSU
$197.76

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB
$149.99

Dell PowerEdge VRTX 2.5"x25 Bay Blade Enclosure 4x1600W + 4X M640 (4X Blades)
$1599.99

Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays
$799.99

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric
$174.99

Lenovo ThinkSystem SN550 Blade | 7X16 | 01KP356 | Drives and RAM not included
$299.99