Announcement

Collapse
No announcement yet.

Permissions for removable drives not visible

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Permissions for removable drives not visible

    Hi,I've just installed Kubuntu karmic and upgraded it to kde 4.4.After installation I would like to configure Kubuntu such that an user on my system won't be able to access any of my ntfs removable drives.I tried in vain changing the permissions via systemsettings>Advanced>UserMgmt
    Platform Version 4.4.1 (KDE 4.4.1)

    #2
    Re: Permissions for removable drives not visible

    I think that you just need to remove the group plugdev (Secondary Groups) from the specific user(s).
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Permissions for removable drives not visible

      No I checked and the user is not a member of that group,still the user is able to mount ntfs drives without inputting password.Thanks for the help

      Comment


        #4
        Re: Permissions for removable drives not visible

        You stated "ntfs removable drives" - are these USB HDs identified in your /etc/fstab file?
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: Permissions for removable drives not visible

          Those are normal ntfs drives connected to my computer.Here is the list:

          Code:
          abhishek@Home:~$ sudo cat /etc/fstab 
          # /etc/fstab: static file system information.
          #
          # Use 'blkid -o value -s UUID' to print the universally unique identifier
          # for a device; this may be used with UUID= as a more robust way to name
          # devices that works even if disks are added and removed. See fstab(5).
          #
          # <file system> <mount point>  <type> <options>    <dump> <pass>
          proc      /proc      proc  defaults    0    0
          # / was on /dev/sda9 during installation
          UUID=fa07063e-bce0-4b1f-ac82-965518b9c2ba /        ext4  errors=remount-ro 0    1
          # /home was on /dev/sda7 during installation
          UUID=9352310d-1a83-424e-abf8-95cc55608261 /home      ext4  defaults    0    2
          # swap was on /dev/sda8 during installation
          UUID=fd2d5eff-d785-469c-8d7d-71df7e8a724a none      swap  sw       0    0
          /dev/scd0    /media/cdrom0  udf,iso9660 user,noauto,exec,utf8 0    0


          Code:
          abhishek@Home:~$ sudo fdisk -l
          
          Disk /dev/sda: 160.0 GB, 160041885696 bytes
          255 heads, 63 sectors/track, 19457 cylinders
          Units = cylinders of 16065 * 512 = 8225280 bytes
          Disk identifier: 0x0166437b
          
            Device Boot   Start     End   Blocks  Id System
          /dev/sda1  *      1    9561  76798701  7 HPFS/NTFS
          /dev/sda2      9562    19457  79489620  7 HPFS/NTFS
          
          Disk /dev/sdb: 320.1 GB, 320072933376 bytes
          255 heads, 63 sectors/track, 38913 cylinders
          Units = cylinders of 16065 * 512 = 8225280 bytes
          Disk identifier: 0xf62ef62e
          
            Device Boot   Start     End   Blocks  Id System
          /dev/sdb1  *      1     13   102400  7 HPFS/NTFS
          Partition 1 does not end on cylinder boundary.
          /dev/sdb2       13    3188  25503744  7 HPFS/NTFS                                                                                
          /dev/sdb3      3189    38913  286961062+  f W95 Ext'd (LBA)                                                                             
          /dev/sdb5      3189    16572  107506948+  7 HPFS/NTFS                                                                                
          /dev/sdb6      24221    38913  118021491  7 HPFS/NTFS                                                                                
          /dev/sdb7      16573    22043  43945776  83 Linux                                                                                  
          /dev/sdb8      22044    22396   2835441  82 Linux swap / Solaris                                                                           
          /dev/sdb9      22397    24220  14651248+ 83 Linux

          Comment


            #6
            Re: Permissions for removable drives not visible

            Well, I've tested this. I created a new user (Lab_Rat) and under Privileges & Groups, unchecked Access external storage devices automatically and under Groups, ensured that plugdev was unchecked.

            Logged out of my current session and logged in as the new user. Opened Dolphin. All my external USB partitions were shown (as they should be), but my new user was not able to access them.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: Permissions for removable drives not visible

              Hmm,I tried the same but the user has access to the ntfs drives.I guess I'll go for a reinstall and stick to kde 4.3x.Thanks a lot for the help

              Comment

              Working...
              X