Quote:
Originally Posted by Tinkster
What is "the map"? You should still be able to do this as root (sudo)
and then just also "sudo chown -R your_user /media/music" ...
|
the maps are all listed in music. music a disk, full of music.
So, its evrything in there..
i gona try your string, just to se what shud happen..
thx for your input..
Edit:
i have tryed the next command:
sudo chmod 400 -R myuser /media/music/music/ *.*
The *.* is for all the files and subfiles that are in the music dir.
I got the following error:
chmod: cannot access `myuser': No such file or directory
In the end, it changes the premissions to 400, and the user `myuser`cant get access to the dir `music.
If i look at a mp3 in one of the dir, it has the following rights:
-rwx---r-x
I forgot to mention that it is a Ubuntu 8.10 system..
ofcourse, if i go to the subdir, and do a chmod 400 *.*, it changes the files to the correct user, and i have still acces... but to do that in over 400 dirs......
edit:
i think that i have found the right chmod command..
I have done the following:
chmod -R a-x+X /media/music/music/
this sets all the files and subfiles to read only.
Then i have changed the premissions to rxw for mediatomb.db. Maby not smart or nessecary, but it seems that it is reading all the files, whitout problems. I dont have found anny error, regardless the extention (mp3, wav, flac ect).
I can only try it out when it is done reading the files. so, i will keep you updated.
thx for the input.