General :: Mounting Ext2 Partition With Write Permissions?

Oct 25, 2009

I need to mount my ext2 partition with write permissions for an average user. Right now, I can only write to the volume using sudo or the root account.

/etc/fstab:

Code:

# Filesystem: Mountpoint: Type: Options: Dump: FSCK:
/dev/sda1 / ext4 defaults 1 1
/dev/sda5 swap swap defaults 0 0

[code]....

can't add the options uid=500,gid=500 to the ext2 volume because it says "bad option" I have 1 question. If you have a volume listed in /etc/fstab, and you try to mount it with different options than the ones listed in fstab, will it mount with the new options, or the fstab options?(e.x. if I try to mount /dev/sda6 with: mount-o auto,user,exec,rw,async. Will it mount with async or sync?)

View 1 Replies


ADVERTISEMENT

General :: Automatically Set Write Permissions On Mounting A Usb Drive?

Aug 15, 2010

When I mount an external usb drive on linux (CentOs4), the permissions are by default set to read-only. Since there are multiple users on the computer who need to use the external drive, I want everybody to have rw permission for the entire drive. I also want them to be able to mount the drive if the computer has accidentially been shut down. They can use sudo mount to mount the drive, but this will only give them read permission, and I obviously don't want to allow sudo chmod.

Is there a default setting that I can change so that every new external usb disk automatically gets rw permissions?

View 2 Replies View Related

Hardware :: Phone And Memory Card Auto Mounting With Write Permissions

Feb 4, 2010

Few weeks ago modified my old mobile phone SE k750i by setting on it w800i firmware. After this my phone isn't really (fully automatically) recognized by Ubuntu (9.10) which is the small problem for me now. Linux recognizes it as a USB device, but doesn't automatically mount it, which is why I have to do that manually and that leads to read only permissions for my user.

Here are the few outputs:

lsusb
Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 006: ID 046d:c222 Logitech, Inc. G15 Keyboard / LCD
Bus 002 Device 005: ID 046d:c221 Logitech, Inc. G15 Keyboard / Keyboard
Bus 002 Device 004: ID 0fce:d028 Sony Ericsson Mobile Communications AB
Bus 002 Device 003: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 002: ID 046d:c223 Logitech, Inc. G15 Keyboard / USB Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dmesg | grep usb .....

I've tried to create a custom udev rule via this thread, by putting the correct information according to lsusb:

Code:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="d028", MODE="0660", OWNER="zivs"
and reloading the udev rules, but that didn't help also.

How could I make my Ubuntu mount the /dev/sdb1 (which is my phone's memory card, since manually mounting it, there's all my phone recorded stuff) automatically on Desktop with all read and write permissions when I connect my phone to computer? Phone gets recognized immediately on Win7 OS ... but after the firmware change it's not really recognized by Ubuntu anymore.

View 1 Replies View Related

General :: Restore An Ext2 Partition From A Msdos Partition?

Oct 2, 2009

I had an Ubuntu desktop 9.04. While I wanted to format my second hard drive with gparted, I have selected my system HD () with all my datas (/home, ...).In fact, my error is I have selected to rebuild my partition table and now I have lost all partitions . I would like to know how to restore my datas.

View 4 Replies View Related

Fedora :: Mounting Windows Server08 From Fedora 8 With Read/write Permissions?

Oct 7, 2009

I have Fedora 8 and we just switched over from a Windows "File Server" to Windows Server 2008 (10.1.1.17). I updated my fstab file and now when I go onto the Windows folders, I can list and read files, even save them, but new files are always read only.

fstab file (some, without the asterisks):
//10.1.1.17/USERS/Jeff/fs /home/mriuser/Desktop/fs cifs rw,username=jsadino,password=**** 0 0

I've tried ntfs-3g, auto, ntfs, smb, some umask combinations, changing ownerships, changing permissions, everything I could think of, but still can't modify new files.

[root@localhost tmp10]# mkdir tmp2
[root@localhost tmp10]# cd tmp2
[root@localhost tmp2]# touch tmp
[root@localhost tmp2]# ls -l

[Code]...

View 3 Replies View Related

Fedora :: Mounting An Ext3 Or 4 Partition With Read And Write Access Using Fstab?

Jul 24, 2009

Anybody know how to make an ext3 or 4 partition start up at boot with only the owner and its group having read and write access permissions.I don't want 'others' to have folder access. This is what i have done. / etc/fstab:/dev/sdb5/media/Data ext4 owner 1 2 The folder starts on the boot since it has been allocated a folder as u can see. Next i changed the the ownership and the group ownership of the folder:chown johnny:johnny /media/DataThe problem is that other users can few my partition since 'others' have read access. How do i change that to zero access?

View 1 Replies View Related

General :: Can't Delete The EXT2 Partition

Oct 31, 2009

I had to install a new disk drive in my PC a week ago because the old drive died. The new drive is a 160 gig drive. First I installed Win XP with S/P 3 and everything was fine. Then I installed Ubuntu 8.04 and the troubles began. Ubuntu resized the Windows partition down to 8.81 gig and used the other 137.44 gig for Ubuntu. When I booted into Windows I started getting nasty little messages about "not enough disk space". SOOoooo....... I booted using the Ubuntu install CD and ran "sudo gparted" in a terminal window. I tried to resize the ext2 partition but got an unknown error.

Then I ran fixmbr in Windows to get rid of grub. Then I tried running gparted again to delete the ext2 partition. Got an error that said "can't delete the partition because it's mounted". So I tried to unmount the partition but got a message that the command "unmount" could not be found. After that I installed Partition Magic in Windows and tried that. It sees the ext2 partition but says it's unsupported when I try to delete or resize it.

I ran fdisk but it doesn't see the Linux partitions either, so I can't delete them in that program. I finally tried to format the disk but now I have a 9 gig drive with nothing on it. How do I get those Linux partitions off the drive so I will have a 160 gig drive that I can start over with? I've spent 6 days this week reinstalling XP and all of my programs, and now everything is gone because Ubuntu decided to be a disk hog.

View 4 Replies View Related

General :: Recover From Deleted Ext2 Partition?

May 3, 2010

I was installing windows vista on my computer, so I backed up everything to a external drive which was formatted with ext2. I then proceeded to install windows vista. When I got to the partition section I tried installing windows vista to my raid 0. When it didn't work I decided that I would delete all my existing partitions and create a new one. Well in my haste I accidentally deleted my ext2 partition from my backup drive that was still connected. As soon as I realized what I had done I shutdown the windows install and disconnected my external drive. This is the current state of my drive from parted:

Model: WD 15EADS External (scsi)
Disk /dev/sdb: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags

I know that the drive only had one partition before and that it took up the entire disk and it was ext2 (maybe ext3).

View 3 Replies View Related

General :: Removing The RAID From An EXT2 Partition?

Aug 11, 2009

This might be a longshot but i used to use the 4 bay NAS here Which formated the HDD JBOD array to EXT2 , Anyway i want to move to an 8 bay DAS now but i cant find an application to convert the partitions .

Partition magic says the partitions are unformatted and the partition id is set to linux raid auto . Is there any way to convert this partition to vanilla EXT2 so i can use partition magic on it ? Its a 4TB array so copying isnt possible.

View 1 Replies View Related

General :: Cannot Copy File Over 16,843,020 Kb On Ext2 Or Ext3 Partition

Aug 26, 2010

i m not able to copy a file over 16 gigs on an EXT2 or EXT3 partition. Is there a way to do this. I even tried to split my iso file too. I splitted my iso file in 4 files then copy them on the ext2 or ext3 partition. But as soon as I was trying to join the files together it never went over 16 gigs. Actually it stops at 16,843,020 kb exactly. is there a limit for those partitions or is there an another way to see my 20gigs iso file in one piece?

View 1 Replies View Related

General :: Create An Ext2 Partition From Command Line Which Is Writable From Every User

Nov 3, 2009

I work with a Debian Squeeze on my laptop and I have a 160GB external hard disk. My hard disk was formatted FAT32, but I decided to format it using ext2. I formatted it using fdisk from command line and everything went well. Unfortunately, when I mount my hard drive(which is auto-mounted from Debian) it has got root both as owner and group. Then I can't write to it because I have no permission to do that. Is there a setting to create an ext2 partition which has as owner the logged system user in order to have right permission every time.

View 7 Replies View Related

Networking :: Mounting Permissions Error / Mounting A Windows Host?

May 28, 2009

I am having permissions errors every time I try to mount a windows host. I have a linux server and all the windows computers can see that computer and its files, but we wanted to start backing up the linux machine to one of our other computers. so I tried to mount one of the computers. here is the sequence of events:

Code:
$mount -t cifs //192.168.1.194/Admin$ /mnt/Anita-comp
password: (I have no password so I left it blank)
Mount error (13): Permission Denied
I tried all sorts of passwords we use around the office and none of them worked.

I then decided to try mounting one of our other computers. this one looked like it worked fine. no error messages at all. (I left password blank) so I look in my filesystem and the mounted drive is not in the /mnt/Anita-comp file. What gives?

View 11 Replies View Related

Server :: Mounting Ext3 File System As Ext2 On Slackware With Custom Build Kernel?

May 16, 2010

I just rebuild the kernel for slackware 13, everything works, but root file system which is ext3 is mounted as ext2. Normally I've build ext3, ext4 and so on as modules, not in the kernel... but if I do this, then the kernel mounts the file system as ext2, which is build in the kernel. I also modified rc.modules so I can make sure that ext3,ext4,jbd are loaded, but it doesnt work.

View 2 Replies View Related

General :: Can't Write File Despite Proper Permissions

Mar 29, 2010

Under debian i did this:

casey@t400:~/programs$ ls -l
-rw-rw-r-- 1 root root 2071 2010-03-28 05:15 urlgetter.cpp

Then

casey@t400:~/programs$ gedit urlgetter.cpp

and upon attempting to save the file, I get the error

"Could not save[...] You do not have the permissions necessary to save the file."

but I am a member of the group root:

casey@t400:~/programs$ cat /etc/group | grep root
root:x:0:casey

View 2 Replies View Related

General :: Mounting A FAT32 Memory Stick With Wide Permissions?

May 8, 2010

I'd like to plug a USB FAT32 formatted memory stick into my Linux laptop and have it mount automatically as it does now but with wide open permissions. At the moment it opens with files only being readable and writable by the user but I would like other uses to be able to read and to write to files (i.e. I use Apache to serve a site from the stick for development purposes).If it matters I am running Jolicloud on a netbook.

View 1 Replies View Related

General :: Chmod To Allow Read And Write Permissions For Directory?

Mar 31, 2010

I have created directories in root. I am looking for the chmod command to allow all users read and write permissions to a specific directory. I have done chmod 775 for a file but I need this for a directory. This includes permissions on all files and sub directories.

View 3 Replies View Related

General :: Find All PHP Files With Group Write Permissions?

Jun 23, 2010

I've been trying to get the -perm option of find to give me all PHP files that are group writable. Should this work?

find -name "*.php" -perm g-w

View 1 Replies View Related

General :: Set A Group With Default Read & Write Permissions?

Jun 14, 2011

What I want to be able to do, is have create a group, for example called "group1" and set its default permissions to read & write, instead of the usual just read.

So when I add a user into "group1" they automatically have read & write access to all files & directories which is in "group1".

Oh & I use crunchbang 10 (statler) for my desktops & Ubuntu 11.04 for my NFS/print/SSH/etc/etc server

View 3 Replies View Related

General :: File Permissions - Read Or Write Access To Different Users

Jul 8, 2010

I own a particular file on a Linux system. I would like to give 2 groups (accounting, shipping) read access and only read access, and 3 users(Mike, Raj and Wally) write access and only write access. How can I accomplish this?

View 3 Replies View Related

General :: Automatically Mounting With Wide Open Permissions A FAT Formatted USB Flash Drive?

Feb 18, 2011

I have a netbook running Ubuntu Netbook Edition and I would like a USB flash drive to be automatically mounted whenever I plug it in. The drive is FAT formatted. It mounts when I plug it in but all files are only writable by my user, other users only have read access. I understand that I need to add a corresponding entry to the /etc/fstab file. I've added the following so far:/dev/sdb1 /mnt/USB_DRIVE vfat

Firstly, is that appropriate so far? I've created /mnt/USB_DRIVE as root. Next, I'm not sure what options I should be finishing the line with, especially to get all users to be able to write to the drive.

View 2 Replies View Related

General :: Give Write Permissions To Multiple Users On A Folder In Ubuntu?

May 9, 2011

There is a folder that is owned by user tomcat6: drwxr-xr-x 2 tomcat6 tomcat6 69632 2011-05-06 03:43 document. I want to allow another user (ruser) write permissions on document folder. The two users (tomcat6 and ruser) does not belong to same group. I have tried using setfacl: sudo setfacl -m u:ruser:rwx document

but this gives me setfacl: document: Operation not supported error.

View 1 Replies View Related

General :: Write A Short Script That Tells Whether The Permissions For Two Files Whose Names?

Apr 4, 2011

Write a short script that tells you whether the permissions for two files, whose names are given as arguments to the script, are identical. If the permissions for the two files are identical, output the common permission field. Otherwise, output each filename followed by its permission field

View 5 Replies View Related

Ubuntu :: How To Dd Windows To An Ext2 Partition

May 27, 2010

i TOTALLY ****ed up my windows bootmgr, and, in some way, the linux partition too. I'd like to format the windows partition, but as all my info stays intact I'd like to conserve it that way. The only way I can think of, is to make a new ext2 partition on the same HDD y have windows ( I only have one HDD, so... ) and save the information there . Wich is the correct way to do so, without losing all my software and/or information??

Other details:

* Rright now, i don't have ubuntu installed on my pc ( I'm using a live cd ).
* I'm using ( or was ) win 7.
* The only partitions on my HDD is an ntfs ( 60 GB ) and an unallocated ( 240 GB )

View 4 Replies View Related

General :: Permissions - Manually Mount A File System Read/write As A Normal User?

Oct 6, 2010

I want to simply mount an ext4 file-system onto a normal mount point in Ubuntu (/media/whereever), as read-writable for the current logged-in user, i.e. me.

I don't want to add anything into /etc/fstab, I just want to do it now, manually. I need super-user privileges to mount a device, but then only root can read-write that mount. I've tried various of the mount options, added it into fstab, but with no luck.

View 3 Replies View Related

Fedora :: Convert The Ext4 Root Partition To Ext2

Oct 31, 2010

I have a usb flash drive and according to sources I found out after the fact that I should have used ext2 instead of ext4 due to the extra write operations.

Is it possible to convert the ext4 root partition to ext2 or do I need to backup, reformat, and restore?

View 1 Replies View Related

Ubuntu :: CFDisk To Make Ext2 And Swap Partition At Mac

Mar 18, 2011

Since Mac OS X, runs a BSD Linux at the core I think that this is the correct place to ask about this, but I need cfdisk to make some ext2 and swap partitions on some Compact Flash and old HDs without needing to download any LiveCD. There is any cfdisk that I can use on my Mac?

View 2 Replies View Related

Ubuntu :: Slow Transfer Rate On Ext2 Partition (10.04 64 Bit)?

Oct 3, 2010

I would like to know if it is normal to experience 10MB/s data transfer rates during copying between partitions on my local hard drives (Toshiba 250GB 5400rpm SATA) while having three times faster (30MB/s) transfer rates between local partitions and USB drives (Kingston 8GB).

View 2 Replies View Related

Debian Installation :: How To Format Persistent Partition (EXT2 / FAT32)

Feb 18, 2011

I have created live persistent usb-hdd (fat32) image, put into USB stick, but now I should create persistent live-rw partition. How this persistent partition should be formatted? Should I format with ext2, or fat32?

View 1 Replies View Related

Ubuntu :: Created Ext2 Partition But Blkid Still Reports As Vfat?

Nov 19, 2010

I had a 40G vfat drive from WIN98 and I used parted to remove the partition, then create a new partition with an ext2 filetype When in parted, and do print...

Code:

(parted) p
Model: ATA QUANTUM FIREBALL (scsi)
Disk /dev/sdd: 40.0GB
Sector size (logical/physical): 512B/512B

[code]....

View 7 Replies View Related

General :: HFS Partition Mounting Read-only

Jul 9, 2010

I have an external Western Digital Hard drive with two HFS partitions with journaling disabled.When I connect it to a computer running Linux (Debian or Ubuntu), frequently both partitions are mounted read-only. In the past, mounting them on my Macbook and executing the command to disable the journaling often worked (even though it would tell me that journaling was already disabled) but I would love to have a solution which works every time.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved