Announcement

Collapse
No announcement yet.

Changing permissions

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

    Changing permissions

    Recently I downloaded some footage from my digital camcorder onto my laptop. For many attempts this did not work at all with Kino until I figured out that the capture (although not the preview) worked if I typed kdesu kino in a terminal.

    With further help on the Linux Format website I ascertained that I had to change the permissions on /dev/raw1394 and /dev/dv1394.

    Using sudo konqueror I was able to do this. However, on reboot the settings had reverted . This happens every time.

    Is this a bug in kubuntu or kde? Assuming the latter, I would like to know how to change permissions from the command line so as to by-pass Konqueror.

    Thanks

    Ian

    #2
    Re: Changing permissions

    The way to change perms is to use the command "chmod". It's a little bit complicated so I would suggest starting a konsole (K>SYSTEM>Konsole) and typing in "man chmod". You'll probably wind up doing something like "sudo chmod 775 /dev/raw1394 /dev/dv1394".

    However, I suspect your going to have to repeat this command every time you reboot, because setting the perms on your firewire stuff is probably buried in some init script. Fortunately, you don't have to do this by hand every time you can reboot. You can write a one-line script including the appropriate line and put in your /home/liquidator/.kde/Autostart/ directory. <--Note the (dot) before kde

    Comment


      #3
      Re: Changing permissions

      Thanks

      Presumably running that script will invoke the password every time I boot? If that is the case then given that I would expect to use it fairly rarely that might be less convenient than now.

      It has also been suggested to me that if I make my group identity match the group of each device that should solve it as well. From memory one is "disk" and the other is "video". If I were to add those entries to my list of seconary groups would that do it too?


      Thanks

      Ian

      Comment


        #4
        Re: Changing permissions

        You're right, you would get a password request every time, if it were in Autostart, I forgot that, sorry. You'd have to place the chmod line in the /etc/rc.local file.

        With regard to the suggestion to put yourself into the group that owns the firewire devices, That would probably work, Most of the pseudofiles in /dev have perms -rw-rw----, so if you were a member of the appropriate group, you's be okay. I don't have any firewire devices on my current system, so I cant tell you which group to join. You'll have to navigate to the /dev directory and look at the two peudofiles in the "detailed list view" of konqueror.

        Comment

        Working...
        X