How mount ext4 partition with read/write

i use archlinux  , and i have a ext4 partition, i want to mount it , add it on /etc/fstab
/dev/sda7 /mnt/sda7 ext4 defaults,noatime 0 0
i reboot, i found the ext4 partition, i have no right to R/W for user mode? why?

the ext4 partition is another linux, fedora 13, i want to mount it on archlinux.
[figo@myhost sda7]$ ls -lah
total 136K
dr-xr-xr-x 24 root root 4.0K May 9 15:28 .
drwxr-xr-x 7 root root 4.0K May 9 15:35 ..
drwx------ 4 root root 4.0K May 9 15:28 .Trash-0
-rw-r--r-- 1 root root 0 May 8 20:17 .autofsck
drwx------ 3 root root 4.0K May 1 18:28 .dbus
drwx------ 2 root root 4.0K May 1 18:28 .pulse
-rw------- 1 root root 256 May 1 18:28 .pulse-cookie
dr-xr-xr-x 2 root root 4.0K May 8 21:41 bin
dr-xr-xr-x 4 root root 4.0K May 8 21:42 boot
drwxr-xr-x 4 root root 4.0K Oct 1 2009 dev
drwxr-xr-x 117 root root 12K May 8 21:45 etc
drwxr-xr-x 4 root root 4.0K May 1 18:29 home
dr-xr-xr-x 17 root root 12K May 8 21:43 lib
drwx------ 2 root root 16K Apr 8 02:48 lost+found
drwxr-xr-x 2 root root 4.0K Oct 1 2009 media
drwxr-xr-x 2 root root 4.0K Oct 1 2009 mnt
drwxr-xr-x 2 root root 4.0K Oct 1 2009 opt
drwxr-xr-x 2 root root 4.0K Apr 8 02:48 proc
dr-xr-x--- 7 root root 4.0K May 8 20:21 root
dr-xr-xr-x 2 root root 12K May 8 21:44 sbin
drwxr-xr-x 3 root root 4.0K Apr 8 03:02 selinux
drwxr-xr-x 3 root root 4.0K Oct 1 2009 srv
drwxr-xr-x 2 root root 4.0K Apr 8 02:48 sys
drwxrwxrwt 16 root root 4.0K May 8 21:42 tmp
drwxr-xr-x 13 root root 4.0K Apr 8 02:49 usr
drwxr-xr-x 21 root root 4.0K May 8 21:41 var

Similar Messages

  • How to create files with read/write privileges for everyone?

    I have two iMacs 7,1 (one with Snow Leopard and the other with Mountain Lion) in a local area wireless network.
    I have shared the "documents" folder in the Snow Leopard iMac in order to have files available to the other iMac. The folder has read/write privileges for everyone.
    When I create a new file in the shared "Documents" folder (for example a new Open office document, or a Keynote presentation) this file is by default "read/write" for the Administrator but only "read" for all the other users, so when I try to open it from the other iMac, I am informed that the file is "read only".
    I can obviously change the privileges of the file in the information window, but I have to do on a file per file basis and this takes too long.
    Is it possible to change settings in order to create files which are always "read/write" for everyone?
    And, secondly, since I have several existing files whose privileges I should manually change one by one, is it possible to make global changes of their privileges?
    Thanks in advance
    Best regards

    couple of different changes - 1st, if you want to share folders, doing your whole documents folder is not the best way.  Since both your computers can handle AidDrop, that's what I would recommend - http://osxdaily.com/2011/11/14/how-to-use-airdrop-in-mac-os-x/ - as it create an instant Ad-Hoc network between the two computers and then let's it done. 
    A second possibility that may not be what you're looking for, is to use google drive or some similay cloud sharing app to sync the documents back and forth.  both of these solutions will transfer the files well, but the airdrop may be simplest

  • I have a FAT 32 External Hard Drive marked as Read Only that is unchangeable by an administrator or root user, how can I make it read/Write

    Hello, All,
    I have a FAT 32 External Hard Drive marked as Read Only that is unchangeable by an administrator or root user, how can I make it read/Write without reformatting it ? 

    Hi Kappy,
    Just wondering if you had any advice for my situation . . .
    My time machine backup was backing up to a drive that was "Mac OS X Enteded Journaled, Case Sensitive."  I had no idea what this meant, or that it would even cause issues.
    I took my computer to the Apple store yesterday, and they wiped it clean.  When they tried to restore it from the Time Machine backup drive, it would not work.  Their guess is that Time Machine cannot restore from a drive that is "case sensitive."
    Any thoughts on how I can convert my time machine backup data from a "case sensitive" state, to a "non-case sensitive" state?  I've tried to just drag and drop the files from the case sensitive formatted drive to a new drive that I have that is formatted non case sensitive, but I get the following error message:
    "The volume has the wrong case sensitivity for a backup"
    I just really want my data back - I thought TimeMachine was the way to go (and was supposed to work) but unfortunately it is not.
    Any help you can provide would be greatly appreciated.
    Thanks,

  • Cannot mount Windows partition with boot loader on Mac OS 10.8

    I took out my hard drive of my Windows 7 PC, which has 3 partitions on it: C drive which contains the OS and the boot loader that the computer boots into, D drive which contains my data, and a third called "System Reserved" a few megabyte in size that I have no idea what so ever what it does besides that I cannot modify or delete it, which probably means that it is important.  Now I put the hard drive inside an USB 3.0 enclosure and I am trying to mount this hard drive onto my OS X Lion Macbook air.  Something strange is happening, in that the computer takes about 30 seconds or more to detect the drives presence, and then it just freezes after that.  On the initial try, the system actually successfully launched DiskUtility, and I can see the drive mounted in the list of detected drives and 3 partitions "SD1, SD2, SD3" under that drive, but after  repeating the procedure a few more times, nothing seems to be happening after the system freeze.
    Anyone have any idea what's going on?  I am trying to access the data partition for my stuff.
    I have Tuxera NTFS installed, and I should probably also mention that my Macbook Air is mid 2011 with only USB 2.0 ports.
         Thanks in advance.

    Ok, I figured out the freezing part; apparently, I had to connect to the USB port on the left side next to the power supply or the disk does not have enough power and causes the system to crash.  So, now Disk Utility can see the hard drive with no problem.
    But now, the partitions are detected as XFAT format and no volumes are mounted to the desktop.  Disk Utility displays the disk description as:
      Disk Description : INTEL SS DSA2M160G2GC Media  Total Capacity : 160.04 GB (160,041,885,696 Bytes)
      Connection Bus : USB  Write Status : Read/Write
      Connection Type : External  S.M.A.R.T. Status : Not Supported
      USB Serial Number : CVPO049000W0160AGN    Partition Map Scheme : Master Boot Record
    Why is the status "not supported"?  How should I go about mounting the data volume so I can access the files on my Mac?

  • How do you create default Read/Write Permissions for more than 1 user?

    My wife and I share an iMac, but use separate User accounts for separate mail accounts, etc.
    However, we have a business where we both need to have access to the same files and both have Read/Write permissions on when one of us creates a new file/folder.
    By default new files and folders grant Read/Write to the creator of the new file/folder, and read-only to the Group "Staff" in our own accounts or "Wheel" in the /Users/Public/ folder, and read-only to Everyone.
    We are both administrators on the machine, and I know we can manually override the settings for a particular file/folder by changing the permissions, but I would like to set things up so that the Read/Write persmissions are assigned for both of us in the folder for that holds our business files.
    It is only the 2 of us on the machine, we trust each other and need to have complete access to these many files that we share. I have archiveing programs running so I can get back old versions if we need that, so I'm not worried about us overwriting the file with bad info. I'm more concerned with us having duplicates that are not up to date in our respective user accounts.
    Here is what I have tried so far:
    1. I tried to just set the persmissions of the containing folder with us both having read/write persmissions, and applied that to all containing elements.
    RESULT -> This did nothing for newly created files or folders, they still had the default permissions of Read/Write for the creating User, Read for the default Group, Read for Everyone
    2. I tried using Sandbox ( http://www.mikey-san.net/sandbox/ ) to set the inheritance of the folder using the methods laid out at http://forums.macosxhints.com/showthread.php?t=93742
    RESULT -> Still this did nothing for newly created files or folders, they still had the default permissions of Read/Write for the creating User, Read for the default Group, Read for Everyone
    3. I have set the umask to 002 ( http://support.apple.com/kb/HT2202 ) so that new files and folders have a default permission that gives the default group Read/Write permissions. This unfortunately changes the default for the entire computer, not just a give folder.
    I then had to add wife's user account to the "Staff" group because for some reason her account was not included in that. I think this is due to the fact that her account was ported into the computer when we upgraded, where as mine was created new. I read something about that somewhere, but don't recall where now. I discovered what groups we were each in by using the Terminal and typing in "groups username" where username was the user I was checking on.
    I added my wife to the "Staff" group, and both of us to the "Wheel" group using the procedures I found at
    http://discussions.apple.com/thread.jspa?messageID=8765421&#8765421
    RESULT -> I could create a new file using TextEdit and save it anywhere in my account and it would have the permissions: My Username - Read/Write, "Staff" or "Wheel" (depending on where I saved it) - Read/Write, Everyone - Read Only, as expected from the default umask.
    I could then switch over to my wife's account, open the file, edited it, and save it, but then the permissions changed to: Her Username - Read/Write, (unknown) - Read/Write, Everyone - Read Only.
    And when I switch back to my account, now I can open the file, but I can't save it with my edits.
    I'm at my wits end with this, and I can believe it is impossible to create a common folder that we can both put files in to have Read/Write permissions on like a True Shared Folder. Anyone who has used windows knows what you can do with the Shared folder in that operating system, ie. Anyone with access can do anything with those files.
    So if anyone can provide me some insight on how to accomplish what I really want to do here and help me get my system back to remove the things it seems like I have screwed up, I greatly appreciate it.
    I tried to give as detailed a description of the problem and what I have done as possible, without being to long winded, but if you need to know anything else to help me, please ask, I certainly won't be offended!
    Thanks In Advance!
    Steve

    Thanks again, V.K., for your assistance and especially for the very prompt responses.
    I was unaware that I could create a volume on the HD non-destructively using disk utility. This may then turn out to be the better solution after all, but I will have to free up space on this HD and try that.
    Also, I was obviously unaware of the special treatment of file creation by TextEdit. I have been using this to test my various settings, and so the inheritance of ACLs has probably been working properly, I just have been testing it incorrectly. URGH!
    I created a file from Word in my wife's account, and it properly inherited the permissions of the company folder: barara - Custom, steve - Custom, barara - Read/Write, admin - Read Only, Everyone - Read Only
    I tried doing the chmod commands on $TMPDIR for both of us from each of our accounts, but I still have the same behavior for TextEdit files though.
    I changed the group on your shared folder to admin from wheel as you instructed with chgrp. I had already changed the umask to 002, and I just changed it back to 022 because it didn't seem to help. But now I know my testing was faulty. I will leave it this way though because I don't think it will be necessary to have it set to 002.
    I do apparently still have a problem though, probably as a result of all the things I have tried to get this work while I was testing incorrectly with TextEdit.
    I have just discovered that the "unknown user" only appears when I create the a file from my wife's account. It happens with any file or folder I create in her account, and it exists for very old files and folders that were migrated from the old computer. i.e. new and old files and foders have permissions: barara - Read/Write, unknown user - Read Only, Everyone - Read Only
    Apparently the unknown user gets the default permissions of a group, as the umask is currently set to 022 and unknown user now gets Read Only permissions on new items, but when I had umask set to 002, the unknown user got Read/Write permissions on new items.
    I realize this is now taking this thread in a different direction, but perhaps you know what might be the cause of this and how to correct or at least know where to point me to get the answer.
    Also, do you happen to know how to remove users from groups? I added myself and my wife to the Wheel group because that kept showing up as the default group for folders in /Users/Shared
    Thanks for your help on this, I just don't know how else one can learn these little "gotchas" without assistance from people like you!
    Steve

  • How do I give myself read/write access/permissions for my external drive?

    Im a brand new Mac user, so please stay with me.
    I have an external drive and I can't delete, modify, ANYTHING on it. When I go to "Get Info" it says "You can only read" under sharing & permissions. How do I change this?

    When you get info on the external drive, at the very bottom is a box you can check
    "Ignore ownership on this volume"...
    If you check that, then see if you can delete and move things around.
    If that doesn't work then try clicking on the + sign and adding you as an admin so you can Read & Write.

  • External Hard drive suddenly will only read! How can I make it read/write again?

    Hi folks,
    I'm working with a Seagate FreeAgent GoFlex 320gb External Hard Drive on the imacs here at my university. I have it formatted to ExFAT so that I could use it with my pc as well but I've never had to so far so it's only ever been used on the uni imacs.
    It's been fine for working on media projects until suddenly when i came back to uni after the Christmas break I went to continue working on a film project and realised the external hard drive now said read only??
    One thing I did was to put all of my work from last semester (which is everything that was on the hard drive into a single folder) could that have caused the problem?
    And does anyone know how i can reset my permissions to read/write without causing damage or risk to the files on the hard-drive as I can't clear the disk (i have no where else to store the 185gb of video footage).
    I'd really appreciate it if anyone could tell me how i can fix it? I know how to do all of this on my pc but i've no idea with the mac as i only use it for my media projects here in the university.
    Thanks!
    DrF ;-)

    Out of curiosity , will this method also work for an external drive formatted to NTFS.. I have a lot of data that I have nowhere to Float while re-formatting the drive , so If this method would allow me to keep the data and still fix the problem that would be great !!  At the moment the drive is formatted to NTFS and permissions say Read/Write , but I can only Read.. Very Frustrating as my mac drive is running low on space and performance is being affected.. Any help appreicated !!

  • Udiskie mounts ntfs partition with permissions 700

    External usb hard drive with two partitions, one is ext3 other is ntfs.
    When I plug it in, udiskie nicely mounts both partitions, but the ext3 one is readable by other users (755), the ntfs one is not (700). Can I change this behaviour somehow, so that others (like mpd) can see the ntfs partition as well?

    Upstream's answer:
    There is currently no way to pass extra arguments from udiskie.
    Implementation plan on this would be to add a config file with mount options for each filesystem type.
    https://bitbucket.org/byronclark/udiski … rnal-drive
    Question: can fstab help in such situation?

  • Help with Read/Write File

    hi I was wondering if someone can help me do some read/write file with java. here is what I want to do:
    Read a file and search the whole file for a word such as "throw" and print out the rest of that line to a new file. in the case of "throw", i want to link all thrown exceptions to the file that contained them.
    can someone help me out and let me know what way I can approach in this?
    any help would be greatly appreciated.
    thanks!

    Rough and dirty, here's a class that will read a file and return a resultset:
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.FileChannel;
    import java.util.*;
    import java.text.DateFormat;
    public class Utils{
         File fileName;
         FileOutputStream outputFile;
         boolean closeChannel;
         //Constructor
         public Utils(String directory, String filename){
              String strFileDir = directory;
              String strFileName = filename;          
              File fileDir = new File(strFileDir);
              fileName = new File(fileDir, strFileName);
              // If directory does not exhist, create it.
              if(!fileDir.isDirectory()){
                   if(fileDir.mkdirs()){
                        System.out.println(fileDir + " created.");
                   else{
                        System.out.println(fileDir + " could not be created.");                    
    public ArrayList readText() throws IOException{          
              // Read content of file into a collection
              ArrayList arrayList = new ArrayList();
              try{
                   BufferedReader in = new BufferedReader(new FileReader(fileName));
                   String line;
                   while((line = in.readLine()) != null){
                        arrayList.add(line);
                   in.close();               
              catch (IOException ex){
                   throw ex;
              return arrayList;          
         }And here's how you use the class:
    // Create a new Disk Utilities object.  This can be used for all subsequent read/writes to this file.
              Utils utilTest = new Utils("e:/testing", "Testing.txt");
    // Create a collection to hold the data from the file.
              ArrayList arrayList = new ArrayList();
              try{arrayList = utilTest.readText();}catch(IOException ex){ex.printStackTrace(System.err);}

  • How do you implement 'Dirty Read/ Write' concept?

    Hi,
    I need to implement dirty read/ write concept into my procedure. I wanted to know how to go about it. Does Oracle have provide a way to do this or is this something to be worked out with some logic manually?
    Can someone suggest the exact logic I should follow or chalk out a simple algorithm.
    Any kind of information on this would be much appreciated.
    Thanks,
    Amrita.

    Sorry for this late reply.<br>
    My first reply should have contained an example on how to implement it for the kicks. Don't use this code for anything else but a test. It's absolutely worthless application-wise. But it proves that some dirty read/write functionality can be obtained if one twists everything that is good. Here goes. First I create two java classes and two PL/SQL "wrappers". Then - simply connect with session 1 and invoke exec dirty_write<br>
    make no commit ... and let session 2 select dirty_read from dual. You'll notice that the data written by session 1 is read by session 2.<br>
    create or replace and compile
    java source named "FileAppendTest"
    as
    import java.io.File;
    import java.io.FileOutputStream;
    public class FileAppendTest {
    static public void append() {
      try {
        int vSomethingToWrite = 9;
       File vFile = new File("c:\\db_out.txt");
       FileOutputStream vAppendFile = new FileOutputStream(vFile, true);
       vAppendFile.write ( vSomethingToWrite );
      vAppendFile.close();
      } catch (Exception e) {
       // let this test hide all errors
    create or replace and compile
    java source named "DirtyReadTest"
    as
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    public class DirtyReadTest {
    static public int read() {
      int vError = 0;
      try {
       File vFile = new File("c:\\db_out.txt");
       FileInputStream vReadFile = new FileInputStream(vFile);
       return vReadFile.read();
      } catch (Exception e) {
       return vError;
    create or replace procedure dirty_write as
    language java
    name 'FileAppendTest.append()';
    create or replace function dirty_read return number as
    language java
    name 'DirtyReadTest.read() return integer';
    -- as I mentioned earlier. Only try this code for the fun of it. Don't consider it for anything remotely usable in an application.

  • Shoudn't 'put with expiry' throw with read-write backing map?

    Good morning all,
    If I run this client code:
    cache.put(1,  1, CacheMap.EXPIRY_NEVER);I'd expect this entry to never expire. Yet with a read-write backing map it does - immediately, which lead me to digging a bit more...
    According to the [java docs|http://download.oracle.com/otn_hosted_doc/coherence/330/com/tangosol/net/NamedCache.html#put%28java.lang.Object,%20java.lang.Object,%20long%29] support for this call is patchy:
    >
    Note: Though NamedCache interface extends CacheMap, not all implementations currently support this functionality.
    For example, if a cache is configured to be a replicated, optimistic or distributed cache then its backing map must be configured as a local cache. If a cache is configured to be a near cache then the front map must to be configured as a local cache and the back map must support this feature as well, typically by being a distributed cache backed by a local cache (as above.)
    >
    OK, so the docs even say this won't work. But shouldn't it throw an unsupported op exception? Is this a bug or my mistake?
    rw-scheme config:
    <backing-map-scheme>
      <read-write-backing-map-scheme>
         <internal-cache-scheme>
            <local-scheme/>
         </internal-cache-scheme>
         <cachestore-scheme>
        </cachestore-scheme>
        <write-delay>1ms</write-delay>
      </read-write-backing-map-scheme>
    </backing-map-scheme>Edited by: BigAndy on 04-Dec-2012 04:28

    Quick update on this - I've raised an SR and Oracle have confirmed this is a bug and are looking into a fix.

  • Deliver file with read/write properties on target side using receiver file

    Hi All,
    Our file-to-file scenario works fine. By default, PI creates file on target directory with the 644 permissions. Files coming inbound from PI are not read/writable to the group. Currently the files from PI are coming across with 644 permissions and they should be 664 or 660. Is there a way to generate read/write files on targer side using SAP PI??
    Thanks in advance,
    - Riya Patil

    Hello,
    Try using Run-Operating system command after processing parameter with the below mentioned command:
    chmod 0755 /usr/sap/tmp/test/*
    where:  /usr/sap/tmp/test/ is the directory path location.
    Br,
    Rahul

  • Transportable tablespace (metadata export with READ WRITE tablespace set)

    Is it possible to use transportable tablespace backup for import if data files for tablespace set has been copied when tablespaces were READ ONLY but the metadata export (or a part of it) is taken after tablespaces has been set to READ WRITE?

    Actually the size of datafile(s) are too huge so unable to test the same on test box with TTS export backup.
    But my question is if there were no structural changes (DML might be there on tablespace objects) even after making tablespaces to READ WRITE till the time metadata export is completed(data files are copied to staging location already before tablespaces has been set READ WRITE), Shall I use these backup for import?

  • How to enable the NTFS Read/Write support without 3rd party software?

    Is there a way to enable the NTFS Read/Write support of Mac OS X 10.6.8?

    Well, I've used Paragon NTFS, but if you don't want to use 3rd party software, you should do this AT YOUR OWN RISK:
    Open Terminal.app (/Applications/Utilities/Terminal)
    Type "diskutil info /Volumes/volume_name" and copy the Volume UUID (bunch of numbers).
    Backup /etc/fstab if you have it, shouldn't be there in a default install.
    Type "sudo nano /etc/fstab".
    Type in "UUID=paste_the_uuid_here none ntfs rw" or "LABEL=volume_name none ntfs rw" (if you don't have UUID for the disk).
    Repeat for other NTFS partitions.
    Save the file (ctrl-x then y) and restart your system.
    After reboot, NTFS partitions should natively have read and write support. This works in both 32 and 64-bit kernels. Support is quite good and fast, it even recognizes file attributes such as hidden files.
    Good luck!

  • How can my FP-2000 read/write to my FP-1600?

    I want an FP-2000 to be able to read and write to digital I/Os on an FP-1600. I created an iak file that listed both devices and their channels. The vi worked when running from LabView for Windows, but when I tried to run it on the FP2000 it would not create tags for the channels on the FP1600. It did not recognize the existence of an additional comm resource or its devices, even though I was careful to download the iak file before running the vi.
    What do I need to do to get the FP-2000 to be able to read/write to the FP-1600?
    Rich

    OK, I answered my own question. I knew that I could read from the FP-1600 via Datasocket reads using the Lookout protocol, but first attempts to write values this way failed. I made some seemingly insignificant changes to my vi, and now I am able to write values as well as read them. It would sure be nice to be able to use the FieldPoint vis to read data only when it changes, but I can live with the datasockets.
    Rich

Maybe you are looking for

  • Run a web dynpro application encounter WDUMException exception...

    Dear guys, We currently encounter a error when we run a web dynpro application. That is, once a user click a url which will redirect to the enterprise portal, the com.sap.tc.webdynpro.services.sal.um.api.WDUMException is thrown. I have checked the ca

  • Function for post foreign currency valuation (F-05)

    Hi, I need a function module, BAPI, method or any other way, that help me to post a FI document (including all associated documents), as if we were working on the transaction F-05. We really need to do postings affecting only the strong/hard currency

  • G5 pauses for 2 minutes while booting, and message appears in console

    So my G5 has developed a new habit - pausing for two minutes post grey Apple logo/gear but before blue background appears. Eventually, the boot process ends with a desktop and seems to function normally. I booted onto the Leopard install CD and ran t

  • Display users IP Address

    How can I display the IP address of the user in APEX? Is there any way to avoid displaying just the Proxy's IP address? Btw - I searched the forum and found this select statement: select utl_inaddr.get_host_name(OWA_UTIL.GET_CGI_ENV('REMOTE_ADDR')) h

  • How do i back up files on my mac to iCloud

    I just got ICloud. ALl I want to do is back up files from the mac. How do i do this? thank you