Announcement

Collapse
No announcement yet.

[Solved]Chmod problem

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

    [Solved]Chmod problem

    I was trying to configure Kink and told me it didn't detect my usb printer an to chmod something.

    I tried chmoding /dev/bus/usb/002 but kink didn't work, anyway I couldn't access the folder now so I tried to put the permissions as the were (rwx-xr-x)
    but when I try to do this, I'm unable to give read permission to the folder.
    Look:
    Code:
    xxxxx@xxxx:/dev/bus/usb$ ls -l
    total 0
    drwxr-xr-x 2 root root 60 2007-10-22 13:27 001
    drwxr-x--x 2 root root 80 2007-10-22 13:27 002
    drwxr-xr-x 2 root root 80 2007-10-22 13:27 003
    drwxr-xr-x 2 root root 60 2007-10-22 13:27 004
    drwxr-xr-x 2 root root 60 2007-10-22 13:27 005
    lrwxrwxrwx 1 root root 14 2007-10-22 16:27 devices -> .usbfs/devices
    xxxxx@xxxx:/dev/bus/usb$ sudo chmod g+r ./002/
    xxxxx@xxxx:/dev/bus/usb$ ls -l
    total 0
    drwxr-xr-x 2 root root 60 2007-10-22 13:27 001
    drwxr-x--x 2 root root 80 2007-10-22 13:27 002
    drwxr-xr-x 2 root root 80 2007-10-22 13:27 003
    drwxr-xr-x 2 root root 60 2007-10-22 13:27 004
    drwxr-xr-x 2 root root 60 2007-10-22 13:27 005
    lrwxrwxrwx 1 root root 14 2007-10-22 16:27 devices -> .usbfs/devices
    xxxx@xxx:/dev/bus/usb$ sudo chmod 751 ./002/
    xxxxx@xxxx:/dev/bus/usb$ ls -l
    total 0
    drwxr-xr-x 2 root root 60 2007-10-22 13:27 001
    drwxr-x--x 2 root root 80 2007-10-22 13:27 002
    drwxr-xr-x 2 root root 80 2007-10-22 13:27 003
    drwxr-xr-x 2 root root 60 2007-10-22 13:27 004
    drwxr-xr-x 2 root root 60 2007-10-22 13:27 005
    lrwxrwxrwx 1 root root 14 2007-10-22 16:27 devices -> .usbfs/devices
    It should be as the rest of the folders but I can get the reading permission to work.

    #2
    Re: Chmod problem

    Sorry! this should had been in Feisty Fawn Forum

    Comment


      #3
      Re: Chmod problem

      Seems to be working to me, the permissions you set (g+r and 751) are there:
      d rwx(user) r-x(group) --x(others) 2 root root 80 2007-10-22 13:27 002

      If you wish it to be same as the other folders use o+r or 755 (giving read permission for others)

      Comment


        #4
        Re: Chmod problem

        Thanks that fixed my problem

        Comment

        Working...
        X