[7. June 2013] Youporn available now | [19. April 2013] A-400 Advanced Network Setup | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 RC1 [13 June 2013] | A-200/A-210 RC1 [13 June 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
HOW TO: Change file permissions A-300
04-25-2012, 06:54 PM
Post: #1
HOW TO: Change file permissions A-300
Hi,

I have a slight issue where I can't move some video files from the download directory into the folder I want them in, nor can I change file names. The error says to "make sure the destination folder is not read only."

When I FTP into the machine I am no longer able to move files around like I always have been. When I run "Get Info" on the folders it says "You can only read", but of course I can't change the permission from OSX because the NMT is a different file system.

I have just recently upgraded to OSX Lion, and have updated to the latest firmware on my A-300. Nothing else has changed and I've been having these permission problems since before both upgrades.

I can't think of what the problem might be, because I can move some downloaded videos but not others.

I searched throughout the Wiki and forum to find out how to change file permissions but couldn't find anything.

Thanks.
Find all posts by this user
Add Thank You Quote this message in a reply
04-25-2012, 07:15 PM
Post: #2
RE: HOW TO: Change file permissions A-300
you need to telnet into the pch,

And run chown -R nmt:nmt foldername

To give rights back to user nmt nmt
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 2 users say Thank You to halfelite for this post
04-25-2012, 07:22 PM
Post: #3
RE: HOW TO: Change file permissions A-300
I think I remember this 'chown-R nmt:nmt /share' used to be in the boot sequence ? is it still there? Or do I remember wrongly ..

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
Add Thank You Quote this message in a reply
04-25-2012, 07:30 PM (This post was last modified: 04-25-2012 07:32 PM by mantologist.)
Post: #4
RE: HOW TO: Change file permissions A-300
(04-25-2012 07:15 PM)halfelite Wrote:  you need to telnet into the pch,

And run chown -R nmt:nmt foldername

To give rights back to user nmt nmt

Pardon my ignorance but your answer does not make a lot of sense to me.

I have telnet into the pch and I see "sh-3.00#"

Then I type "chown -R nmt:nmt Video" and it says "No such file or directory"
Find all posts by this user
Add Thank You Quote this message in a reply
04-25-2012, 07:36 PM
Post: #5
RE: HOW TO: Change file permissions A-300
when you first go into telnet you are in the root of the filesystem so you are in / you would need to type "cd /opt/sybhttpd/localhost.drives/Sata_disk/ I think is the path but not sure. You might have to walk the path to check. So do something like.

Code:
cd opt
ls
cd sybhttpd
ls
cd localhost

cd changes to the directory and ls lists the contents in the directory you are in.
Find all posts by this user
Add Thank You Quote this message in a reply
04-25-2012, 07:50 PM
Post: #6
RE: HOW TO: Change file permissions A-300
(04-25-2012 07:36 PM)halfelite Wrote:  when you first go into telnet you are in the root of the filesystem so you are in / you would need to type "cd /opt/sybhttpd/localhost.drives/Sata_disk/ I think is the path but not sure. You might have to walk the path to check. So do something like.

Code:
cd opt
ls
cd sybhttpd
ls
cd localhost

cd changes to the directory and ls lists the contents in the directory you are in.

Ok that all makes sense to me. (That is the correct path by the way, I just needed to make the "Sata_disk" all capitals for it to work).

Now that I am in the SATA_DISK directory, What does the command "chown -R nmt:nmt" actually mean?
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to mantologist for this post
04-25-2012, 07:56 PM
Post: #7
RE: HOW TO: Change file permissions A-300
what you are are doing is chown = change owner, -R means recursive, ftp/samba run as user nmt and group nmt so you are making sure the folder and files are all owned by nmt,
Find all posts by this user
Add Thank You Quote this message in a reply
04-25-2012, 08:05 PM
Post: #8
RE: HOW TO: Change file permissions A-300
(04-25-2012 07:56 PM)halfelite Wrote:  what you are are doing is chown = change owner, -R means recursive, ftp/samba run as user nmt and group nmt so you are making sure the folder and files are all owned by nmt,

Awesome, so now that I'm in the SATA_DISK directory, and I have typed "chown -R nmt:nmt Video"...

How do we know that the change owner command has worked?
Find all posts by this user
Add Thank You Quote this message in a reply
04-25-2012, 08:09 PM
Post: #9
RE: HOW TO: Change file permissions A-300
if you get no error it worked. go to your pc and try to move a file with ftp or samba
Find all posts by this user
Add Thank You Quote this message in a reply
04-25-2012, 08:34 PM
Post: #10
RE: HOW TO: Change file permissions A-300
(04-25-2012 08:09 PM)halfelite Wrote:  if you get no error it worked. go to your pc and try to move a file with ftp or samba

OK so do I have to do this for every video file? Or does the -Recursive command change permissions for all subfolders and files?

I exited the telnet and rebooted the NMT and nothing seems to have changed.

Is there a command to find out what the permissions currently are?
Find all posts by this user
Add Thank You Quote this message in a reply
04-25-2012, 08:37 PM
Post: #11
RE: HOW TO: Change file permissions A-300
if you want to see what the perms are in use type ls -l


It should change for everything. Explain exactly what folders you are moving things to and from and how the files got there and there might be a better option. Usually this error only comes up if the drive was not formatted by the pch
Find all posts by this user
Add Thank You Quote this message in a reply
04-25-2012, 08:51 PM (This post was last modified: 04-25-2012 09:09 PM by mantologist.)
Post: #12
RE: HOW TO: Change file permissions A-300
The drive was formatted by the PCH.

All I need to do is move videos that I have downloaded, using transmission on the NMT, from the Download folder to a Movie or TV show folder. Also re-name them to make it look neat.

Thanks for you help though. I appreciate it.
Find all posts by this user
Add Thank You Quote this message in a reply
04-26-2012, 04:09 AM
Post: #13
RE: HOW TO: Change file permissions A-300
Ok is this stock transmission or transmission added by CSI?
Find all posts by this user
Add Thank You Quote this message in a reply
04-26-2012, 04:18 AM
Post: #14
RE: HOW TO: Change file permissions A-300
Transmission added by CSI
Find all posts by this user
Add Thank You Quote this message in a reply
04-26-2012, 05:14 AM
Post: #15
RE: HOW TO: Change file permissions A-300
look here

http://www.networkedmediatank.com/showth...ansmission

there has been issues when transmission is not running as the right user. I dont run transmission so maybe post in the transmission thread.
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


[-]
Quick Reply
Message
Type your reply to this message here.



Smilies
:) ;) :cool: :D
:P :rolleyes: :shy: :(
:lightbulb: :angry: :-/ (A)
:heart: :dodgy: :blush: :huh:
:my: :sleepy: :exclamation: :S
[get more]

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Allow more than 3 FTP users on A-300 yahavrave 9 1,415 01-14-2013 03:29 PM
Last Post: yahavrave
  TIP: How to organize downloads and How to paste full file names into Lundman shell an1m8 0 2,717 10-09-2010 06:07 AM
Last Post: an1m8
  [HOW TO] Convert on MAC OS a DTS track to AC3 in a MKV file - variable bitrates criblevibes 3 8,676 06-01-2010 12:17 AM
Last Post: husak
  How to convert wmv video file to mkv with AC3 sound Little Simon 30 47,119 07-15-2009 08:38 PM
Last Post: jokster
  How to find & post file specs with Mediainfo chris57 0 4,672 07-03-2009 03:30 AM
Last Post: chris57
  Flippers (How to make a dual sided dvd into a single ISO file) tivo1 2 7,308 04-02-2009 12:46 AM
Last Post: acoate
  How-To: Enable Gaya logging to a file Delphy 0 1,582 02-17-2009 07:33 PM
Last Post: Delphy
  How To use a index.htm file. excal 0 7,717 12-30-2008 09:52 PM
Last Post: excal

Forum Jump: