*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

BitTorrent and permissions

Transmission bittorrent server.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
eelcodegraaff
NewUser
NewUser
Posts: 12
Joined: 04 Nov 2012 23:05
Status: Offline

BitTorrent and permissions

#1

Post by eelcodegraaff » 09 Dec 2012 14:10

I use nas4free now a while and i also like the functions for bittorrent. I receive files without problem and i made a cifs folder to the torrent folder and there it goes wrong.

User anonymous access.
Bittorrent files are placed by user root and group wheel.
the anonymous user can access files but can't delete them i think not enough rights, since the owner is the user where the bittorrent client is running on (root)

The files can be deleted by the webbrowser interface as root user but ...would be better i can use the cifs filerights for this.

i could add anonymous to the wheel group but i think we should not do this.

any clue to do this a solid way ? i now simply
Last edited by al562 on 16 Dec 2012 04:35, edited 1 time in total.
Reason: Adjusted Subject.

User avatar
LA70
Starter
Starter
Posts: 55
Joined: 03 Jul 2012 17:51
Status: Offline

Re: Service rights and samba user rights

#2

Post by LA70 » 09 Dec 2012 16:10

My "solution" was to set 'User mask' to 0000 in Services|BitTorrent, works for me.
9.2.0.1.972 x86 full, AMD Athlon@1.917GHz 3GB, (apcupsd).

eelcodegraaff
NewUser
NewUser
Posts: 12
Joined: 04 Nov 2012 23:05
Status: Offline

Re: Service rights and samba user rights

#3

Post by eelcodegraaff » 09 Dec 2012 18:43

could you explain it a bit more. chown ? what folder ? webinterface ?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4925
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Service rights and samba user rights

#4

Post by raulfg3 » 10 Dec 2012 08:54

in webGUI | services | Bittorrent = option user mask = set to 0000 This create new torrent files like if you do a chmod 777.
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

eelcodegraaff
NewUser
NewUser
Posts: 12
Joined: 04 Nov 2012 23:05
Status: Offline

Re: Service rights and samba user rights

#5

Post by eelcodegraaff » 10 Dec 2012 20:40

Thanks a lot ...

odattner
NewUser
NewUser
Posts: 8
Joined: 13 Dec 2012 09:36
Status: Offline

BitTorrent and permissions

#6

Post by odattner » 13 Dec 2012 09:54

Hi,

Completely new to NAS4Free.
Installed it yesterday on an old PC. Most things work great and really easily (thanks to a couple of tutorials on the Web).
General set-up - NAS machine on old PC connected through LAN. Main PC running Windows 7 is used to manage the NAS machine through the web interface.

One problem at the moment is as follows:
I used BitTorrent service to download a file to a download directory on a shared drive.
After download finished I used windows explorer to move the file to its proper location.
I could not complete the move because of permissions.
I could copy the file but not delete it. It (windows) told me I needed permission from Unix User/Transmission.
I can move other files on the hard disk without any problem.

Information:
System 9.1.0.1 - Sandstorm (revision 531)
System works off disk 1
Data files on disk 2 (formatted UFS) - including torrents, downloads and final location.

I am only a little familiar with unix and permissions (including in windows). Please try and assume minimal knowledge :)

Thanks,

Ori

armandh
Advanced User
Advanced User
Posts: 403
Joined: 23 Jun 2012 04:15
Location: St Louis County Missouri USA
Status: Offline

Re: BitTorrent and permissions

#7

Post by armandh » 13 Dec 2012 13:25

since I am a single user in the household I set the share type to NT1 and anonymous
Services|CIFS/SMB|Settings [the first two]

there after no permission needed, thus no troubles

be sure no 'read only' options are checked
4 thread 3300 Mhz Intel i3, 1 TB ZFS mirror, available RAM 7.823 Gb, 64 bit NAS4Free 9.1.0.1 rev 573 [88 watts, 48 Mbps]
2 thread 1600 Mhz atom/ion, 1 TB ZFS mirror, available RAM 3.083 Gb, 64 bit NAS4Free-9.1.0.1 rev 573 [27 watts, 35 Mbps]
2 thread 3900 Mhz AMD A6-6400K, 2 TB ZFS Mirror, available RAM 7.557 Gb, 64 bit Nas4Free 9.3.0.2.1771 [89 watts, 68 Mbps]

jamaroney
Advanced User
Advanced User
Posts: 217
Joined: 13 Aug 2012 17:32
Location: Stroudsburg, PA
Status: Offline

Re: BitTorrent and permissions

#8

Post by jamaroney » 13 Dec 2012 22:41

I have the same problem, despite the same settings as armandh describes. After the torrent download is complete, it's easiest just to go into File Manager (under "Advanced" in the WebGUI), click on the file's permssions, and change them. Or do a "chmod -R 777" command for that directory via "Command" (under "Advanced").

There's a setting under "BitTorrent" in the WebGUI to change downloaded file permissions, but it created a lot of problems for me(too many to mention), a number of which have been documented on the Web elsewhere. It may have to do with the fact that I have an embedded install of N4F.

odattner
NewUser
NewUser
Posts: 8
Joined: 13 Dec 2012 09:36
Status: Offline

Re: BitTorrent and permissions

#9

Post by odattner » 14 Dec 2012 09:52

Hi,

Thanks for the help but no success so far.
Changed share settings to anon + NT1 - no difference.
As for the file manager, for some reason it will not show me the downloads directory and the home button does not take me to a level from where I can reach all the drives.
Anyway, I did see the "torrents" directory and could not find a way to change the permissions.

I might be doing something wrong or looking in the wrong place.
What's the best way to post screen shots?

Ori

User avatar
LA70
Starter
Starter
Posts: 55
Joined: 03 Jul 2012 17:51
Status: Offline

Re: BitTorrent and permissions

#10

Post by LA70 » 14 Dec 2012 10:14

Last edited by al562 on 16 Dec 2012 04:40, edited 1 time in total.
Reason: Topics merged, link adjusted.

odattner
NewUser
NewUser
Posts: 8
Joined: 13 Dec 2012 09:36
Status: Offline

Re: BitTorrent and permissions

#11

Post by odattner » 15 Dec 2012 21:15

Did the user mask as suggested by the post LA70 pointed me to (changed user mask to 0000).
I also messed around with the directories on the hard disk. BitTorrent now opened up a new directory and put the downloads there.
I can now move / erase them so that problem seems to be solved. Thanks LA70!

I still have a couple of files that I need to delete from the original directory and I cannot get permission to do it. How do I change permissions using the command function or something of the sort?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4925
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: BitTorrent and permissions

#12

Post by raulfg3 » 15 Dec 2012 22:41

open a shell and use chmod -R 777 pathof your files
eg:
chmod -R 777 /mnt/mypool/Transmission/temp
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

odattner
NewUser
NewUser
Posts: 8
Joined: 13 Dec 2012 09:36
Status: Offline

Re: BitTorrent and permissions

#13

Post by odattner » 16 Dec 2012 07:30

Worked great. Thanks guys.

supercazzola
Starter
Starter
Posts: 32
Joined: 30 Dec 2012 05:54
Status: Offline

Re: BitTorrent and permissions

#14

Post by supercazzola » 19 Jan 2013 20:41

raulfg3 wrote:open a shell and use chmod -R 777 pathof your files
eg:
chmod -R 777 /mnt/mypool/Transmission/temp
i'm not an expert, but wouldn't it be better to chown the directories to transmission, and make it 766?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4925
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: BitTorrent and permissions

#15

Post by raulfg3 » 19 Jan 2013 20:47

if the problem is that once finished a download, you want to move to other location, is better have all permission and better that owner be in the wheel group eg: chown -R ftp:wheel /mnt/yourpool/Transmission/Temp
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

blueman
NewUser
NewUser
Posts: 11
Joined: 04 Jun 2013 06:39
Status: Offline

Re: BitTorrent and permissions

#16

Post by blueman » 05 Jun 2013 06:58

I am also having the "you require permission from unix user\transmission to make changes to this file" error when trying to move files that have finished downloading. I changed the user mask to 0000 as suggested by LA70 for future files, but I still can't get the existing downloads moved. If I use the File Manager built in to NAS4Free it shows the files with permissions: -rw-rw-r-- but the option to move or copy are greyed out. Is there a quick and easy way I can move those files to another location in my pool?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4925
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: BitTorrent and permissions

#17

Post by raulfg3 » 05 Jun 2013 18:08

Yes, but first You need to chmod 777 to give full permission prior to move, as descrived three post before this.
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

marcos
NewUser
NewUser
Posts: 14
Joined: 27 Jul 2013 16:50
Status: Offline

Re: BitTorrent and permissions

#18

Post by marcos » 31 Jul 2013 11:33

my problem is that I can´t even start the downloads!

How is that? ..

-when I first installed NAS4free bittorrent was working fine :)
-when I decided to share the bittorrent downloads location, I started having permission error conflicts :o
-I stoped sharing the downloads folder (not sure if I changed anything else) and I could use bittorrent again. :P
-and now it suddenly has stopped: the same permission error again, so I can´t even start downloads because it seems bittorrent daemon can´t write in downloads folder. :(

Nas4free 9.1.0.1 rev 804 , using ZFS

any suggestion?
10.2.0.2 - Prester (revisión 1868)
x64-embedded on Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz, 6gb DDR2 RAM + 4gb swap
3 x 2tb Toshiba DT01ACA200 raid-Z1
sphere 5.5 iSCSI target for VMs + samba shares
------------------------------------------------------
testing 10.2.0.2 arm @ Raspberry Pi 2

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4925
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: BitTorrent and permissions

#19

Post by raulfg3 » 31 Jul 2013 14:31

post your folder permission; go to your transsmission path and do a ls -l to see owner and group and permission , and please post here.

PD: post how you share this folder too , perhaps use some type of user access or inherit permission or somethin simmilar that normally is not necesary.
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

marcos
NewUser
NewUser
Posts: 14
Joined: 27 Jul 2013 16:50
Status: Offline

Re: BitTorrent and permissions

#20

Post by marcos » 31 Jul 2013 22:02

I´ve got two folders:
- pul/desc (the main one)
-pul/desc/inc (just for incomplete files)

Image

(I dont know if I can access any other shell from the webgui, so I've used this one)

I still have not tested any other possible solution (user mask ect...)

Thanks for your help
10.2.0.2 - Prester (revisión 1868)
x64-embedded on Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz, 6gb DDR2 RAM + 4gb swap
3 x 2tb Toshiba DT01ACA200 raid-Z1
sphere 5.5 iSCSI target for VMs + samba shares
------------------------------------------------------
testing 10.2.0.2 arm @ Raspberry Pi 2

grace1414
NewUser
NewUser
Posts: 1
Joined: 26 Oct 2014 11:27
Status: Offline

Re: BitTorrent and permissions

#21

Post by grace1414 » 22 Nov 2014 05:05

For those that still cannot delete those files due to a permission issue...
I was able to get around that by using the built in nas4free gui file manager (fancy using command lines these days as a user)

very easy to use for a novice like me but CAUTION you can delete system files and create a door stop if not careful, don't delete ANYTHING in the root directory (the first directory you see)

On my system (I am running 10.xxxx alpha but it did work in version 9 also)

---In your web browser, log in to your GUI interface for nas4free system
select Advanced (across the top to the right)
select File Manager
log in to File Manager with system administrator credentials NOT user creds (must be systems administrator login or you will be restricted to what you see and can access)
---you should now see the root tree
Click mnt (click on word mnt half way down the alphabetical list)
---not sure if you all need that step, I am using RAID5
Click (in my case) nas4free (I believe that is pointing to my hostname)
Click on shared folder required (as I am using SAMBA to share on my windows network)
Then select the files/folders you wish to delete
fairly intuitive from here

Hope that works for some ;)

asif
NewUser
NewUser
Posts: 3
Joined: 25 Dec 2015 16:01
Status: Offline

Re: BitTorrent and permissions

#22

Post by asif » 13 Jan 2016 06:51

Hi i cant copy or movce files downloaded from transmission to my oc...io dont know why.it give an error....plz help me

RSS
Starter
Starter
Posts: 26
Joined: 06 Feb 2013 12:22
Status: Offline

Re: BitTorrent and permissions

#23

Post by RSS » 01 Feb 2016 10:18

Just to add my experience using bitTorrent on FreeNas, I never bothered changing folder permissions etc and simply under windows copied (not move) the file to the location I wanted the file in. You then have full access to rename or change the file etc with the knowledge that you have the master copy in the bitTorrent download folder if needed. Handy when multiple file renaming goes wrong and I need the originals again.

When done, under transmission you simply right click & select trash to remove the original file.

Sometimes I found files got left in the download folder (not often) and if I couldn't delete them directly through windows (bitTorrent had released its ownership on them) I used the file admin feature in the FreeNas GUI to delete.

I try to keep permissions as standard as possible but then this is a simple home use system.
11.0.0.4 - Sayyadina
x64-embedded on Pentium(R) Dual-Core CPU E5200 @ 2.50GHz
MSI 7529 v1.1(G31M3 V2) motherboard
2GB DDR2 memory
4TB SATA drive WD Red
Sonos & Google Play

Martinmorris
NewUser
NewUser
Posts: 2
Joined: 26 Feb 2016 05:44
Status: Offline

Re: BitTorrent and permissions

#24

Post by Martinmorris » 26 Feb 2016 05:52

Hello everyone, Can you guys help me because I am trying to download torrent of the latest season "The Walking Dead" and my file is getting corrupt so can you please share me any other platform from where I can download it successfully.

Post Reply

Return to “BitTorrent”