LinHES Forums
http://forum.linhes.org/

Permissions for /myth/video
http://forum.linhes.org/viewtopic.php?f=6&t=19791
Page 1 of 1

Author:  Digriz77 [ Mon Apr 13, 2009 7:46 am ]
Post subject:  Permissions for /myth/video

I have no idea what to do.. I have been searching this for 3 days. and nothings working.

My problem... i have an external wd hard drive connected to my backend i want to store all my movies on and play them through mythtv.

Ok i went through, set up a mount in fstab then set up a share with my windows machine through samba to upkeep the movies.

My problem is i can see the movies from my windows machine in my network neighborhood, but i cant delete them... i only have read access.

Ive tried numerous things from changing fstab to using chmod. here is what im using.

Fstab

[code]/dev/sda1 /myth/video ntfs suid,dev,umask=000,rw,uid=100,gid=102,exec 0 0[/code]

here is what i get from ls -al
[code]dr-xr-xr-x 1 mythtv mythtv 4096 Mar 20 02:29 video[/code]

i ran [code]chmod u=rwx video[/code] but it just says

"chmod: changing permissions of `video': Read-only file system"

but doesnt change any of my permissions.

The bastard is i had this working but due to several reasons i had to reformat and now i cant seem to get it to work even though i did have it working by the methods above.

any advice would be great im using 5.5

The one thing i did different is i had the drive plugged in on install

my fdisk -l give this

[code]Disk /dev/hda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 609 4891761 83 Linux
/dev/hda2 610 657 385560 82 Linux swap / Solaris
/dev/hda3 658 38913 307291320 83 Linux

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 121601 976760001 7 HPFS/NTFS[/code]



thanks
Digriz

Author:  cecil [ Tue Apr 14, 2009 2:23 am ]
Post subject: 

NTFS is read only. You need to use ntfs-3g. Sorry to be short on details but it has been a while since I played w/ NTFS on Linux. Everything you need is already included, you just need to google for details on ntfs-3g.

Author:  Digriz77 [ Tue Apr 14, 2009 6:45 am ]
Post subject: 

[quote="cecil"]NTFS is read only. You need to use ntfs-3g. Sorry to be short on details but it has been a while since I played w/ NTFS on Linux. Everything you need is already included, you just need to google for details on ntfs-3g.[/quote]

Cecil thank you so much... not just for the fix but everything.

Damn all I had to do was replace ntfs with ntfs-3g.... You have no idea how long i mucked around.... atleast i know heaps about fstab and chmod now.

Worst thing is for the last 4 days my wife has been saying "just ask on the forums" i wanted to figure it out myself.

Thanks again Cecil.... its nice to be answered by the numero uno.

Author:  cecil [ Wed Apr 15, 2009 12:28 am ]
Post subject: 

You're welcome. Does your wife have a sister?! :D

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/