New File Mask

I am testing out FMS3 (from FMS2) for linux, and while I'm
enjoying some of the new features I'm running into a problem I
can't track down... For my FMS2 setup in conf/Server.xml I set the
Mask node to 022 so FMS created new files under those permissions,
that worked great. But I can't get the FMS3 install to recognize
anything I set for the mask, so the new files are ALWAYS defaulting
to 077, regardless of what's in conf/Server.xml (and from the
documentation, it looks like the default is supposed to be 017
anyway).
Any ideas? Thanks!

I have the same problem with masks and permissions. Any info
will be appreciated.

Similar Messages

  • Copying two layers through same selection mask produces different dimensions on new file

    Hi all,
    This is driving me insane!
    I'm creating an animation in AE eventually but initially have two hand drawn images of the same object that I've scanned into PS.
    I have a single mask created that I turn into a selection to copy the two images to output as new single files to then import as 2 frame png sequence into AE.
    Normally, and this is critical, the dimension of the new files would/should be exactly the same.
    But they're not!
    How is this possible, the selection is the same for both layers.
    Any suggestions, help, assistance, very much appreciated.
    thanks
    Yan

    yancowles wrote:
    Still annoying though, I'm creating the double drawn animation effect and it would help if I could make the new files to exactly the same dimensions quickly and easily somehow.
    Menu file>Save As to create a new file Photoshop is not a file editor. For a new document the same size menu File>New or Ctrl+N then use the preset pull down menu  and select the open document that has the size you want.
    You can also script a new document from selection.
    /* ==========================================================
    // 2009  John J. McAssey (JJMack)
    // ======================================================= */
    // This script is supplied as is. It is provided as freeware.
    // The author accepts no liability for any problems arising from its use.
    // Download from the web and fixed to work better
    <javascriptresource>
    <about>$$$/JavaScripts/NewDocumentFromSelection/About=JJMack's New Document From Selection.^r^rCopyright 2009 Mouseprints.^r^rJJMack's Script.^rNOTE:New Document From Selection!</about>
    <category>JJMack's Script</category>
    </javascriptresource>
    // enable double-clicking from Mac Finder or Windows Explorer
    #target photoshop // this command only works in Photoshop CS2 and higher
    // bring application forward for double-click events
    app.bringToFront();
    // ensure at least one document open
    if (!documents.length) alert('There are no documents open.', 'No Document');
    else main(); // at least one document exists proceed
    //                            main function                                  //
    function main() {
              try {
                        // Set the ruler units to PIXELS
                        var orig_ruler_units = app.preferences.rulerUnits;
                        app.preferences.rulerUnits = Units.PIXELS;
                    if(hasSelection()) newDocFromSelection();
                        // Reset units to original settings
                        app.preferences.rulerUnits = orig_ruler_units;
              // display error message if something goes wrong
              catch(e) { alert(e + ': on line ' + e.line, 'Script Error', true); }
    //                           main function end                               //
    function hasSelection(doc) {
              if (doc == undefined) doc = activeDocument;
              var res = false;
              var activeLayer = activeDocument.activeLayer;          // remember active layer
              var as = doc.activeHistoryState;                    // get current history state #
              doc.selection.deselect();
              if (as != doc.activeHistoryState) {                    // did the deselect get recorded
                        res = true;
                        doc.activeHistoryState = as;                    // backup and reselect
              activeDocument.activeLayer = activeLayer;          // insure active layer didn't change
              return res;                                                   // return true or false
    function newDocFromSelection() {
              var AD = app.activeDocument.name;      // remember current document name
            /* the following code seems to be from the script listener  what it
                does is to add a layer via copy selection ( Ctrl+J) which will fail
                if the select area of the active layer is empty then code then creates
              a new documents with a normal layer cotaining the contents of that layer */
              executeAction( charIDToTypeID('CpTL'), undefined, DialogModes.NO );//
                        var desc5 = new ActionDescriptor();
                                  var ref2 = new ActionReference();
                                  ref2.putClass( charIDToTypeID('Dcmn') );
                        desc5.putReference( charIDToTypeID('null'), ref2 );
                        desc5.putString( charIDToTypeID('Nm  '), "NewDoc"+documents.length.toString());
                                  var ref3 = new ActionReference();
                                  ref3.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
                        desc5.putReference( charIDToTypeID('Usng'), ref3 );
                        desc5.putString( charIDToTypeID('LyrN'), "From Selection" );
                        executeAction( charIDToTypeID('Mk  '), desc5, DialogModes.NO );
                        app.activeDocument.trim(TrimType.TRANSPARENT);          // trim new document transparency
                        activeDocument = documents.getByName(AD);          // retun to the old document
                        activeDocument.activeLayer.remove();                    // delete layer added via Ctrl+J 

  • Image size on new files

    I've recently purchased a new machine with windows vista and loaded on CS3 photoshop (which is new to me).
    My problem is when I open a new file it's huge.
    I set the size to a simple A4 and resolution 150 pixels/inch but the image size is 3.24M before I even start. I've done various tests by bringing in old images I created and they do come in at original size, it's just new files. I've gone through all the settings and everything looks normal.
    I'm really stuck with this one.

    Until you save there is no file size. The scratch file size used by Photoshop is not directly controllable. It includes history items, layers, etc., in addition to image data. The image data for an image that is, for example, 1000px x 1500px (i.e., ~1.5 megapixel), will be about 4.5 MB uncompressed in RGB 8 bit per channel (i.e., 24 bit) format. The same image, in an uncompressed RGB 16 bit per channel (48 bit) format, will take up about 9 MB. This is the full image data as used within Photoshop, and determines the size reflected in the Info screen (after being modified to account for history, layers, masks, etc.). When you save the file, it will likely be much smaller, unless you intentionally choose an uncompressed TIFF format. A compressed TIFF file will save considerable space if it's an 8-bit image. GIF (which allows only 256 distinct colors) is an appropriate format for very small images (such as thumbnails) and text/line art, and saves a huge amount of space. JPEG is used for the final version of photographic images, and it saves considerable space over the original due to compression, but its compression is lossy, PNG has the potential to trump many of these formats, because it can accommodate 16-bit images, allows for transparency, and it is lossless, but it is not fully compatible with some existing web browsers (i.e., IE6).

  • Illustrator CC(2014) does not open or create new file in Window 8.1 Pro

    My illustrator can launch but once I tried to create a new file it would freeze and will not respond anymore.
    I also tried to open existing illustrator files it just create a blank white illustrator window and does not respond afterwards as well.
    I tried to reinstall the illustrator for times to fix to issue but it doesnt work.
    All the other applications (photoshop/indesign...) work perfectly, but obviously there is a bug in illustrator...
    Have any other people experienced similar issue and know how to fix it??

    Did you uninstall then used the Cleaner tool before reinstalling?
    Is a printer connected? Is the driver up to date? Printer turned on?
    Do you have any third party plugins installed?
    A graphic tablet?
    Any other hardware?
    Font management? Which one?
    Have you already tried setting up a new user account (Admin) and launching from that one?

  • Photoshop CS/CS2 in Macbook Pro cannont create new file or even open file!

    I got a Macbook Pro, updated all apple software to lastest version.
    Installed Photoshop CS as i did in PowerPC, and it cannont create a new file after finishing installation!. The Imageready is no problem but it cannot transfer the file to PS neither.
    the error message, "Photoshop cannot complete the required action DUE TO PROGRAM ERROR"
    I tried to installed the PS CS2, tryout. same problem!
    Please HELP!
    Macbook Pro 15"   Mac OS X (10.4.6)  

    Not sure what's happening there, but I've been running Photoshop CS2 on my MBP since the first week I had it. I updated to 10.4.6 and updated firmware today, and I just tried opening a file, and creating a new one, and it worked fine. Can you give a bit more information: for example, did you install from the original Photoshop CS2 disk?

  • Photoshop CC 2014.2.2 program error when I place a layer or open a new file

    I have just updated to the most recent PS CC2014 version. Twice, in fact, and the same problem persists. At some point while working on a file it will become impossible to place a new layer or open a new file. Other program functions work, but these will produce an error message: "Could not complete your request because of a program error." It's very frustrating and the only solution is to restart the program which will run fine for a while and then do it again.
    Is anyone else experiencing this? Or better still, has anyone found a solution to this issue?
    Richard

    I am experiencing a similiar problem.
    Ever since I upgraded to CC I have received this error after using Photoshop for more than 5 mins, or trying to performing tasks such as: placing a linked file, copying and pasting, dragging and dropping an image or even using "File>Open"
    I did a complete system clean install of Yosemite, and reinstalled CC completely 3 times.
    Any assistance in resolving would be greatly appreciated!
    Error Log Text:
    2015:01:06 13:41:33 : tracked key 0000000000001468 of type P5_ADsc not found : 1 : REQUIRE failed
    2015:01:06 13:41:33 : /Volumes/workarea/PS_15_Mac_Daily_Retail/20141204.r.310/photoshop/main/photoshop/xcode/.. /interfaces/UTrackResourceImp.h : 137 : REQUIRE failed
    2015:01:06 13:41:33 : tracked key 00000000000010C0 of type P5_ADsc not found : 1 : REQUIRE failed
    2015:01:06 13:41:33 : /Volumes/workarea/PS_15_Mac_Daily_Retail/20141204.r.310/photoshop/main/photoshop/xcode/.. /interfaces/UTrackResourceImp.h : 137 : REQUIRE failed
    2015:01:06 13:41:33 : tracked key 0000000000000E38 of type P5_ADsc not found : 1 : REQUIRE failed
    2015:01:06 13:41:33 : /Volumes/workarea/PS_15_Mac_Daily_Retail/20141204.r.310/photoshop/main/photoshop/xcode/.. /interfaces/UTrackResourceImp.h : 137 : REQUIRE failed
    2015:01:06 13:41:33 : tracked key 0000000000000460 of type P5_ADsc not found : 1 : REQUIRE failed
    2015:01:06 13:41:33 : /Volumes/workarea/PS_15_Mac_Daily_Retail/20141204.r.310/photoshop/main/photoshop/xcode/.. /interfaces/UTrackResourceImp.h : 137 : REQUIRE failed

  • Itunes saves my songs in a new file that is not the default setting

    My settings for downloading purchased music from itunes is c:\pop\music.
    Since a few months itunes generates a 2nd file named "music" within the existing file "music" and downloads all new songs in there. (It just happens, I surely didn´t tamper with the settings.)
    So everytime I buy music from the itunes store the new files are now saved under c:\pop\music\music.
    Also my ipod now only synchronizes the new files as long as they´re in c:\pop\music\music and not under c:\pop\music where I want to have them to be able to combine them with the others.
    I checked under "Information" of the new songs and for each song the setting for the place where it´s (supposed to be) saved under is still c:\pop\music. Also my default settings are still c:\pop\music.
    So why does itunes create a new file?????
    I can change almost every entry under "Information" but not the storage location.
    I don´t know why this happened and how I can change this back. Can anyone help me here, please!

    What im trying to say is, i purchased a imac after getting a new phone, which was on windows.
    So i now need to sync it so i can enjoy all the easy pleasures of genius so on and so on
    However not eveything made the shift over, so now my itunes on phone has songs from my old library, that due to whatever multiverse lays between mac and pc, are now not available on my new smarter and amazing mac.
    So if i sync the phone i will lose my songs, yes which did cost me money!! Does anyone know a way to prevent this?
    please bare in mind I am Mac simple, quite ******** really
    thank you in advance

  • Adding new files to the existing Keyword Collections

    Hi,
    I have been using Keyword Collections as folders when importing files - not sure if there is a "normal" way of creating folders for clips/audio/other files? 
    Anyway, when I start a project and import a folder with a few files, I create  Keyword Collection. Later on, when I add more files into that folder in Finder and try to import the same folder as keyword collection again, the "new" files will not be assigned with that keyword collection. They're thrown straight into the event and the keyword collection only shows files from the first import.
    In other words, having a Keyword Collection created when importing a folder - is there a way to assign more files to it later on? Sorry if it's a stupid question.
    Thanks,
    Kamil

    YYou can drag them into the keyword collection once you've imported them. Another simple way is to pick up the files in the Finder, use Cmd-tab to switch to FCP, and drag them directly to the collection. The clips will import using your import preference.

  • Action with new file with size from selection

    Hello,
    I try to record an action that takes a copy of the current image and creates a new file with the same dimensions. The action I record always has the file size of the new image hardcoded in it. I tried to set Preset to Clipboard, but this is not recorded in the action. This is with CS3.
    How can I create a new file that takes the current image size into account?
    Thanks for your help,
    Daniel

    You can record the menu 'Image-Duplicate' to make a copy of the whole image without recording the size. If the doc only has one layer you can also record the flyout menu of the layer's panel to duplicate the layer to a new document. The size will not be recorded.

  • How do i delete Older files from the directory before create a new file?

    Hi,
    How do i delete older files in a particular directory,
    the senorio is count the number of .txt files in a directory and delete the older files if file count is more than 10. (if i add 11th file the very first file has to be deleted)
    i have written the code to count the files and delete , but it is deleting all the files instead of older file
    public class ExtensionFilter implements FilenameFilter {
      private String extension;
      public ExtensionFilter( String extension ) {
        this.extension = extension;            
      public boolean accept(File dir, String name) {
        return (name.endsWith(extension));
    public class FileUtils{
      public static void main(String args[]) throws Exception {
        FileUtils.deleteFiles("c:/countfile/", ".txt");
      public static void deleteFiles( String directory, String extension ) {
        ExtensionFilter filter = new ExtensionFilter(extension);
        File dir = new File(directory);
        String[] list = dir.list(filter);
        File file;
        if (list.length == 0) return;
        for (int i = 0; i < list.length; i++) {
          //file = new File(directory + list);
    file = new File(directory, list[i]);
    if ((list[i]).length()>=10)
         System.out.print(file + " deleted : " + file.delete());
    Thanks,
    Jamin Rosina                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    What your code is doing now, is deleting all filenames that are longer than 10 characters.
    Your problem lies in the line:
    if ((list).length()>=10)

  • Reading file from a folder : File dir = new File(URL+aFile_to_add);

    Hi,
    Trying to read files from a dir on my site using a JSP and bean. I've tried nearly every option for the filepath I can think of and it doesn't seem to be finding the file...
    Here's the bit:
    String URL = "images\\wedding_photos\\";
    File dir = new File(URL+aFile_to_add);
    String[] files = dir.list();
    It's working locally, but I obviously had to change the path from c://... to the above.
    The full code is listed below in the addWedding Method
    The method removes the .jpg from the file name and then writes the new file name to a database
    Thanks for any insight.
    Regards
    Jim
    public String addWedding(String aFile_to_add)
    String feedback = "unset in scrubWedding";
    try
    String URL = "images\\wedding_photos\\";
    Class.forName("org.gjt.mm.mysql.Driver");
    java.sql.Connection connection = java.sql.DriverManager.getConnection("jdbc:mysql://localhost/rhwedd2_shop?user=**********&password=*******");
    java.sql.Statement statement = connection.createStatement();
    File dir = new File(URL+aFile_to_add);
    String[] files = dir.list();
    if (files == null)
    feedback = "Sorry, couldn't find the file "+aFile_to_add+"...no files have been added.";
    else
    for (int i=0; i<files.length; i++)
    // Get filename of file or directory
    String filename = files;
    String no_extension;
    //convert string array element into a char array
    char [] charsfilename = filename.toCharArray();
    int newlength = charsfilename.length -4;
    no_extension = String.valueOf(charsfilename,0,newlength);
    filesAdded = filesAdded+", "+no_extension;
    // Show the new file names in stack trace without extension
    //System.out.println("String no_extension " + no_extension );
    statement.executeUpdate("INSERT INTO items VALUES ('"+no_extension+"',5,'"+aFile_to_add+"')");
    // write to table with item_id and weddingid
    feedback = "The following files have been added..."+filesAdded;
    if (statement != null )
    statement.close();
    if ( connection != null )
    connection.close();
    catch(Exception e)
    feedback = "Into the catch";
    e.printStackTrace(System.err) ;
    return feedback;
    }//end addWedding

    String URL = "images\\wedding_photos\\";
    File dir = new File(URL+aFile_to_add); ok, ok, I'll answer...
    1) What gives you the impression that the relative directory "images\\..." exists (or, in other words, what makes you think your current directory is the parent of "images"?

  • Code doesn't update when uploading new files to website.

    code doesn't update when uploading new files to website.   I was using an old DW version for a long time then forced to upgrade when I bought my MacBook Pro. Now when I make changes to my pages and link to new files etc on my harddrive, when i upload the pages it won't image because the code still points to harddrive (this did not used to be a problem)... I manually changed the code on the web host site to point to the site and it loaded fine. But now my files on my harddrive also point to the web host files and now don't image on my computer. I never had to worry about this so far and wonder if the new version has a setting I'm supposed to be aware of so that I can design on my hardrive and upload and it knows that the files are being uploaded with it?  Ugh hpe this makes sense - I'm NOT a webs designer and the new DW is way more than I use in it's technology.

    Hi
    This sounds like you have not defined your site in the site definition.
    Follow the steps in these 2 tutorials to set-up your site locally and for the remote server -
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt6.html
    PZ

  • Open/Save Dialog does not show new files?

    Say you are working on a logic file in a folder and you have
    a few audio and movie files in that folder, and you launch
    Logic and via the open/save dialog window you add a few
    files to your song and in that dialog window you can see
    all the files in that folder.
    Then, in the Finder you add a few more files and movies to
    that folder and again use the open/save dialog window to
    add more files BUT the new files you added since launching
    logic are NOT SHOWN in the dialog window ! ?
    What's the deal with that?
    Every other app can show files added since the launch of the
    application, why not Logic?
    PowerBook G4 1GHz   Mac OS X (10.3.9)  

    project manager
    um, yeah.
    Should not need the project manager simply to see new files added to a directory in a Open/Save dialog window since last opening the app.
    I did a scan, a extended scan, opened all the little turn down arrows of the
    full path to the directory I knew there to be the new files and yes, Logic
    shows them there in the "Project manager".
    BUT Logic still does not show the files in the Open/Save dialog windows.
    This is strange because even simple app like TextEdit can show
    new files in it's Open/Save dialog function windows without the need of
    a project manager.
    I have to quit and re-launch each time to see any new files?

  • Why var file:File = new File(); is not working in Background Worker?

    Hi All,
    While working on Background Workers for Air for Desktop platform. I am facing a problem.
    I want to unzip a file in the background, which contains 14126 files in it because not using the worker is hanging my system.
    When I am using "new File()" or "File.desktopDirectory.nativePath;" I am getting following error:
    SecurityError: file
    at UnzipWorker/onMainToBack()[C:\Users\red5\Adobe Flash Builder 4.7\Downloader_air\src\UnzipWorker.as:45]
    at flash.system::MessageChannel/internalAddEventListener()
    at flash.system::MessageChannel/addEventListener()
    at UnzipWorker()[C:\Users\red5\Adobe Flash Builder 4.7\Downloader_air\src\UnzipWorker.as:33]
    I am not sure why I am getting above error.
    Someone please help me in this.

    Brijesh,
    Aloha.
    I implemented:
    var worker:Worker = WorkerDomain.current.createWorker( new ThreadByteClass(), true ) ;
    However, my background thread is still running with its Security.sandboxType set to remote, even though my primordial thread is running with Security.sandboxType set to localTrusted.
    Do you know how to resolve this?
    Have a great day.
    Take care,
    Darwin

  • Creating new file using report generation express vi

    Hello,
    In my application, I need to write certain data in excel sheet. For that I created an excel template and I used the express vi in report generation toolkit to save the appropriate data in appropritate columns. I need a new file created everyday by that day's name and write the data to it rest of the day. I am having problems creating new file using this express vi. I tried using the low level vi's but not been able to it properly.
    Attaching my code and excel template.
    Please help.
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    excel write2.vi ‏119 KB
    Book2111.xltx ‏8 KB

    r_te wrote:
    The thing is everyday there cannot be a file provided.
    Sure there can.  Don't you see the input on the Express VI for a file? "Path To Save Report" is the name of the input you want.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for