Ubuntu :: Reverting To Default Permissions For Root Filesystem?
Jul 20, 2010
Is there a way to revert to default permissions using chmod, for root filesystem? As root I accidentally chmod'd / to 755, luckily this is a dev server and not production so its not critical to fix for me, just wondering though....
View 2 Replies
ADVERTISEMENT
Feb 12, 2011
Being new to Linux, i've just about got used to the Debian setup procedure now, but had a quick question on the default ownership of files and folders. On my default Debian installation, almost all the folders and files are owned by root:root. Is this the correct advised configuration or should the folders and files be owned by a user without root permissions - eg user:user?
View 12 Replies
View Related
Jun 6, 2010
I am setting a customized MOTD, however after 24 hrs, it reverts back to the default MOTD.
I noticed that it is a softlink
Code:
cmmiller@ladytron:/etc$ ls -al | grep motd
lrwxrwxrwx 1 root root 13 2009-07-05 10:47 motd -> /var/run/motd
cmmiller@ladytron:/etc$
And I'm making the change to /var/run/motd, however it keeps changing.
View 2 Replies
View Related
Jun 17, 2010
When Lucid Lynx came out I did a clean install on my laptop by burning an iso. Unfortunately, I got an annoying bug in which the image would always be wiggly (wavy) in the external monitor. In an attempt to fix the issue, I tried to installed Ati's restricted drivers. Unfortunately, my graphics card (Radeon x1200) isn't supported by them on Ubuntu 10.04, and trying to install it anyway only made things worse.
Right now, I just want it to be back to what it was when I first installed Lucid. Following the instructions on this page, I have already removed the fglrx drivers, and I think I installed the open-source driver. However, I can tell that things are not the way they were when I first installed. By going in "Main menu > System > Preferences > Monitors" I get the usual menu to configure the monitors, except I can't actually configure anything.
There's only one monitor (listed as Unknown), and the system doesn't let me change any of the settings (such as resolution or frequency). The external monitor is showing the same output as the laptop monitor, and doesn't get recognized by the system. I just want to use the exact graphics drivers that came installed in Ubuntu 10.04 Lucid Lynx. But I don't want to do a clean install.
View 1 Replies
View Related
Jun 16, 2011
I'm having a problem with Unity on 11.04. I had installed Gnome 3 just to see what its like and kind of play around with it. I didn't much care for it so i uninstalled it using ppa-purge. It uninstalled, i rebooted and loaded up Unity. It loaded fine but the side bar/launcher/whatever was back to default, with just frefox, libre office, and ubuntu one on it. So i put all my programs back on the launcher (chromium, vlc, clementine etc.) and everything was fine. Until i rebooted, and the sidebar again reverted to default. Every time i turn my computer off and then back on, the sidebar goes to the default programs (but stays the smaller size i changed it to using compiz). No idea why or how to fix it, but it's only happened since i uninstalled Gnome 3...so i assume that has something to do with it.
View 2 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
Aug 14, 2010
Don't know where this issue should go but though it was more to do with software.The issue I am having is that I tried to install Realtek Linux AudioPack 5.15. Once it got installed my soundcard was no longer detected in System > Preferences > Sound. The reason I was trying to install Realtek was due to not being able to get sound working in Wine. But now that I have installed it I'm not getting sound on the desktop and in wine.
View 1 Replies
View Related
Mar 27, 2010
When I try to boot to OpenSUSE I get the following error during boot-up: unknown filesystem type 'reiserfs' could not mount root filesystem - exiting to /bin/sh$
This only started happening quite recently - before this I could boot to Linux quite happily.
View 6 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
Dec 21, 2010
My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:
# Set to 'yes' to mount the system filesystems read-only.
READONLY=yes
# Set to 'yes' to mount various temporary state as either tmpfs
[code]...
View 3 Replies
View Related
Aug 10, 2011
Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?
View 3 Replies
View Related
Sep 27, 2010
I'm having a chain of problems, one coming faster than the last. Finally, when things started to brighten up - this happened:Booting into OpenSUSE 11.3 64-bit results in an error where a terminal crops up and attemps to load the kernel, however, it seemingly doesn't have permission to do anything other than load the actual kernel. It can't read the login info so none of it works, and during boot 203 warnings but 0 errors are generated, complaining about the inability to read, or write, files.The booting is customized, because the partition table is gone.Little bit of history lesson behind what happened here:I always used Ubuntu and Windows. Ubuntu was my primary OS and Windows was the secondary. Now, Ubuntu did what it usually does which is to **** up hardcore and suddenly not only suggest, but on its own complete, a partial OS upgrade, removing the kernel and various other nasties.
Recovery mode and older kernels still work, but I got so unbelieveably tired of that bothersome crap I decided I'd do away with Debian and switch to RPM in the hopes that it wouldn't do that. I also wanted to try KDE, and since Kubuntu is... well, an abomination that shouldn't have existed in the first place, I decided to give OpenSUSE a go.I try to shrink my Windows partition, but it's impossible. Some kind of important system file has been located at the very end of the partition and it resolutely refuses to move. To fix this, I get EASEUS Partition Master to shrink it. This works, but it also corrupts/deletes the Partition Table so that ONLY EASEUS Partition Manager can now read it - not even Windows' built-in partition manager works anymore. In order to solve it, I can pay $55 for another program called EASEUS Partition Table Recovery Tool.Haha, yjeah - not gonna happen.
However I don't really notice this until I plop my OpenSUSE 11.3 DVD into the computer and start installing, and notice the complaint from YaST2 that it can't give me a decent suggestion because it can't figure out what the hell's on the drive. Manual specification still works, however, and I manage to install it, only to have YaST2 complain at the end yet again that it was unable to install GRUB. Rebooting throws me directly into a command prompt.So I spend days figuring out how to work it with GRUB and finally figure out how to find the UUID's manually and specify a GRUB2 setup that I then manage to chainboot Windows 7 and boot into both Ubuntu and SUSE.All of it works fine, except SUSE, which has this quite horrific permissions problem, despite SUSE being the root of the file system and Ubuntu being mounted inside a home directory of the SUSE partition (incase that has any effect) - although the two user accounts have the same names and passwords.
View 9 Replies
View Related
Feb 14, 2011
As the title says, I've just given ubuntu full filesystem permissions. I used the following command thinking it would change the permissions of the folder I was in.
sudo chmod -R 0777 Is there anyway of reverting the permissions without doing a full reinstall?
However saying that, i'm doing a full reinstall just incase.
View 6 Replies
View Related
Nov 22, 2010
we have a data transfer network drive, shared via nfs and samba.But now I got the special demand to make any of the files read and wirteable, regardsless of the permissions they had before.With acl I get the right permissions (via default values) but the standard unix permissions overwrite this. e.g. when I have 644, it does not care that the group has write permissions)Does someone have an idea (except chmod via cronjob )
View 1 Replies
View Related
Jul 11, 2011
I'm very new to Linux, i'm running Ubuntu and i'm trying to install a program. In the instructions it says "Check that you ARE NOT root, never run similar tools as root! just change file permissions". How do i check if i'm root or what am I supposed to do here?
View 7 Replies
View Related
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
Jun 1, 2010
I am trying to run a cron job as an oracle user. I put the user in the cron.allow file but it still won't run. Other users are able to run a cron job though. I think it's the way the oracle user was created and I wanted to recreate it. However it owns a lot of other file systems as well as the database. Is there a way to recreate or reset the oracle account without impacting what is currently in place?
View 1 Replies
View Related
Jan 4, 2010
im looking to allow virtualbox raw disk access to /dev/sdb
currently if i
ls -l /dev/sdb
brw-rw---- 1 root disk 8,2010-01-04 17:00 /dev/sdb
now if i chmod this to 777 or use chown to change the owner this temporarily works but after a few moments it defaults back to its original permissions.
is there a way i can define the permission? i was thinking fstab but i can't have a mount point?
View 5 Replies
View Related
Mar 19, 2010
I have a custom Ubuntu distro that run both from a CD and PXE boot. The problem I have is that I need to boot in an environment that has to be routed through a router that can't forward NFS (the protocol doesn't use a standard port) I found that the Ubuntu based Clonezilla Live CD has a option like "fetch tftp://server/folder/filesystem.squashfs" I can borrow the kernel and initrd and it works, but how do I add this feature myself? Is there a package I need to install or a initrd option I need to add?
View 1 Replies
View Related
Jun 18, 2010
Lately however my root filesystem is getting filled up every night-- I come in in the morning and have notices that I have 0 bytes remaining. There's tons of room on the disk, but the root is full. Here's what it looks like with a df -h:
[Code]....
View 4 Replies
View Related
Mar 1, 2010
ive been recently experiencing some problems with my ubuntu studio 9.10 setup, with the filesystem failing to mount. after deciding to try a new hard drive and cable, as well as clean install ubuntu, fedora and now mint, im still finding no filesystem.im using a live cd created for mint (like it ). having clicked install to hard drive, all is well until the partition manager, where all the boxes are greyed out. clicking forward produces a box saying "no root filesystem defined". i see there are a few on here from a few years back and having read through them, cannot find a fix for myself.
View 9 Replies
View Related
Jan 10, 2011
Using Ubuntu 10.10, 64-bit, installing after LiveCD testing.sda3 can't really be erased due to its contents, something I can't exactly get back or transfer.
View 2 Replies
View Related
Jan 25, 2011
Whenever I try to open a folder or some other location on disk through any program, I get the Remote Desktop Viewer. For example, if I go to Places --> Home Folder, the RDV opens up and says "the connection to /home/<me>" is closed. It's very odd. I get the same behavior in Chromium if I select "Show in Folder" for a download.
If I go to the terminal and type 'xdg-open ~' or 'gnome-open ~' I also get the Remote Desktop Viewer, just like I do when I select home from the Places menu.
View 3 Replies
View Related
Jun 26, 2011
I have a file server running a cronjob to reset file permissions on a regular basis. I was thinking, I wonder if there is a way to do the chmod and chown command in a single command, as I always have to do both on the same folder, the way that you can do "chown root:users Uploads" instead of having to do two separate commands for chown and chgrp.
Then I got to thinking, are these commands even necessary? Every file copied or moved into these folders by any user needs to be something like "chmod 750" and "chgrp root:users", so rather than running a cronjob to do these modifications at regular intervals, there ought to be a way to set the folder permissions so that any files contained within will have these permissions.
The problem arises because users create documents, then a supervisor with elevated privileges can move those documents into a shared folder, however the permissions are wrong, they are user1:user1 for the owner and group and the other users can't read the file until a cronjob changes the group to be users. This has actually been acceptable, but certainly there is a better way to do this.
View 7 Replies
View Related
Jul 3, 2011
my dad has been using Ubuntu for a few weeks now and likes it, however he's having some issues regarding read-only files. He's a doctor and frequently has to download word files to edit, however they always download as a read-only file. While this isn't particularly difficult to do, he finds doing it tiresome and because he isn't the most proficient PC user, may have difficulty with it when I return to school after the summer. I was hoping that there's some way to change the default settings so that all files downloaded are writeable.
Additionally, he has a number CD-RWs which he both retrieves files from and stores them to, however when trying to access these CDs he is told that they are read-only. Right clicking on the CD and trying to change the access permissions doesn't work (says that permissions can't be changed because the disc is read-only).
View 7 Replies
View Related
Feb 15, 2010
I have a dual booting newly installed 64 bit Ubuntu 9.10 on my machine. It was all fine until today. Now when I boot into Ubuntu, I see the error Failed to mount root filesystem. I cant remember any significant changes during the last session. One thing I remember is I upgraded the system using the update manager which asked me to choose an option for grub boot loader. I opted for its upgradation. After the upgrade, I was able to work with Ubuntu for a few more sessions. Windows XP works very fine.I checked other threads which suggested running fsck, but it did not help. fsck does not report any errors.
View 1 Replies
View Related
Jan 4, 2011
Anybody know if its possible to add the root filesystem to the favorites in files and folder in ubuntu 10.04 nbr?
View 1 Replies
View Related
Apr 30, 2010
I'm wondering if anyone knows what will be Squeeze's default filesystem. Will it be the proven ext3 or the newer (sometimes faster, sometimes slower) ext4?
I currently have ext4 and I have nothing to complain about. In fact, my overall experience has been very positive. Ext4 is definitely faster when fsck runs during boot.
What would be the cons of having ext4 as default in Squeeze?
View 3 Replies
View Related
Feb 17, 2011
about 2 weeks post-install, I find that my new debian etch machine has limited support for different filesystems. In the past, I've always seen support for riesers, xfs, ntfs, fat32, of course ext2/3,. I was trying to mount and read an old windows ntfs HDD, and there were problems, so I went to:
cat /proc/filesystems (see below).
Is there any way to get back support for other filesystems on my kernel, or do I need another kernel, or do i need to compile a new kernel? Maybe just install the system over again? (if I do, how do I select for filesystem support)...
blaster:~# cat /proc/filesystems
nodevsysfs
nodevrootfs
nodevbdev
nodevproc
nodevcgroup
nodevcpuset
nodevdebugfs
nodevsecurityfs
nodevsockfs
nodevpipefs
nodevanon_inodefs
nodevtmpfs
nodevinotifyfs
nodevdevpts
nodevramfs
nodevhugetlbfs
nodevmqueue
nodevusbfs
ext3
View 8 Replies
View Related
Jun 16, 2010
How to enable Root login...i cant copy or move something on the HDD...I have administrator rights and password for root but i cant change permissions for the HDD without login on root and root login are not allowed .
View 10 Replies
View Related