-
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

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

Cisco SFP-H10GB-CU Series 10Gb SFP+ Direct Attach Copper (DAC) Cables
$12.00

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

10Gtek ASF-10G-T 10GBase-T SFP+ to RJ45 Copper Transceiver Module
$19.98

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94

Intel SPTSLP2SLCDE 100G-DR1 QSFP28 500m 1311nm Transceivers - Lot of 10 - New
$200.00

New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US
$17.00