Setting file permissions

I am trying to get wtorrent to work with my current folder hierarchy but I'm having trouble setting permissions for it. As far as I can tell wtorrent runs under user http and the files that it needs to access are owned by media:users.
I tried adding http to the users group and making sure i had read/write permissions to the folder i was targeting but when I try to have wtorrent write a file there I get an error saying that I cannot write there due to permissions. Thanks for any insight.
edit: wtorrent writes fine to /srv/http/wtorrent/torrents. ls -lh shows:
drwxrwxrwx 3 root root 4.0K Dec 30 02:02 torrents
If i set my new folder I want to use to either root:root or http:http, I still cant access it. Odd, I think I'll dig though some conf files.
EDIT: I may have stumbled across a ticket on the wtorrent website with a fix for this, so it could be entirely wtorrent to blame. Testing....
This problem appears to be much much deeper than I thought it would be. Its 3:30am and I cant see straight so im out.
Last edited by kfour (2009-12-30 09:33:48)

I would like to know this as well. We'd like to use iTunesU for online music reserves but we can't post songs that students can download. This is one of the most crucial copyright issues regarding iTunesU, yet I can't seem to get an answer. One of the keys to fair use is that online media reserves do not provide a download mechanism.

Similar Messages

  • How to set file permissions for SFTP uploaded file?

    Hello,
    is it possible to set file permissions with the SDK for files uploaded via SFTP transfer? I use the default sample plugin ftp_upload.lrdevplugin to transfer the files, but would like to tweak it to set the uploaded file(s) to permission 644 (rw-,r--,r--) on Linux server. Currently the server sets new file(s) by default to 600 (rw-,---,---).
    I am looking for an option to do the "chmod" directly from Lightroom without doing any modificatios in general to default umask, etc. settings on the server. No real UI is needed for this. Just hardcoded setting for 644 in the .lua.
    So far I've been unsuccesful in finding the way. Googled, read this forum, looked at the API. Maybe I just missed it, or does this functionality exist?
    All advice is appreciated!
    Cheers,
    Timo

    Niel's suggestion is good. You might also try posting your question in the Tiger Server forums. I'm sure Tiger Server has several ways of dealing with this.

  • Setting file permissions in java

    Hi,
    Iam uploading a file to a folder which exists on a unix machine.
    Iam using struts FormFile to upload a file.
    After uploading a file i observed that the permissions for the uploaded file are like this
    rw_ r-- r--
    for the owner it give read and write and for the rest only read permission.
    But i want read and write permissions for all the three.
    is there any way from java to change the permissions for a file on UNIX machine while uploading?
    I know RunTime.exec() . But they mentioned that it runs as a separate process instead of a thread.
    Can i use that? is there any problem by using RunTime..
    is there any other way to set permissions for file in java?

    You will have to use Runtime.exec(). Java doesn't allow you to set file permissions this specifically.
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    Otherwise, you might want to look at this:
    http://www.jguru.com/faq/view.jsp?EID=19558

  • Manually set file permissions.

    How can I maually set the permissions for all the config files for lion server ?
    Thanks....

    How can I maually set the permissions for all the config files for lion server ?
    Thanks....

  • Setting file permissions for 'wheel' group files

    I have a bunch of files I copied from my PC when I made the transition to my Mac. I'm having problems moving or backing up many of the files apparently because the Mac has set the group for these files to 'wheel' and I'm not sure how to change them back. My efforts to chown or chgrp the files always result in "Operation not permitted" error messages.
    I have been able to select a file at a time in the finder and use the get-info option to change the permissions, but I need to do this for thousands of files and it takes too long manually.

    mpender wrote:
    I have been able to select a file at a time in the finder and use the get-info option to change the permissions, but I need to do this for thousands of files and it takes too long manually.
    Yes, you need a global fix. Download BatChmod Read the online documentation and online help. Let us know.
    -mj

  • How do I set file permissions

    I need to rename a file but am getting a file permission error. What can I do?

    Thanks GerdW for the info.
    Percy, if you are on the Windows platform, you could use the DOS command ATTRIB to set or remove permissions. Type "attrib/?" under DOS to see the usage.
    Also see the attached code. Replace the "testfile.txt" to your file name and give an appropriate working directory. Hope this helps.
    Regs,
    Vikas
    Attachments:
    FilePermSet.vi ‏12 KB

  • NMH405 - File permissions

    Hi,
    My NMH seems to have set file permissions on a folder which means i cant access the photo's (of my wedding of course!). I can move the photo's using the web interface, but i can't move them in windows or ubuntu. Windows says the speical permissions were set by Unix Root . 
    Now i am thinking there maybe a way to set these back using the alternative NMH405 interface (the non flash one) but i can't for the life of me find out how to access it. PLEASE help!

    if i may ask, where are these locked files from (source)?
    are all of your files on the Media Hub locked?
    i found an article: https://help.ubuntu.com/community/RootSudo, i dont know if this might help.

  • Changing File Permissions via FTP for WordPress

    Hi,
    I access files for a WordPress installation via FTP and when I try to change permissions to some files for some plugins compatibility issues I get the error below and the permissions are not applied.
    SITE CHMOD 747 colors.css
    Response: 500 'SITE': command not understood
    Best Regards,
    Abby Doc

    Hello Abby,
    Thanks for posting here.
    I would like to know how you're trying to change File permissions. Is that by using FileZilla or something?
    I would suggest you to refer the below links.
    Related Thread:
    http://social.msdn.microsoft.com/Forums/windowsazure/en-US/50e94a19-066b-443e-a70a-4fe3d99a6e95/how-to-set-file-permissions?forum=windowsazurewebsitespreview
    http://wordpress.org/support/topic/chmod-aka-file-permissions
    Steps to change a directories File Permissions using FileZilla FTP.
    Stop your website from the management console (https://manage.windowsazure.com)
    Open up the FTP site in Filezilla
    Rename the directory that has the problem
    Restart your website.
    I hope that helps.
    Best Regards,
    Sadiqh Ahmed

  • File permissions in Java

    Hi all,
    I'm converting a python script to Java.
    The script creates a directory with special file permissions, as seen below:
    os.makedirs(options.file, 0777)
    ..Is there an equivalent way to set file permissions in Java (and would I need to bother what that..)?
    /Best regards, H�kan Jacobsson - System developer in Sweden

    Is there an equivalent way to set file permissions in JavaNot really. The File class allows you to set some permissions, but I don't think it lets you set the execute bit.
    and would I need to bother what thatDepends entirely on why the original python programmer selected those options.

  • Changing WRP file permissions with a GPO

    I would like to set my domain workstations so that users are not able to launch regedit.exe, only administrators. Is there a way to set file permissions with a GPO where TrustedInstaller is still the owner and the file permissions are TrustedInstaller defaults
    minus users? As soon as I push these manually defined settings via GPO, it completely breaks regedit.exe, and I get an access denied when I try to run it (even as local administrator). 
    Is there another way to deny domain and local users from launching regedit.exe (or any other WRP  file) and only allow SYSTEM and Administrators access through TrustedInstaller?
    Thanks in advance

    Hi,
    Is there another way to deny domain and local users from launching regedit.exe (or any other WRP  file) and only allow SYSTEM and Administrators access through TrustedInstaller?
    To achieve your goal, please enable this group policy Don't run specified Windows applications which is under User Configuration\Policies\Administrative Templates\System.
    You can input “regedit.exe” within the group policy to prevent specific domain users from open regedit.exe. Those users will get a message as below when they trying to open regedit.exe:
    More information for you:
    HOW TO: Restrict Users from Running Specific Windows Programs in Windows 2000
    http://support2.microsoft.com/kb/323525
    Best Regards,
    Amy

  • Setting the UNIX file permissions after writing the file to a directory

    Hi Experts,
    Can we set the UNIX file permissions after writing the file to a directory using Receiver File Adpater in SAP PI 7.1 ?
    Thanks in Advance.
    Regards,
    Jyoti

    Hi
    you can use the option "Run Operatiing system Command after File Processing" in the file adapter.
    Thanks
    Rinku Gangwani

  • How to set default file permissions for applicatio...

    I have the nokia n86 and was wondering if there was any way of setting the file permissions of a program via the phone. To put it in context, i downloaded a program that edits photos but everytime i try to load a picture from my phone it asks me (for every single folder in my phone, not just the photo ones) if the program can open it. I can be there clicking yes all day as i there is a lot of folders and subfolders on the phone. I know sony ericssons had an option where you could select the programs permissions to always ask or never ask but i cant seem to find a similar option on the nokia.
    Does anyone have any ideas?

    Same issue here. Everything I put on the drive is set to Read-only for the group.

  • When setting up permissions for application files--URGENT

    Hello All,
    when setting up permissions for application files,
    Is this following permisson appropriate?
    If application files are owned by a single owner,
    that owner should be the oracle user.
    DN

    Here is my question again.
    when setting up permission for application file, which permission is
    appropriate?
    a) If application files are owned by a sigle owner,that owner should be oracle
    user.
    b) Application files should be owned by oracle user
    c) Application files should be owned by single user.

  • What do I do with this error message: To use this library, make sure its file permissions are set correctly.

    So I cannot even access the application. It was working fine yesterday and today I get this error message:
    To use this library, make sure its file permissions are set correctly.
    I have changed nothing. All the pictures are there on the computer. Help?!

    Reboot.  Close any programs which open at start-up.  Run Disk Utility (you can type this in the Spotlight search field at the right end of your Menubar).
    In Disk Utility, select your drive from the list on the left, and click "Repair Disk Permissions".  This will take a few minutes, but should be less than ten.
    Reboot.
    Try to open your Library in Aperture.  What happens?

  • I have been trying to download photos. It keeps saying can't create file, please check permissions on destination folder. Ihave made sure I have set the permissions on read and write. What am I doing wrong?

    I have been trying to download photos too my MAC. It keeps saying can't create file, please check permissions on destination folder. Ihave made sure I have set the permissions on read and write. What am I doing wrong?

    Lanakivee
    Try this it worked for me Pat Willener gave it to me off the site :
    I have not read all you wrote, so I may have missed some points. As I understand it, you installed FP 10 on IE7, but it won't play any Flash content?
    Try this
    download the FP uninstaller from http://www.adobe.com/go/tn_14157
    close all browser windows, then run the uninstaller
    download the offline ActivX installer for Internet Explorer from http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    close all browser windows, then run the installer

Maybe you are looking for

  • SAP Dialog Instance cannot up

    Hi All, FYI, my SAP PRD running on 3 tier SAP server configuration. Yesterday, after stop the instances, i start the services. So far 2 servers instances (CI & DI) can be started, but 1 DI server could not be started.I had restart the dialog instance

  • Best way to create a table based on another table

    Hello, I am trying to create a table based on another table with all the data in it. It has large data. create table <tablename> as select * from table1. Is this the best way of doing it or is there any other way. please advice. thanks

  • After reboot today my desktop did a cleanup without me asking it to.

    This has happened on two iMacs.

  • File to File Scenario basic

    Hi Brijesh, XI cannot access shared file drives. I.e. the directory for the files must be on the XI server. Furthermore check if XI (or better the XIUSER) has sufficient permissions to read resp. write the files from / to the directories. Regards, Pe

  • IE 8 / Vista not recognizing submit button

    Here is the code for a simple form at http://www.versaframe.com/catalog/button.cfm.    When you first visit the page you should see a Review Order button.   After pressing the button you should see the text "Review".    This form works fine except wh