File permission​s issues

Hi Guys,
So I've noticed that at times on the flash and the SD cards, file permissions are getting changed somehow (inappropriately, i believe).
Example, I download an MP3 file from the net.  file has read/write permissions.  a few days later the file is no longer accessible by media player (error exception (9)) ... the only thing that's different is the permission is now read only.  (this happens both with and without a reboot).
Once this happens there's no way to overwrite, delete, modify, execute the files - they're painful little orphans.  The only thing that's worked is a security wipe / format (for SD cards).
This isn't restricted to mp3 files, all kinds of audio and video have demonstrated this same quirk.
There's no way for me to change this permission back to read/write from the device (understandably).  I assume that I'd have to root the device in order to do apply a unix CHMOD to the file.  But that's still out of scope for proper functionality.
Further, I've experienced this on AALLLL my devices (Q5, Q10, Z10, Playbook) with all OS versions past 10.1 (1.0 for playbook).  
I don't see many posts about this online so NOBODY else seems to experience this issue and I'm wondering if it's something I'm doing differently than everyone else ... can't imagine what that could be - you can only do so much on the device ... and messing with file permissions is NOT part of the user functionality. 
Thoughts?!?!!?

This procedure is a diagnostic test. It makes no changes to your data. If you have more than one user account, you must be logged in as an administrator to carry out these instructions.
Please triple-click anywhere in the line below on this page to select it:
sudo dtrace -n 'syscall::fork*:entry{printf("%s %d",execname,pid);}' | head | pbcopy
Copy the selected text to the Clipboard by pressing the key combination command-C.
Launch the built-in Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. You'll be prompted for your login password. Nothing will be displayed when you type it. If you don’t have a login password, you’ll need to set one before you can run the command. You may get a one-time warning to be careful. Confirm. You don't need to post the warning.
If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Log in as one and start over.
Wait for a new line ending in a dollar sign ($) to appear below what you entered.
The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.
The Terminal window doesn't show the output. Please don't copy anything from there.

Similar Messages

  • /dev/null file permission changes frequently

    Hi,
    We are experiencing file permission change issue frequently for the
    following files:
    root@domain5 # ls -l /devices/pseudo/mm@0:null
    crw-rw-rw- 1 root sys 13, 2 Apr 22 2009
    /devices/pseudo/mm@0:null
    root@domain5 # ls -l /dev/null
    crw-rw-rw- 1 root sys 13, 2 Oct 25 07:01 /dev/null
    By default, above is the file permission settings. If the file permission
    changes, it will look like as below:
    root@domain5 # ls -l /devices/pseudo/mm@0:null
    cr--r--r-- 1 root sys 13, 2 Apr 22 2009
    /devices/pseudo/mm@0:null
    root@domain5 # ls -l /dev/null
    cr--r--r-- 1 root sys 13, 2 Oct 25 07:01 /dev/null
    Due to this file permission change the script which uses this file loose
    the write permission and the script fails. To fix this issue, we will be
    manually changing the permission. Can you please help me to know the cause for
    this file permission change.
    Thanks,
    Ram.

    You need to correlate any changes on the system to when you have the problem, or see the date on /dev/null change. Software packages can change this, applications can change this, sometimes even patch installs.
    Even certain administrative practices.
    Here's one example, where touching a vendor software-created printer config with native Solaris admintool would change /dev/null permissions
    http://www.rootunix.org/SOLARIS/printFAQ.txt
    10) ONLY ROOT CAN SEND PRINT JOBS:
    This problem is caused by network spooling software that for a
    network printer that uses /dev/null for the printer device. The
    software monitors the queue and spools the print requests over the
    network to the printer. If the printer setup is modified in any
    way with Admintool, the printer device (/dev/null) permissions will
    change to 600 owner lp.

  • Auditing file server setup issues - nfs permissions

    I have half-dozen Solaris 10 workstations requiring Solaris Auditing enabled and audit files saved. I used a spare Solaris 10 system with 2-72GB disks and formatted 2nd disk for entired 72GB. I shared out the 72GB partition on this system and modified /etc/security/audit_control on a test Solaris 10 W/S to use the shared-out partition on Audit file server as primary audit directory. Following directions in Solaris 10 Admin Gde I chmod -R 750 the mount pt using the 72GB partition before sharing out the partition. However, all client W/S's that I enable Auditing would not use the 72GB partition on file server until I went back and chmod 777 the partition and rebooting file server. Also, on any client that I have enabled Auditng to use nfs-mounted 72GB partion on file server I cannot as a non-root user issue a "df -k" command without getting error:
    df: cannot statvfs /var/audit/fmaud.1/files: Permission denied
    Is this normal or did I miss a chmod step or two in setting up Audit clients and/or Audit file server?

    The roundcube db schema needs to setup manually. See /usr/share/webapps/roundcube/INSTALL
    Also, from your /etc/webapps/postfixadmin/config.inc.php:
    $CONF['domain_path'] = 'NO';
    $CONF['domain_in_mailbox'] = 'YES';
    $CONF['maildir_name_hook'] = 'NO';
    ..which results in /var/mail/vmail/[email protected]
    From your dovecot.conf
    mail_home = /var/mail/vmail/%d/%u
    ...which results in /var/mail/vmail/domain.com/user
    That doesn't fit together.

  • File permission error; NI-488: DMA hardware error detected

    I'm running LabVIEW 8.0 on the latest supported SUSE linux. My vi saves a data file. If I save a file named "/home/bill/LabVIEW/data/file.dat," it saves okay the first time. But then if I run the program again, it gives me an error instead of just writing over file.dat (which is what I want it to do).
    Error 8 occurred at Open/Create/Replace File in filename.vi
    Possible reason(s):
    LabVIEW: File permission error.
    NI-488: DMA hardware error detected.
    Also, I don't know if this is related, but when I click on the folder icon to the right of the file path on the front panel, and navigate to the directory mentioned above, then type "file.dat," I get the message "/home/bill/LabVIEW/data/file.dat does not exist." Shouldn't this *create* the new file?
    Thanks,
    Bill

    You should really start your own thread describing your problem in detail. One of the issues here is that there are two possible sources for the error code 8. Which one is applicable to you? What platform are you on? What version of LV? What are you trying to accomplish? What exactly triggers the error?
    Please start again with your own thread and with the answers the questions I asked (as well as anything else that you think might be of value).
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • File permission error in LabVIEW, but what file?

    I am in the process of smoothing out the wrinkles in a large LabVIEW program that I've converted from LV 7.0 to LV 2011SP1.  I've also moved from WinXP to Windows 7.  I get why there are file permission errors and I understand what the issues are in regard to moving from XP to 7.  What I would really like, is for the error message to tell me WHAT file is having the issue.  There are entirely too many file accesses in this program, I am not the originator, and it's been painful.  A more explicit error message, a log file, or some other cool trick to find what file is having the issue would be super.  While I'm asking for stuff, a call stack or at least the name of the VI this code calls would be wonderful, as nothing at all calls New File directly.
    Certified LabVIEW Developer
    NI-VLM Administrator

    How are you currently handling the error?  The file you tried to access should be part of the string in the error cluster.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Building coherence rpm fails because of Unix flat file permission.

    Hi - New to coherence but have large implementation ahead. Trying to rpm it. Refer bug - https://bugzilla.redhat.com/show_bug.cgi?id=250295.
    lot of files in coherence.jar have flat unix file permission which makes building rpm fail. Solution is to unjar.. change permission and then do rpmbuild, but think this should be fixed on oracle side as well.
    BTW - do we have coherence.rpm ? i hope am not re-inventing wheel :).
    please point me if its available.
    Thanks.
    -R.
    Central directory entry #5:
    coherence-cache-config.xml
    offset of local header from start of archive: 16968 (00004248h) bytes
    file system or operating system of origin: Unix
    version of encoding software: 2.0
    minimum file system compatibility required: MS-DOS, OS/2 or NT FAT
    minimum software version required to extract: 1.0
    compression method: deflated
    compression sub-type (deflation): normal
    file security status: not encrypted
    extended local header: no
    file last modified on (DOS date/time): 2010 Jan 14 13:06:08
    32-bit CRC value (hex): a472a7f0
    compressed size: 1745 bytes
    uncompressed size: 8129 bytes
    length of filename: 26 characters
    length of extra field: 0 bytes
    length of file comment: 0 characters
    disk number on which file begins: disk 1
    apparent file type: binary
    Unix file attributes (000000 octal):              ?---------
    MS-DOS file attributes (01 hex): read-only
    There is no file comment.

    Hi
    As suggestion test the file path (specially the system separator character). If the cause is a security issue the problem must appear in both systems (i suposse that the process can write files in both systems, so you can check if true).
    Hope this helps

  • How to use FilePermission class to change the file permission in Linux

    Hi all,
    I'm running in a issue related to changing the file permission under Linux environment. I'm using Suse 10.0 Linux and run jdk 1.5 java runtime.
    I want to create a file during execution time and change the permission of the same. I use File.createNewFile() API to create file. By default it does not have all the 3 permission (read,write,execute) for all the user ( user,owner,group). Through program I have to change the file permission ( equal to execute ,chmod 777 filename).I donot want to use runtime.exec() with chmod as the argument , since it creates a process to change the permission which may impact the performance. I want to try FilePermission class , by giving filename and permission as the argument. But it is not changing the permission . Could any one faced this problem ?
    If any body guides me, how to change the permission of the file under Linux using FilePermission class , it would be helpful.
    Thanks,
    Sankar

    How do I set the Umask prior to starting the program
    ? Could pls explain in steps.I don't think umask can help you. The mode mask prevents permission bits from being set when a file is created, but does not force any bits to be set. So if execute permission is not set explicitly when a file is created, umask will do nothing about it.
    But if you want more information about umask, see the man page for your shell script (sh, csh, etc.) or "man 2 umask".

  • Network of file permission error.

    "There has been a network of file permission error. The network connection may be lost."
    This is happening only in the afternoon (after 12 noon) on someones machine with Word.
    We got him a brand new machine, deleted and recreated his user account on the server but it still happens when he re-opens and saves a document. He can only save it to his desktop and then drag it to the server.
    We used Migration assistant to transfer files. Haven't tried a new user account on his actual machine yet, but it's very strange. Others using Word are not having this problem.
    We have an Apple RAID server and a Windows server and he can't save to either one directly after about noon cst?

    I'm having the same problem with an Intel iMac. The user has a network account and has been having several strange account/permission issues like this. And we have deleted and recreated her account to no avail.
    Any luck figuring out what's going on or what the solution is?

  • To change default backup file permission for dsconf

    Hi,
    I was wondering if it is possible and ADVISABLE to change the default backup file permission for dsconf util. We're having two OS users, once which runs the script, and other which runs the dsconf. We're not allowed to schedule crontab from the second user profile. Hence, the user which runs the script will not be able to purge the old backup files as part of the backup process.
    -rw------- 1 tty gis 32M Dec 15 22:00 usersConfig-15-12-11.ldif
    Any thoughts if anyone has come across such issue.
    Thanks, JPrince

    So if I understand correctly, there is one user which creates the backups, and can run cron scripts. A second user runs some script on the backup, but doesn't have permissions to remove the backup once the script finishes.
    Changing the permissions on the file itself is not enough, you have to have write permission on the directory which contains it as well. This doesn't sound (to me) like something you really want to do.
    What I would suggest thinking about is having directory or file somewhere that both users can read/write.
    When the script finishes processing, write the name of the backup into that file (or create an empty file in the directory with the same name as the backup).
    Run a cron script from the first user (the one that creates the backups) which checks for names of processed files. If it finds any, it removes those backups, and the names from the file/directory.

  • "There has been a network or file permission error. The network connection may have been lost

    Hi,
    While trying to save an Excel or (less frequently) Word document, employees at my company have been seeing the error, "There has been a network or
    file permission error. The network connection may have been lost."  This is more common when they are connected through the VPN, but it also occurs locally.
    The employees all have Win 7 Pro laptops and the file server is Win Server 2008 R2.  I have found suggestions that a Windows update is the cause, but the articles on that all limit it to Server 2003.  Others have suggested setting the program to
    save a local copy of remote files; however, while the setting exists in Word, it does not exist in Excel.
    If anybody has any advice, it would be greatly appreciated.
    Thank you

    This is a known issue, might try the workaround is a better chooses .
    http://support.microsoft.com/kb/291156
    KR

  • Network file permission error

    I've finally tracked down the source of the problem for third-party template installers that get the network file permission error. I'm not sure if Peter (Laimavia) has been here discussing this, but he uses the same installer and Jumsoft (iLifeStuff) would be using the same method as well so neither of them would be exempt from this issue.
    It looks like JTemplate is resetting the admin file permissions for TemplatesInfo.plist to read only. Why it does this is questionable - it's absolutely not necessary. It allows JTemplate full control of the file, but it blocks any other third-party installer from updating the file. <scratching head>
    If you're using JTemplate and you purchase templates for iWeb, you will likely encounter an error that states Network File Permission Error when trying to install them. I'm not a UNIX guru so I could not find a way to set the permissions back to read/write. When I tried this, my access dropdown was entirely disabled at the admin level - even when I unlocked the settings. Even the back-up copy of TemplatesInfo.plist that JTemplate makes for you is reset to read-only permissions so even if you thought you're reverting to your original installation, you're not.
    On my development machine where JTemplate was not installed, the default iWeb installation allows admin access to that file with read/write permissions so it would seem the only way to undo this problem is to reinstall iWeb.
    Testing confirmed all of these results, including the reinstall. Template installers worked just fine once the files were restored so if you're getting that error, that's what you need to do.

    Okay I'm talking with Peter now... he was already aware of the issue and also confirmed that JTemplate was the source of this problem. He provided this solution for resetting your file permissions. I'm not sure if you have to do this every time JTemplate is used. I'll test it later and report back.
    If you are familiar with the "Terminal" application, then this should do the trick:
    Open up Terminal. ( Applications/Utilities/Terminal )
    Copy and paste this:
    sudo -s
    cd /Applications/iWeb.app/Contents/Resources/English.lproj/Templates
    chmod g+w TemplatesInfo.plist
    Now, hit enter. Close terminal.
    Try and run the installers again

  • Web-Disk on OSX 10.9 Give me this error: "Finder got an error: Network file permission error."

    Previously I was using OSX 10.8 and Web Disk was working great.
    Since I upgraded to OSX 10.9 Web Disk Dont Attach to my compputer and give me this ERROR:
    FInder got an error: Network file permission error.
    When I got this ERROR first time I searched GOOGLE and found this link: http://cammodude.blogspot.no/
    And I did:
    To force all connections to be SMB1:
    Open A terminal window
    paste in the following line followed by the return key(should be all on one line): 
    echo "[default]" >> ~/Library/Preferences/nsmb.conf; echo "smb_neg=smb1_only" >> ~/Library/Preferences/nsmb.conf
    What the command does:
    Creates a file called nsmb.conf  in your  home directory at the path ~/Library/Preferences/nsmb.conf.
    Adds directives to force SMB connections to use the SMB1 protocol.  This is slower but stable.
    Then I could use Web Disk on OSX 10.9 after executing this command in Terminal.
    But now I restarted my Macbook and now Im NOT able to connect to Web Disk and get the same ERROR.
    FInder got an error: Network file permission error
    After trying 100 times it attaches 1 time but then show this ERROR:
    Can't get <<class cdis>> "my.server.com/2078" of application "Finder".
    If this happen then I can see the files in Finder and see the Contents and Size of files but if I open a PHP file in BBEdit then it shows BLANK.. But actually it is NOT blank.
    Now Im stuck How can I solve this? All help is highly appericated..
    Thank you so much...

    Hi,
    Make sure to chmod the app, something like this :
    chmod -Rf 777  secure_site_WebDisk.app
    (in my case the CPanel provided the app for my OSx version.)

  • There has been a network or file permission error. The network connection..

    hello,
    there has been a network or file permission error. The network connection may be lost.
    this is the error my client gets sometimes when he wants to save a word document.
    when i go in the finder i have no problem accessing that network share, and when i look up the file and check the permissions there is no reason why this error should occure.
    situation :
    1 os 10.3.9 server
    7 os 10.5.5 clients
    1 os 10.3.9 client
    office 2004 for mac (version 11.50)
    there are 2 10.5.5 clients (emacs) with this problem on a regular base (3-5 times a week). One imac 17" 10.5.5 has this once a month.
    it is a wired cat5 network.
    any idea what could cause this problem?
    thanks
    Marco

    I found a logical explanation on the following site : http://www.makemacwork.com/office-2004-wont-save-to-server.htm , I am gonna try the steps they describe and post back the result.
    Marco

  • Error 8 File permission error while building executable for a RT

    I got error 8 File permission error while building executable for a RT. It happened always after build, I mean new startup.rtexe and startup.alias files have been created. At the build properties, it was set use default .alias file.
    I had the executable built successfully at one time.
    The detail message is:
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 8 occurred at Open/Create/Replace File in RTBEP_Generate_Deploy_Instructions.vi->RTBEP_Invoke_Build_Engine.vi->RTBUIP_Build_Invoke.vi->RTBUIP_Build_Rule_Editor.vi->RTBUIP_Open_Properties.vi->RTBUIP_Item_OnDoProperties.vi->RTBUIP_Item_OnDoProperties.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  File permission error. You do not have the correct permissions for the file.
    =========================
    NI-488:  DMA hardware error detected.
    I checked relevant posts, couldn't find any clue.
    Please give me some ideas.
    Thanks.

    Hi Ya-hoo,
    Error building application in LabView 8.0 seems to describe a similar situation. The .alias file is important, as described in that discussion forum.
    Cheers.
    | Michael K | Project Manager | LabVIEW R&D | National Instruments |

  • The .txt file has formatting issues that need to be resolved

    Transaction ZEHS20 runs a program that assigns a CCL Group to a specification header, based on its Active Ingredients. The transaction can be run in the background if desired with output being emailed to the user.The .txt file has formatting issues that need to be resolved. can u  pls Help me to resolve this issue.
    Thanks

    What is the formatting issue like? Could you please elaborate a bit more.
    If it is because of varying lengths in the data then it can be handled by utilising a CONCATENATE RESPECTING blanks.

Maybe you are looking for