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
ADVERTISEMENT
Feb 9, 2010
I have been having problems with filesystem corruption on my eeepc 1000H for a long time now. I have tried using different filesystems, kernels and distributions (arch, slackware) to no effect. I am starting to grow suspicious that this problem lies somewhere else, as I haven't seen anyone else having similar problems in such a variety of scenarios.
I have tried testing my ram using memtest86+, didn't come up with anything after a full run through. I also have tried using e2fsck -c to check for bad blocks, it finds none. I had a go at using smartctl but wasn't really sure what I was doing. I did a long test and it came up with nothing anyway.
This problem is in addition to the problems I've been having with my intel graphics chip and KMS. A lot of the time there are lockups when booting into X, which can only be gotten out of by a hard reset. This is sometimes what causes the original filesystem errors. I've stopped messing around with KMS for now to eliminate this but my current system in unbootable. I'm guessing my disk is wrecked but have as yet seen no definitive proof. Can anyone recommend anything that I should do?
I am currently on ext4 with a custom kernel 2.6.33-rc6 (the stock kernel shipping with slackware does not have the elantech extension for psmouse included). When I was using arch, I was just using the stock kernels.
View 9 Replies
View Related
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
View Related
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
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
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
Oct 16, 2010
Finally I managed to install my printer/scanner drivers.The last thing I need to do is to add the following two lines to 40-libsane.rules (which is a read only file):# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes".How can I change permissions for this file or add these lines without changing permissions?
View 2 Replies
View Related
May 31, 2011
Problem: permissions for rsync and BackinTime. Setup: Ubuntu 11.04, Two internal HD, #1=main, single boot, #2=backup drive. Question: How do I set up my 2nd HD with correct permissions? Background: I had previously a dual boot XP+10.04 with a 2nd HD formatted as NTFS. With this I was able to use my rsync and backintime to my 2nd HD with no issue. My new set up is EXT4 on both HD.
(I even tried to reformat my 2nd HD as NTFS, but that didnt fix the issue) I followed [URL] to mount the 2nd HD and get permissions. But now when I run backintime i get this error: [E] Error: rsync: opendir "/home/myhome/.ssh" failed: Permission denied (13) I did my requisite reading for a newbie, and am stuck. I ran backintime as root, and it backed up ok. How do I run my user version of backintime? (i.e. How do I fix the permission issue?)
View 9 Replies
View Related
Mar 16, 2010
Is it possible to reset apache 2 permissions to default permissions I'm using Ubuntu 9.10 command line server, would webmin give me this access ?
View 1 Replies
View Related
May 19, 2010
I'm running Ubuntu 10.04 and I've been looking to customize what's given as my command prompt, and I learned how to do this by entering PS1="desired text" which is remarkably straight forward.
I'm a little stuck on how to make this permanent though. If you just type in that command, then when you close that terminal session and open a new one, it resets to the old/default prompt. I read the tutorial at:
http://www.cyberciti.biz/tips/howto-...up-prompt.html
and it referred to editing the .bashrc file in ubuntu. I found the bash.bashrc file in /etc/ and edited the line that said PS1=, however it didn't change my command prompt. I searched for other files relating to bash and in clear instances that PS1= was given, I changed it to see if the command prompt would change. This has been to no avail so far though.
Does anyone know which file needs to be edited/what needs to be done in order to make a customization of the command prompt permanent?
View 6 Replies
View Related
May 29, 2010
I have ufw on a 8.04 LTS machine and I have vsftp running on it. Now, I have a standard deny all but when I do ufw allow ftp and restart ufw is ok, I can reach my ftp. But... after reboot I can't and the 21 and 20 ports are not open anymore. I know it is a shame but I solved it in a very very dirty way. I have a script that takes ip ranges from a list file at boot and makes a blackhole routing for them and then, I included two lines in it commanding ufw to open ftp and restarting it. It works, but I want to know why were my changes not permament.
View 9 Replies
View Related
Dec 9, 2010
I read this article as a way to do a non-permanent of something. I saw 2 problems. The first that my rm is located at /bin/rm. I would assume I would change the location to /bin/rm. The second my rm is a executable file and not a text file. So will replacing my rm file with the shellscript below work? I would think they would need to be the same type of files.
[Code]...
View 1 Replies
View Related
Dec 20, 2010
I'm trying to make xrander changes permanent how can I do it?
View 2 Replies
View Related
Jul 19, 2010
I installed 11.3 on an eee pc 901 with the ldxe desktop. everything seems to work fine and out-of-box.
But when do some configuration changes on the touchpad using the gsynaptics-gui, the changes only last until the next reboot of the computer.
How can I make them permanent?
View 1 Replies
View Related
Sep 5, 2010
I cannot get 1024x768 resolution permanently in my screen. When i go and adjust it in the kde personalize setting in the display menu everything seems to work. But after i reboot the system, the resolution again changes. Then i have to again configure it to 1024x768. Also i cannot find sax in openSUSE 11.3.
View 7 Replies
View Related
Feb 23, 2010
I'm using Links on a Ubuntu server, and to view images I'm using Asciiview, which works well, but the association is not retained whenever I close links. How can I retain this association?
View 1 Replies
View Related
May 20, 2010
Http://ubuntuforums.org/showthread.php?t=961324
In this link, the last poster describes a way to disable tap click which I find VERY useful, but the thing is, after I reboot it goes away. Is there anyway to make this command permanent?
View 2 Replies
View Related
Aug 13, 2010
I use Ubuntu 10.04 and after installing the driver for my onboard video card, I can no long boot into Ubuntu. I'm thinking that if I was somehow able to remove it, this might fix the problem. Is there a way to do this, possibly from the boot cd?
View 4 Replies
View Related
Oct 1, 2010
Ubuntu 10.04 64-bit
Partition on HD
/root
/home
[code]....
View 1 Replies
View Related
Sep 27, 2010
I have some problem when i want to mount a directory from another server, this is the detail information:
Server : 192.168.2.83.
-> cat /etc/exports = /simprela1 192.168.10.129/255.255.255.0(rw,no_root_squash,no_subtree_check)
Client : 192.168.10.129
[code]....
It's work very well until i try restart my client server and the mount from 192.168.2.83 is gone, if i want it work again i must run mount script again. Can it become the permanent mount, so when i restart my server the mount is already exist?
View 2 Replies
View Related
Jan 24, 2011
I have recently used PowerTop to get information about what settings I could tweak to make my laptop more power efficient. However, my problem is that all such changes seem to dissapear as soon as I reboot my machine. For example, if I run:
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
This value will have been rewritten to 500 when I reboot. Is there any way to change this, and make sure that any and all changes I do to my system remain permanent until I change them to something else? This question is of course not limited to Powertop, I would also like changes I do via for example cpufreq to be permanent as well.
View 5 Replies
View Related
Nov 5, 2009
how to save alias permanent
View 4 Replies
View Related
Mar 26, 2009
My Fedora 10 install runs from a single PC, from a single location. I'd like the connection, via wireless, to automatically connect to my home network. Right now, I suspect that NetManager scans all the options first.But that's a waste of time. How do I set things up to skip all that and just grab the only connection that will work?I have NetManager set up to "Auto linksys" with MTU set for "automatic" too. I've Googled around for this, but maybe have missed something. Too often, at login I do NOT connect though the network is available. I suspect there's a way to lock this in that I have not yet discovered...
View 1 Replies
View Related
Mar 10, 2010
i has setup a persistent DNS cache to improve my web-browsing. it works wonders and with my ICC built firefox my web-browsing is laser-fast, pretty much like using internet explorer in windows! however, everytime i reboot, my modifications to /etc/resolv.conf have been replaced... 1st. the file must contain:
# Generated by NetworkManager (obviously modified by this)
nameserver 127.0.0.1 <----this is lost on reboot, and is needed to make it all work
nameserver 209.226.175.223
nameserver 198.235.216.134
i have tried to add this to - System/administration/network, but it doesn't seem to fix the problem. 2nd. my next problem is that when fedora 12 starts up,i need it to start "dnsmasq".i have tried to add it as a startup application, but it doesn't start automatically.so i end up having to start it manually everytime:
sudo /etc/init.d/dnsmasq start
it is annoying, but so far i just deal with it, because my browsing is that much faster! i am planning to post a tutorial for those interested in faster web-browsing in linux, but until i can make the changes perminent there isn't much point.
PS: i have tried to write a shell script to do this and every which way i try it fails
View 8 Replies
View Related
Feb 16, 2010
A fresh install of 11.2 with Gnome (all updates applied, only recommended standard repos enabled) turned the screen black after the predefined time of 5 minutes. The screensaver is set to "Blank screen" and screen lock is disabled. The PC did not wake up again and was not ping'able from the outside. The last words in /var/log/messages are code...
View 4 Replies
View Related
Jan 20, 2011
Opensuse 11.3 with latest updates
KDE desktop
Whatever resolution I choose, 1600x1200 is preferred, it is reset to a default of 1024x768 when I log out. I use the "Configure Desktop" option to set the resolution. I can find no other method to do so. The graphics adapter is an ATI hd3200. I have installed the fglrx driver. I cannot fine the "Control Center" for the driver. How do I make the selected resolution permanent?
View 4 Replies
View Related
Feb 15, 2010
I have a Finnix live CD. I can customize it by remastering it. When I boot with the live CD I need to make a little change in the boot profileThe boot profile before making the changes islinux apm=power-off vga=791 initrd=minirt quiethe boot profile after making the change become linux apm=power-off vga=791 initrd=minirt quiet root=/dev/sr0Now, I need to make this change (adding root=/dev/sr0) permanent. How can I do that?
View 1 Replies
View Related
Feb 14, 2010
Every time I turn on my laptop, the alsamixer settings get reset. How do I make the changes permanent?
View 2 Replies
View Related
Mar 2, 2010
I'm trying to make sure I don't screw anything up. When I type in the following into the terminal:
sudo hdparm -M 128 /dev/sda
Are the changes permanent, even if I restart? If not, how can I make sure it is permanent? I've read of going into the /etc/hdparm.conf file and editing it, but what exactly do I type and where should it be put in the file?
View 3 Replies
View Related
May 23, 2010
Whenever I boot into ubuntu 10.04, my monitor just automatically goes into sleep mode. As soon as I select to boot into ubuntu, the monitor just sleeps. There's no getting out of it. Booting into windows works fine though, so the problem has to be ubuntu.
View 9 Replies
View Related