Ubuntu Networking :: NFS Permissions Management Has Changed In Maverick 10.10 (2.6.35)
Oct 25, 2010
I recently upgraded from Lucid to Maverick, and I noticed that a new error message caused by a "cp" command call, including the hard links option. Fortunately, I kept the last Lucid kernel (2.6.32-25), so I could check the different behavior with booting successively on each kernel. Here are my configuration files:
On the server (192.168.1.2):
/etc/fstab :
UUID=... /mnt/Backup ext4 defaults,errors=remount-ro,relatime,async 0 2
/etc/exports :
[code]....
If I check permissions of /net/Backup/Folder2 from the client, I get :
- under kernel 2.6.35-22: all the subdirectories are created, but all empty; moreover, I get as many messages as number of files from the source:
"cp: cannot create the link ...: operation not allowed"
I can copy manually any file to /net/Backup/Folder2 from the client. Why the behavior has changed from kernel 2.6.32-25 to kernel 2.6.35-22 ? Should I modify the permissions or the way the mount is exported with options like "(no_)root_squash", "all_squash", or "anonuid", "anongid" ?
I wrote a C++ program that uses serial port in fedora. Since normal user has no permission to read/write to /dev/ttySx, the program doesn't work. if I changed the permissions using chmod in su, it will works for that session. When restarts the permission changed to default again. So what to do a normal user program to access /dev/ttyS0?
it doesn't do anything critically wrong.it shuts down, starts up, suspends, restarts, etc, rather well.only thing is that, altho' I set the settings to never hibernate and to never put the display to sleep, it does. I't's annoying, since I can't whatch a movie in peace, for instance.
I recently got a T-Mobile Tap and I've been trying to connect it via USB to my laptop running Lucid.When I open up the icon that shows up on my desktop after connecting it, I can't run the setup files inside. It says: The file '/media/HUAWEI/checksetup.exe' is not marked as executable. If this was downloaded or copied form an untrusted source, it may be dangerous to run. For more details, read about the executable bit.When I try to change the permissions from ready only, I get: Sorry, could not change the permissions of"checksetup.exe": Error setting permissions: Read-only file systemCan I tried calling T-Mobile but they said they don't troubleshoot with Linux. They said it's an "older operating system".
I've made a really critical and simple mistake and now I am trying to recover my computer. I accidentally logged into root and was trying to change permissions for the current directory with "." but instead used a "/" which started changing permissions of everything from / recursively. I quickly realized the mistake I made after it started and aborted the process by pressing ctrl+C. However I know many things are still not right because, even though I tried to reboot and change the permissions back to 0755 from the recovery mode root console. I still get errors when gnome tries to start..Here is the exact error I am getting. "There is a problem with the configuration server (/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 256". I'm pretty sure because of the way I aborted or because of the time the filesystem was running with 644 permissions, some amount of damage was done. Any way to recover it to normal? Or is there a way to recover it from the Ubuntu CD?
I have an NFS server on Windose Server 2003. I use it to back my Linux/Solaris databases up to. I mounted the NFS share on the Linux box. I was testing the permissions to it, and accidentally did a chown sybase:sybase /OLBackupOLBackup is the root directory of the NFS share. When I did the chown command, it changed the permissions on the share. Now it seems that linux is controlling the permissions. In windose I cant add users/groups. How can I remove Linux from owning the permissions. Im not sure if this is a windose issue or a linux issue, but figured I would start asking here first.
just be aware of this in 13.0 and previous, assigned user numbers begin at 500 by default. in 13.37, they begin at 1000. this is especially important if you have a separate drive or partition mounted as /home and you want to keep your /home data under the same user name while migrating to 13.37 (and like me are keeping a dual boot while making the transition).
I have a recently setup my first linux server (hardy) and am having problems with the permissions for a log file being changed. I believe this is caused by syslogd, but am not sure how to correct it. Bacula will report it is unable to start a backup because it is unable to open the log file (/var/lib/bacula/log) "permission denied". After changing the owner from syslog to bacula, the backup will resume. However, the following day I encounter the same problem because the owner of the log has been changed back to syslog.I see where the permissions for logs are altered in sysklogd, but I am not certain how to make bacula exempt or if this is the right approach.
I did a clean install from Ubuntu 09.04 to 10.04 and restored my files from tar. Everything worked fine until I tried my weekly rsync backup. The permissions seemed to be causing problems, so I recursively changed all the permissions in my home directory:
Code: ~/Documents$ sudo chmod -R 644 /home/wolf/ [sudo] password for wolf: chmod: cannot access '/home/wolf/.gvfs': Permission denied So now all the directories and files have read permission for everyone:
Code: ~/Documents$ ls -A ls: cannot open directory .: Permission denied ~/Documents$ sudo ls -lA [sudo] password for wolf: total 80 drw-r--r-- 2 wolf wolf 4096 2010-05-22 20:45 career drw-r--r-- 23 wolf wolf 4096 2010-05-02 17:17 computer_languages drw-r--r-- 2 wolf wolf 4096 2009-08-09 23:29 .ecryptfs drw-r--r-- 21 wolf wolf 4096 2010-05-02 17:23 misc -rw-r--r-- 1 wolf wolf 27298 2010-05-23 13:01 next.odt drw-r--r-- 3 wolf wolf 4096 2010-05-23 15:46 PC_maintenance drw-r--r-- 5 wolf wolf 4096 2010-05-08 01:43 software_projects Now I can't even look at my own directory:
Code: /home$ cd /home/ /home$ ls -lA total 20 drwx------ 2 root root 16384 2010-05-07 01:01 lost+found drw-r--r-- 42 wolf wolf 4096 2010-05-23 15:35 wolf /home$ cd /home/wolf bash: cd: /home/wolf: Permission denied /home$ sudo cd /home/wolf [sudo] password for wolf: sudo: cd: command not found /home$
I'm using rhythmbox and a classic ipod. A couple of times I have managed to write podcasts to my ipod. I'm not sure how I did it but it doesn't last. I have tried lots of random things from forum posts. When I try to change permissions in nautilus they change back straight away. I have my name as owner and group. I have the Lynx Ubuntu OP.
Something has changed all my file permissions to read only and when I try and change them back it wont let me. Is there something I can do i Nautilus to correct it?
It even effects the waste basket-all the stuff in there is now read only and when I delete items I get a file operations window, which comes and then goes like its deleted them, but they re still in the waste basket, doesnt show an error message like it does if I try and move any other file.
One of our client was complaining that their server was down and mysql and apache services were down. The server is Ubuntu 8.04. When we checked, the permissions of /etc/init.d/mysql and /etc/init.d/apache2 were changed to 644 from 755. How could this be possible?I need your valuable suggestions on how can i monitor whether any malicious intrusions or scripts are running.
I accidentally changed my user permission while setting up a new user account and am now unable to access the "system" on the panel to change things back. I've just spent hours setting everything up and downloading and hope that I don't have to go through all of that again.
the permissions for my home directory were accidentally changed from 'access files' to 'create and delete files', and I changed them back, but ever since then I am not able to change any preferences/settings at all. power management, themes, panels, emerald, anything. my user account is supposed to be the administrator, and all the user privliges are checked. how to get control of my computer back?
I've been using Ubuntu since 2006, and love it! I've even gotten a few others hooked when their Windows machines crapped out due to viruses or other problems. And Ubuntu has only gotten better.Now I'm trying to build a home network around a wireless router (Linksys). I'm set up with a desktop wired to the router, and two laptops regularly connect wirelessly. The wireless router is connected to a cable modem. Everything works fine (except getting the Ubuntu laptop to connect wirelessly using WPA).
What I would like to do is use the desktop as a server, so I can see who is connected at any given time, control security protocol, edit the MAC address list, boot off unwanted users, etc. I can do most of this by connecting to 192.168.1.1, but would prefer something on the desktop. Looking through the Software Center, the only thing I can find is KontrolPack. Anyone use this? Will this give me the functions I want?
So, I use Ubuntu 10.10 on an old Dell laptop as the router for the house. It shares its Vodacom 3G with the rest of us, via the network port of the laptop. This works fine. We can all surf to our hearts' content.I can also VNC into the desktop of the router machine if I ever need to accomplish X, Y or Z on it, which is handy.However, I cannot for the life of me SSH in, or connect to the MySQL server that also lives on that machine. This is a pain.What I want to do is set up a database on a remote server, and then tunnel in via SSH. I'm trying to test that configuration using local machines on my network. My desktop machine happens to be XP, and I'm using Putty to try to initiate the SSH connection, but I keep getting a message saying NETWORK ERROR: CONNECTION REFUSED.
I'm actually preparing a little storage server for implementing using the Bacula suite and as I'm using only wireless connections I've been trying to find useful console applications/methods to manage wireless connections of the two laptops I'm planning to use.(besides NetworkManager cause I need to save as much disk space as I can and NetworkManager has a lot of dependences to install) that could allow me to create and use profiles for different wireless connections when moving through different places?
On my netbook, I'm experimenting with removing any panels or window navigators completely, and using synapse for launching applications. But I've encountered a quite annoying problem, as the only stable solution I've found for connecting to wireless applications is the applet used in the gnome panel. I've tried the Wicd Network Manager, but it keeps disconnecting without reason.
Is there another program for connecting wireless, or maybe a way to use applets without a panel/window navigator?
I am Network Administrator in a Degree College managing around 2500 Comps. My ISP has terminated its Internet link (15 Mbps) to our Linux Server (Installed 2 NIC) from where Internet connection is extended to rest of the machines in network. I am supposed to send different bandwidth to different departments say 5 Mbps to Hostel, 2 Mbps to Staff room etc. I am new to linux and don't know anything about Bandwidth Management in linux.
We are planing to Replace our Windoz Desktops to Linux.So, I am searching for an open source software apart from spacewalk that can install a software or a patch in all the systems that are under my network simultaneously.
i wanted to do bandwidth management/traffic shaping on my Internet link(have two internet connections), but i have some questions to ask: I want to know how could i for example filter some traffics using tc and iptables (e.g Peer-to-Peer,IM,Download Managers,Flash videos..) i can do filtering for known services like http,ssh,... but since these applications doesn't use one port, i am confused a little bit. I also want to do some bandwidth allocations (based on protocol) thats why i need filtering.
The other question is that currently i am using tc for bandwidth allocation and iptables for marking packets to send to these classes, am i doing it right? I mean it does work, but is it better to use for example "U32" filters for filtering? P.S: i tried to use ClearOS in gateway mode, but it doesn't have bandwidth allocation functionality. Does anyone know if i could do bandwidth allocation in ClearOS/Endian.
I just installed Maverick on my netbook (Lenovo S10-2) and am having network issues. I had to plug in to the ethernet port before installing to get extra packages and updates. I was going to get the Broadcom STA wireless driver after it was complete. Installing the OS worked fine and it downloaded everything it needed to. But when I restarted, it didn't recognize when I plugged in the ethernet cable, making getting the wireless driver impossible. I reinstalling twice. Same story.
I tried different cables and none of them worked. Also, I tried to compile the wireless driver myself so I could put it on without having internet.
I have followed the guide posted here: https:[url]....I stuck am at "Under the desktop menu System > Administration > Hardware/Additional Drivers, the STA drivers can be activated for use"I can not navigate to this menu because it does not exist in my build. Is there a way to circumnavigate this?
for quite a while inside of our organization we've been editing /etc/sysconfig/iptables directly without much issues. However it was suggested to us that by doing so we risk losing all those rules whenever some package decides to use lokkit or "system-config-firewal*"Doing a bit of analysis I can't really find any trace of code that would prevent us from maintaining iptables just the way we were (as long as *we* don't use lokkit or system-config-firewall*) since "service iptables save" is a valid technique and uses iptables-save script which is part of iptables package and *not* part of system-config-firewall*
So we've got some evidence that may confirm our usage as valid, however it would be nice to know if indeed this is *not* a recommended way of maintaining iptables and we should reconsider how we approach it.
Whenerver I try to log on to our Windows 2008 R2 server via rdesktop, the window stays at the same small size. I can neither enlarge the window at the borders nor maximize it. Alt+Ctrl+Enter simply gives me the same window-content on the full screen with the rest simply grey.
Is that normal behaviour for rdesktop? Is there an alternative?
Previously had 2 Ubuntu computers setup Computer A (192.168.1.101) <=> Computer B (192.168.1.100) -> Internet Computer B was the gateway, and it is dual boot, one drive Ubuntu, one drive XP. I'm using XP as the gateway now, but Computer A is extremely slow, virtually nothing getting through.
Have checked sysytem logs, verified /etc/hosts file, and all the network side of things. Can ping either IP adddresses from either computer. On the XP side, have modified hosts and lmhosts, and the XP computer has very fast internet connection.
Did have Commodo firewall running on the XP, disabled that, and checked that no Windooze firewall was running. Have restarted the network on both computers a number of times. Can't figure out what the problem is. It's obviously on the XP side, as when I booted to Ubuntu (previously) on Computer B, the gateway worked just fine. Have checked the whole tcp/ip side of things on XP; seems to be okay.