Showing posts with label chmod. Show all posts
Showing posts with label chmod. Show all posts

Tuesday, May 7, 2013

Using chmod

Just bumped into an issue with chmod.  I tried to put setuid permissions in a file by doing chmod g+s but instead of giving me the small 's' permission.  It was giving me a capital 'S' permission.

Turns out, capital 'S' means the underlying 'x' permission is not set.  So, doing chmod g+x fixes this so the capital 'S' turns into a small 's'.

Monday, April 2, 2012

Issue with Real Video

I bumped into an issue with real video and it was something like Could not open required DirectShow codec drvc.so, or something to that effect.  I didn't read all of it and went immediately to search online for the answer.  The solution to my problem was actually just chmodding it.  I should have paid more attention to the error output.

sudo chmod 755 /usr/lib/win32/*
sudo chmod 755 /usr/lib/codecs/*

Ha!