General :: Remove Permissions From Ext3?

Oct 8, 2010

I use an external hard drive for storing lots of files I share with friends and family.

I know I can set 666, but I can only do this in contained files and directories, NOT on the actual disk root. This means people can't write to the disk root.

Also, setting 666 might cause some issues when someone else pastes files and applies some other permissions.

Is there some way to remove permissions completely from an ext3 filesystem? I mean, have the entire "permissions" layer removed? Otherwise, what can I do?

Changing fstab is out of the question, this is a shared EXTERNAL disk; people use it on their computers, I can't go around changing their fstab.
The same goes to mount parameters.

[edit] Ok, I said ext3, but it's actually ext4. I don't see any difference in this case anyway, but just in case.

View 12 Replies


ADVERTISEMENT

General :: Formatting HD With Ext3 / Ext4 With Full RWX Permissions

Dec 29, 2009

How can I format a USB hard drive to ext3/ext4 or whatever file format and have full permission to read, write and execute all files afterwards? When using the command line (as ROOT of course) mkfs.ext3 /dev/sdb? Restricts the rights to ROOT as does the procedure gParted. The man mkfs did not help much. Configuring the fstab- file is a bit of a hassle, so it would be nice, if there was an option to set the permissions "correctly" right from the beginning. Setting Ubuntu (I'm using Ubuntu 9.10) up, so that it mounts USB devices not as ROOT as default but giving all users all permissions seems to be really complicated, as a guy from my local LUG told me.

View 10 Replies View Related

Hardware :: Set Permanent Permissions On Ext3 HDD?

Feb 23, 2009

I just formatted a 40 GB HD. It is labeled BackupDrive.I need to set permanent permissions so that all users and guests over a Samba share can read and write to the disk. I believe I need to use fstab, but I need some help with the command I would add. I am using OpenSuse 11.1 The mount point appears to be /media/BackupDrive_

View 2 Replies View Related

General :: Permissions - Temporarily Remove My Association With A Group?

Jan 21, 2010

I need to test linux group permissions on a repository. In one shell, how can I temporarily remove one of my group associations? e.g.If my groups are defined as:

% groups
foo bar baz

How can I make it so it only returns foo bar without baz?

View 2 Replies View Related

General :: Recovering 1Tb Ext3 With Fsck.ext3?

May 20, 2011

I Tarred and GZipped most of the data on one 1Tb partition and stuck the archives on a second 1Tb partition on a separate disk. I then proceeded to format the first partition with NTFS (from Linux.) The only problem is that I completely forgot that I had a CD drive and formatted sdc1 instead of sdd1! I began doing a full NTFS format and after a minute or two I cancelled it and decided to do a quick format. I then realized my mistake. I managed to find a copy of the superblock and began trying to recover the disk. fsck -t ext3 recognized the partition as NTFS but I luckily didn't have fsck.ntfs installed so it didn't touch it. I managed to get it working with fsck.ext3 (with -b,-B and -y) fsck.ext3 didn't mind that it was an NTFS partition.

Roughly how long will this take? It's running from Knoppix within a virtual machine to a USB hard drive which is 100% full. Days? Being that for a few minutes I attempted a full format am I going to end up with a bunch of corrupted archives? If I do end up with file corruption can anyone recommend a way of recovering the data / sorting it out? Is it likely to be just a few old files that are corrupt (It's my understanding that filesystems like to keep files in the same area on the disk to minimize the amount of head travel.) This might just be wishful thinking but as the filesystem fills up will ext3 put the newer files towards the end of the disk? If so then I'm hoping that a full NTFS format starts at the beginning of the disk.

View 6 Replies View Related

Ubuntu Security :: Remove Delete Permissions On Certain Folders?

Feb 8, 2010

I have a Ubuntu file server with a mix of 30+ users ( mix of windows and linux ).All are members of the same group. All need read write create access. I want to prevent deletion of certain key folders. How can I achieve this ? sudo chmod -R nnnn ??

View 8 Replies View Related

Slackware :: Change Ownership Of All Games At Once Or Remove Permissions?

Jan 16, 2010

I caught my two oldest boys at various times playing games instead of doing their school work.I said enough is enough. I will lock them out of the games. I don't think you need to be in the games group to play games

View 7 Replies View Related

General :: RW Permissions On External HDD - Chmod: Changing Permissions Of `whatever': Read-only Filesystem

Mar 15, 2010

I have a problem with my external hdd, I mounted it manually and in the mount table it says ive got rw permissions. But when i try to change permissions it says:

chmod: changing permissions of `whatever': read-only filesystem.

This is my mount table:

[root@localhost ExtHDD]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)

[code]....

View 6 Replies View Related

Debian Configuration :: Permissions & Fuse - Mount A Remove Filesystem Onto Own Server

Feb 10, 2011

I'm trying to mount a remove filesystem onto my own server. I am able to do this, however I can only access it as root, or if I chmod 777 the lot. Obviously I want to be as secure as possible, so I'd like to avoid either one of those options. Another option is to mount it directly into my home directory, but previously when I was trying out Ubuntu this caused Samba problems - and I was advised mounting in my home dir was a workaround rather than a proper fix.

I have root access with sudo on my own server. I've not set a root pasword, and until I need to I'll avoid it. I have a user account with full control over my own home directory on the remote server. I am mounting using fstab - sshfs#username@remoteserver:/media/sdk/home/username/ /media//remote/ fuse    user,idmap=user 0 0

What I would like to do is without changing the permissions on the remote server change the permissions when they are mounted on my own server. I would like them to be in the group sambausers for example. Instead they are owned by root and in the group of 1024 (which I have not set). Additionally for this to work they would have to have 770 on my home server and 700 on the remote server....

View 1 Replies View Related

Ubuntu :: Single Command That Will Remove All 'other'permissions From All Files And Directories Under /home?

Sep 10, 2010

What is the single command that will remove all 'other'permissions from all files and directories under /home.
Just starting to learn Linux.

View 1 Replies View Related

General :: Change Folder Permissions Without Changing The Permissions Of The Files Within The Folder?

Aug 11, 2010

How do I change folder permissions without changing the permissions of the files within the folder?

View 6 Replies View Related

General :: Difference Between LVM And Ext3

Aug 4, 2010

Difference between LVM and Ext3

View 4 Replies View Related

General :: Need To Defrag HDD In System? (ext3)

Feb 10, 2011

I recently moved around, deleted and just had a general day of cleaning up the file structure on my pc. HDD contains about 2 TB of data. Around 1 TB was relocated on the disc, and yet another TB was moved to external drive.

In windows this would likely means it was time for a defrag. Can't find any defrag tools in Xubuntu and that lead me to remember I read somewhere that there is no need to defrag when running Linux.

So is that correct? Is defrag only for the wondows world and something we never need to do in Linux?

If not is there a way to do a defrag from terminal?

View 5 Replies View Related

General :: Convert Ext3 To Ext4?

Mar 9, 2010

how to convert ext3 to ext4? I'd like to convert partitions which I use for virtual machines (vmware-server and virtualbox). I use Ubuntu 9.10 as vmware-server host and Gentoo as virtualbox host.

View 5 Replies View Related

General :: Convert Ext3 To Ext2?

Mar 28, 2011

I would like to convert my /tmp and /boot partitions from Ext3 to Ext2 on my Arch Linux setup. I don't see any use in having journaling for either partition. I want to make sure that I have the right steps lined up so could someone verify that this is correct (from a live cd):

Code:
#sudo tune2fs -O ^has_journal /dev/sda7
#sudo e2fsck /dev/sda7
#sudo tune2fs -O ^has_journal /dev/sda5
#sudo e2fsck /dev/sda5
I then edit /etc/fstab to reflect these changes (ext3 to ext2 for both lines)

Does it matter what order I do it in (/dev/sda7 is /tmp and /dev/sda5 is /boot).

View 3 Replies View Related

General :: Converting The Ntfs To Ext3?

May 13, 2011

converting the ntfs to ext3.

View 9 Replies View Related

General :: Where Is Inode Table In Ext3

Mar 16, 2010

Where is the inode table located in ext3 file system ? How can I read the entries in it ?

View 4 Replies View Related

General :: How To Set Ext3 Partition Hidden Flag

Apr 15, 2010

I have a created an ext3 partition and when i tried to set is hidden flag, there seems no effect. how to set the hidden flag of an ext3 partition?

View 1 Replies View Related

General :: Should External Drives Be Converted To Ext3

Jul 29, 2010

I switched over from Windows to Linux. I have an external drive that has basically just media files on it. Are there any advantages to converting this to ext3, or should I just leave it as ntfs3?

View 2 Replies View Related

General :: Reading/writing Ext3 Partiton From XP?

May 9, 2010

I've used ext2ifs drivers to mount my ext3 partition in winxp, but I don't have write acces, it's mounted in a read-only mode, and i didn't check the rad-only box during the installation of the drivers.I've used help from the official site http://www.fs-driver.org/and this tutorial http://www.dedoimedo.com/computers/l...s-windows.html
It's a straithfoward proces so I dont understand what I did wrong.I'm using fresh xp install with (more or less) all the updates and ubuntu 10.04Also the partition is mounted at /home, so I dont know if that makes any diferance.

View 3 Replies View Related

General :: Recover Data From Ext3 Partition?

Dec 30, 2009

A HP Netserver LP2000r, with original SCSI controller and HP NetRaid-2M controller, 3x 36GB Ultra3 HDD in RAID5, Debian (sarge/etch), has crashed after 992 days without reboot. From all that I can see, a hardware failure, most likely with the memory. The HP Diagnostic tools cannot find any problem, but everytime I boot into Knoppix, I get between 2minutes and 2 hours of runtime, and then either a kernel oops or just a complete and sudden halt.

Well, the box has earned its money. However, there is some data on the drives that I need to recover (yes, I have beaten myself up properly about not backing up that data, don't even go there !). There are three partitions: sda1 is /, sda2 is swap and sda3 is a LVM volume with 3 logical volumes on it. As far as I can tell, the hardware defect must have been creeping in and has made a total mess of the inodes in all these partitions.

After booting into Knoppix, I can restore the volumes using pvscan, vgscan, lvscan, vgcfgrestore and vgchange. If I try and mount them: mayhem. So I try and check them, using fsck.ext3. All sorts of interesting nonsense, such as a completely empty inode 11 (the first inode) and then obviously from there on all else is pointless. I tried using debugfs, but the information on what to do with it is somewhat spurious.

P.S.: Tomorrow I will go and get myself a 16GB Flash Drive and then hopefully I will be able to dump the partitions one by one onto that drive and transfer the images onto a different computer for analysis and data recovery.

View 1 Replies View Related

General :: Recover Deleted Directory In EXT3?

Jul 19, 2011

recover deleted files using "debugfs" & "extundelete" by running:Code:sudo debugfs /dev/sda3
and find inode number of deleted file using "ls -d" command and then running:Code:sudo extundelete /dev/sda3 --restore-file <inode#>but when my desired file was in a deleted folder I can't find my desired file inode number using debugfs

View 1 Replies View Related

General :: /var On SD Card :: Ext2 .vs. Ext3 .vs. Jfs .vs. Jffs2?

Apr 22, 2011

We are running debian off of an SD card and want to know what's best for /var?

- Plenty of room on 2GB SD card, so do we, make /var as large as possible (everything else is read only) to reduce block overwrites, or do we make /var as small as possible, hopefully reducing the load 'pdflush' places on the 200 Mhz system?

That said, why not ext2? Is there damage that can happen in /var due to insta-crash or power loss that will prevent proper system function? We heard ext4 is more optimized, but ext4 on 2.6.29, not sure.

If we must use a journaled file system for /var, then which is lowest load on system, or "better": jfs, ext3, jffs2 ...

View 1 Replies View Related

General :: Mounting Ext3 Formatted Drive?

Feb 16, 2011

I am trying to install a harddisk, which is already formatted as ext3, into my Qnap NAS box. The web interface of the NAS box shows, that the harddrive has been detected, but I am not able to mount any of its partitions.This is the output from fdisk -l:

Code:
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders

[code].....

View 10 Replies View Related

General :: View Bad Blocks On Mounted Ext3 Filesystem?

Mar 18, 2011

I've ran fsck -c on the (unmounted) partition in question a while ago. The process was unattended and results were not stored anywhere (except badblock inode). Now I'd like to get badblock information to know if there are any problems with the harddrive. Unfortunately, partition is used in the production system and can't be unmounted.

I see two ways to get what I want: Run badblocks in read-only mode. This will probably take a lot of time and cause unnecessary bruden on the system. Somehow extract information about badblocks from the filesystem iteself. How can I view known badblocks registered in mounted filesystem?

View 2 Replies View Related

General :: Can't Copy The Disk Image Over To Ext3 Partition

Jan 6, 2011

I recently installed Linux to run a few Linux based tools on a disk images I have, and I can't seem to copy the disk image over to my ext3 partition.

The particular distibution I'm using is BackTrack 4 r2, which is Ubuntu based. I can't seem to find specifically which version of Ubuntu is being used. The disk image is 108GB. It is currently located on a NTFS partition on a SATA hard drive connected directly to the computer. The ext3 partition is located on a second SATA hard drive connected to the same computer. It has 200GB total. I do not remember exactly how much free space it had but "df -h" showed a lot more than 108GB. The computer has 4GB of RAM and I gave it 8GB of swap space.

At this point it has been running for more than 12 hours. This is far longer than I would expect it to take had I been copying the file under Windows. How ever I do not have much experience with Linux, so if it's supose to take this long please let me know. I am planning on letting it run until I wake up tomorrow.

"cp -v" hasn't been very verbose at all. The only sign I have that indicates the computer is still trying to do something is the HDD light on my chasis that has stayed lit this whole time.

View 4 Replies View Related

General :: Ext3/ext4 Filesystem - Cannot Open My Files

Jan 31, 2011

I have installed ubuntu to my pc. i made 3 partitions. one for system, one for data and one for swap. two of them were ext4. after some time i have reinstalled ubuntu again. but this time i didn't put to format the second partition, but just mount it using ext4. after that i cannot open my files. checked with gparted shows that 2GB used, but with df 188MB. and in properties writes ext3/ext4 filesystem. i used chown, chgrp but didn't help. please help, these data are ver important. i cannot lose them.

View 7 Replies View Related

General :: How List The Attributes - Difference B/w Ext2 And Ext3 ?

Mar 10, 2010

What is attribute?

How list the attributes?

What is the diff b/w ext2 and ext3?

What is the types of files?

What is the drived files?

View 3 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 :: Mount A File System (/dev/sdb) As Ext3 (rw,acl,user_xattr)?

Jul 15, 2009

I'm trying to mount a second hard drive as a ext3 (rw_acl,user_xattr). I type the ff.:

# mkfs.ext3 -c /dev/sdb1(it seems to create a file system from this 2nd HD)

then type:

# mount -v /dev/sdb1 / type ext3 (it seems to mount it)

But when I check the ext3 systems with typing:

# mount -t ext3 (to check the list of ext3 devices, it gives me this)
/dev/sda1 on / type ext3 (rw,acl,user_xattr)
/dev/sda2 on /home type ext3 (rw,acl,user_xattr)
/dev/sdb1 on / type ext3 (rw)

How can I make /dev/sdb1 on type ext3 as (rw,acl,user_xattr) as the others?

View 11 Replies View Related







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