Suddenly permissions are unknown?
I recently upgraded my system to Ubuntu 9.04. Everything was going fine until I installed the Mythweb plugin. All of a sudden, all my recording have been labeled "Override recording -- Don't record". I did some digging and discovered the permissions on my TV storage directory look like this:
Code:
... Code:
sudo chown -R mythtv:mythtv /TV I can see the file permissions when I run ls as root: Code:
$ sudo ls -l /TV |
Missing permission on directories:
Hi GTBlackwell,
Your problem is straightforward, but how it came about may not be. In Linux/Unix, a directory's permissions are interpreted a little differently than those of a standard data file. Read permission lets you see the names of the files in the directory (that is, the contents of the directory inode itself) but does not by itself let you read the files. Write permission lets you create files (put a new filename, etc. into the directory inode) but does not by itself let you put any content into the file you have created. To actually access the files pointed to by the directory you need execute permission to the directory itself. (In the Windows world, this corresponds to the "directory traversal" permission, which you can have even if you do not have read permissions to the directory....) In general, regardless of the ownership, a directory will be world-executable as well as world-readable. Try "chmod - R 755" on /TV. (Quick and dirty) The user mythtv will, of course, need write permissions as well. The more serious problem is what changed to cause the default permissions on the created directories to be incorrect, and I hope someone else can be of more help there. duggla |
All times are GMT -5. The time now is 03:24 PM. |