Results 1 to 7 of 7

Thread: Post install problems w/HD permissions & desktop icons

  1. #1
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568

    Post install problems w/HD permissions & desktop icons

    Pardon me if this has been answered in another thread - I just couldn't find it.

    I have two "vfat" partitions, hda1 and hdb1, that I'd like to be able to access under my normal user account (I created one). (Knoppix is installed on hda2.)

    By default, Knoppix set them up this way in /etc/fstab (I changed "noauto" to "auto"):

    /dev/hda1 /mnt/hda1 auto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0

    (Same for hdb1.)

    However, for the "ext2" partition on hdb2 (it's a Red Hat partition), fstab reads:

    /dev/hdb2 /mnt/hdb2 ext2 auto,user,exec 0 0

    So I thought I'd just change the lines for hda1 and hdb1 to match the line for hdb2, but when I did, the partitions were mounted, I just couldn't access them as a normal user ("permission denied"), only as root. So I changed them back to the Knoppix default, and they are now accessible.

    So why is hdb2 accessible using that line in fstab, but hda1 and hdb1 require "umask", "uid", and "gid"? What do they mean? I tried chmod on /mnt/hdxx and /dev/hdxx, but it didn't work. Is there a difference between "user" and "users"?

    Also, every time I start KDE, my desktop icons' positions haven't been saved and I have to arrange them. Again. Any help with that?

    Thank you for any assistance.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Did you run (as root)

    mount -a

    after saving the new /etc/fstab?

    For a really detailed explanation of all the possible settings, take a peek at

    man mount

    &

    man fstab

    The desktop things can (probably) be retained if, when logging out, you make sure the "save settings" (or something similar) checkbox is ticked.

  3. #3
    Junior Member
    Join Date
    Feb 2003
    Posts
    9

    access rights

    You have to mount the fat32 hds with the user=knoppix ... options, since fat32 does not support access rights. If you mount it this way linux assigns the values from fstab (owner, group etc. ) to each file on the partition. If you donīt provide these options linux assumes that root is the owner ... of all files.

    the redhat partition is ext2 and thus supports access rights. Thatīs why you donīt have to provide further options in the fstab.

    So everything is fine and totally normal.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Ah, OK. Curiously, Red Hat does not require the same sort of permission-setting in fstab in order for the FAT32 partitions to be accessible to the normal user; however, only root can write to the disk (and it complains about permissions even then, when moving files to it).

    (Re "mount -a" - yes, I know about that one. After editing fstab, you can issue the "mount -a" command to (re-)mount all filesystems listed in fstab, thus immediately implementing your changes.

    Re a tick box that allows you to save the positions of your desktop icons, if you know where it is, please let me know.)

  5. #5
    Junior Member
    Join Date
    Feb 2003
    Posts
    9
    if redhat really allows access to mounted fat32 partitions to all users by default, this is not a feature, but a bug in my opinion.

    i donīt want my fat32 partitions to be readable for all users on my system.

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    It's been a while so I don't remember, but I highly doubt it's the default. I think you either have to tell the Red Hat installer you want them mounted, or add them manually to fstab as root.

  7. #7
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Finally found the setting that makes my icons stay put. It's in the KDE Control Center's "KDE Components" --> "Session Manager" section, under "On Login". Click the "Restore manually saved session" radio button, and KDE will put a "Save Session" icon on your K menu. After rearranging your desktop to your liking, click the "Save Session" icon. Next time KDE starts up, everything should be as you left it (including running programs).

    (This assumes you've done a hard disk install, of course.)

Similar Threads

  1. Desktop icons
    By oldgeezer in forum General Support
    Replies: 13
    Last Post: 05-24-2004, 06:46 AM
  2. Post-install DVD drive problems
    By stupidflanders in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 09-04-2003, 10:05 AM
  3. tip: how not lost desktop partition icons after hd-install
    By Carlos_E_Morimoto in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 02-05-2003, 08:37 AM
  4. post-HD install: apt-get dist-upgrade problems
    By in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 01-23-2003, 06:21 PM
  5. Where do the desktop icons go?
    By skyconcert in forum General Support
    Replies: 0
    Last Post: 12-20-2002, 05:19 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
  •  


Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays

$349.99



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Microsoft Windows Server 2022 Standard 64-bit License & DVD 16 Core US Shipping picture

Microsoft Windows Server 2022 Standard 64-bit License & DVD 16 Core US Shipping

$34.99



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays

$259.99



Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w

$168.95



Micron MTC40F2046S1RC48BA1 DDR5 64GB (1x64GB) 4800MHz RDIMM ECC Server Memory picture

Micron MTC40F2046S1RC48BA1 DDR5 64GB (1x64GB) 4800MHz RDIMM ECC Server Memory

$2599.99



SuperMicro 4U CSE 847 36 Bay LFF Barebone 2x 1280W w/ 2x Bays 2.5 Rear w/Trays picture

SuperMicro 4U CSE 847 36 Bay LFF Barebone 2x 1280W w/ 2x Bays 2.5 Rear w/Trays

$499.99



Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD picture

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD

$119.99



WINDOWS SERVER 2025 [REMOTE DESKTOP SERVICES] 50 USER  RDS CAL SEALED picture

WINDOWS SERVER 2025 [REMOTE DESKTOP SERVICES] 50 USER RDS CAL SEALED

$119.18