[mythtv-users] How do I delete

Johnny jarpublic at gmail.com
Sun Sep 20 14:21:07 UTC 2009


> I thought the drive was set to read write for everyone with this entry in my
> fstab;
> UUID=f5e7cb65-25e6-4b58-a849-59a8f854a370 /media/TV1 xfs rw
>
> or has it only set it to readwrite for the logged on user? If that is the
> case, how do I set it to give read write permission to the mythtv user?

Permissions are typically set on a folder by folder basis not on a
drive basis. You should read a basic tutorial on "user permissions" in
linux. Basically each folder and file will have owner and group. Then
you can assign permissions for the owner, the group, and everyone
else. If you go to the folder and type "ls -la" it will list all of
the files and folder along with their permissions. You will see
something like this "rwxr-xr-x" the first three letters mean the owner
had read write execute permissions, The next three are for the group,
and the last three are for everyone (aka world). After the permissions
it will also list the owner and group. For your recordings directory
it should typically by "mythtv mythtv". Check out your
/media/TV1/recordings folder and see who the owner and group are and
what the permissions are. If you need to fix something check out the
"chown" and "chmod" commands. Something like

sudo chown -R mythtv:mythtv /media/TV1/recordings
sudo chmod -R 755 /media/TV1/recordings

should set everything correctly regardless of what they currently are.


More information about the mythtv-users mailing list