I was so sure it must be easy to set up the file permissions like I want, but obviously it isn't. Here is what I want to have: I have a samba fileserver (only Windows clients connecting) with a common share. Everybody is supposed to be able to put files on the share, but no one should be able to delete files which do not belong to oneself. I want several users to put files in a common directory, so they need write access to the directory, right?
But all the same they should not be able to delete files from others. So they are not allowed to have write access to the directory, right? It all works fine with modifying etc. but still I can delete files I am not supposed to do. I learned already that permission to delete is bound to the permissions of the containing folder and that sticky bits might help. But either they don't or I didn't get it right until now.
Essentially, what I am attempting to do is set up an older PC with a Radeon 9600 video card chipset in it with xubuntu 9.10. I would like to attach this PC to my rear projection tv (Sony KP-48S75) via an S-video cable and use this TV as the primary and only monitor for the system. At one point, I had Ubuntu 8.04 hacked onto this same hardware fulfilling this role decently. However, due to some carelessness on my part, the system became unstable and I decided to start anew (random crashes, lots of X freezes, dependency issues, screwing too much with my sources.list and so on). So, that said, I installed Xubuntu 9.10 on the PC and had it hooked up to both an LCD monitor and the TV via S-video. Upon boot, both outputs worked, though X only rendered on the LCD and not the TV. Thus, I dug and researched and found that by putting a bunch of xrandr commands into my gdm start script I could finagle the TV into displaying my output, mostly.
The commands I used to get the S-video out work (and, therefore, pasted into my /etc/gdm/Init/Default script) follow: Code: xrandr --output S-video --set load_detection 1 xrandr --output S-video --set tv_standard ntsc xrandr --output S-video --set tv_horizontal_position -2 xrandr --addmode S-video 800x600 xrandr --output S-video --mode 800x600 xrandr --output S-video --rate 60 xrandr --output VGA-0 --off
You'll notice I do a few things in those commands. First, I set load_detection to 1 in hopes of enabling automatic S-video connection detection (this isn't working). The next interesting bit is my commanding the horizontal position. The reason I had to do this is, because, upon getting the S-video output to render, the picture rendered to the right-hand side of the screen, deprecating the furthermost bits (for instance, I cannot see the shutdown icon in the upper right hand corner). Setting the horizontal position to -2 allowed me to shift the display to the left a bit, but, to my surprise, the right hand side still deprecates and I am just left with a black column on the right hand side.
Question 2 has to do with the screen indexing. If I run a xrandr command with no options, I see VGA-0 indexed as Screen 0. I also see the S-video listed as disabled (even though I see it rendering on the TV right in front of me). Finally, I notice that, under the VGA-0 section, there is a screen size listed, as well as several resolution modes with many parameters following them (like 800x600 72.2*+ 75.0 .... some other stuff). However, under the S-video section all I see is one mode with one small bit after it (800x600 72.2*). This smacks of suspicion to me and makes me think it might be related to the right side of my screen being deprecated. My wager is that I need to tweak some modelines in the S-video output so that it is more in sync.
However, I do not know the syntax for modeline editing and, since the S-video screen isn't even detected, I am not sure I really can edit these options. Does anyone know why my S-video output would continue to be listed as disabled even when its running? Furthermore, can anyone tell me why no screen index is given to the S-video output (I only see screen 0 attached to VGA-0, no screen 1 for S-video)? I think I need the screen indexed properly in order to use the xvattr command later in order to allow xv overlays to function on the proper screen. Finally, I do have a xorg.conf file loaded in /etc/X11 that is mostly hacked together stuff I used trying to get this to work in the first place. Would this conflict with the xrandr setup? Which options override which?
Ralink's drivers for wireless adapters [url] with .dat-file to configure default properties of used WiFi adapter (at my case - RT2870.dat).
Example is below.
I'd want to fine tune adapters (I have two of them) to get maximum performance for streams between two WiFi clients connected to my router (JWNR2000 at my case).
At the moment I have changed WirelessMode=6 to force 802.11n mode (and it does work). Speed between WiFi-clients is about 3MB/s now. I want more How to?
How to speed up the menu "fade" (or get rid of it all together) in desktop effects? I need a composite manager for docky but the slower response on menus annoys me as they have to fade in and out. Anyone know which key in apps -> compiz I should change? Is it one of the plugins or one of the general keys?
As an owner of the HP Touchsmart TM2T 2100 CTO I had to search on the internet to fine tune Ubuntu Netbook Remix, like auto-rotate.I am a Linux noob.Is there an expert who can develop an installation script to get the fine-tuning done by executing that script?I am thinking about installing auto-rotate, maybe fixing the ATI-card, multitouch,I know multitouch works out of the box, but I red some drivers can be updated to get the latest gestures and so on.
As Linux user who is not familiar knowing what he really is doing, such a script can be handy. It also helps new TM2T owners to work fast with the best OS there is: Ubuntu!
I have installed ubuntu 9.10 server with LAMP and SAMBA I have also added FMS (Flash Media Server). LAMP and SAMBA are running fine but FMS doesn't have all its functionality, it cant stream rttp.I have read that their may be a port/ip conflict between apache and fms but was wondering if anyone else had the same issues as me. I have also installed FMS with apache2 on my XP laptop to get the httpd.conf file and see how its set up, here it is.FMS / APACHE2 XP
Code: # # This is the main Apache server configuration file. It contains the
I'm running a linux cloud server with the following config 1.2ghz Processor allocation 752MB Ram
The site loads slow and clicking a link almost freezes the page for a second. Also, the page loads could be much faster. We've been running mysqltuner and have pretty much optimized all slow queries. Is there anything we can do to fine tune the server for faster and more responsive?
I wish to prevent the samba messages (mainly nmbd and winbindd) from appearing in the system log (/var/log/messages). I want to allow samba logging to the standard samba logfiles, but prevent the syslog getting clogged up by samba. I added syslog = 0 to smb.conf and reloaded the config but the messages were still appearing. I also tried the following (and restarted the syslog via /sbin/service syslog restart) # Suppress messages from samba.
For interests sake the messages I'm getting are below (I'm not concerned about the messages themselves, I can chase them up at my leisure via the samba logs) Mar 18 09:58:29 SERVER nmbd[3808]: query_name_response: Multiple (2) responses received for a query on subnet xx.yy.z.zz for name DOMAIN<1d>. Mar 18 09:58:29 SERVER nmbd[3808]: This response was from IP xx.yy.z.zz, reporting an IP address of xx.yy.z.zz.
I have a home server running Ubuntu Server 10.10, it is running Samba for file sharing with a mix of Windows and Linux boxes in my house. My main problem is that the server is only accessible by IP or by using hostname.local, but it is not possible to connect to it by just typing the hostname. Further more, it is not being automatically discovered and listed by Windows or Linux clients.
What's really odd is that I also have an Ubuntu Desktop 10.10 install on a separate computer, and that computer is accessible using just the hostname and is automatically being discovered and listed by other computers.
What is missing on the server? What is responsible for resolving just hostname, avahi seems to only deal with hostname.local and that is working fine. I also compared the samba config of the desktop and server Ubuntu installs but wasn't able to find any setting that would be influencing this. Is there some package I'm missing on the server?
I am trying to set up cherokee on my vps that I have bought. Now I am able to get it installed and even was able to get to the to the cherokee admin manager so everything seems to be working fine even was able to start the server. What I am having issues with is the main page instead of getting the cherokee greeting page I get IT Works!
have set up a server with OS on a 250GB disk (sdd) and 3x 1.5TB drives for a RAID5 storage setup (sda, sdb and sdc).Using webmin I can delete and create a primary partition in each one. But while I can also format sda and sdc, it refuses to do sdb for some reason:Executing command mkfs -t ext4 /dev/sdb1 ; partprobe ..mke2fs 1.41.11 (14-Mar-2010) /dev/sdb1 is apparently in use by the system; will not make a filesystem here!
But I'm not using it simon@ubuntu:~$ lsof | grep /dev/sdb simon@ubuntu:~$ lsof | grep /dev/sdb1
I have written a simple backup script, and added it to CronTab, but it doesnt execute at all. Here is my script: [URL]...And my CronTab entry: 0 */2 * * * root /home/server/Scripts/backup.sh
this is my output when I try to compile samba 4.0.0 alpha 7 in Ubuntu using the spec file provided in the samba packages:
bin/mergedobj/samba-util.o: In function `file_lines_parse': (.text+0x595c): undefined reference to `_talloc_steal' bin/mergedobj/samba-util.o: In function `data_blob_talloc_named':[code]....
Recently setup Ubuntu Server 10.10 on an old Dell Poweredge 2650. It seemed to be working perfectly until I did my first reboot. I tried changing the 'root' reference on the linux line at the grub menu with no luck. I suspect the problem is something else but I have no clue.
So far the behavior seems completely consistent. If I physically power the machine down and start it back up everything works perfectly. However, if I do a sudo reboot now I'll end up at the initramfs prompt. I'm not comfortable setting up my dev environment on this box until I'm sure it will be stable. In case it matters the machine is running a single scsi drive and doesn't have a raid controller.
I've spent days trying to setup access properly from a public address to a monitoring server that works fine locally. Everything works from public access until I try to link to a CVS repository. The rancid CVS repository is set up as a separate server (virtualhost). It appears the referring link causes a DNS error (105: Server Not Found) when the CVS repository server is accessed from the public address. Things work fine when accessing via localhost.
Localhost link:
[URL]
Public link: (this results in 105 error caused by redirection (bold portion of link))
I have a Asus 54G43-Pro mobo with Intel GMA G43 video chip on it. It works fine in Ubuntu and using the same display with the same settings, under Maverick in comparison with Lucid, the video is a little more sharp and with more contrast. I have dual boot with Windows and in Windows it is even less sharp and contrast.
In Windows I can tune the sharpness, contrast, etc but I was not able to find a simlar features in Ubuntu. I have checked the Synaptic and even installed some Intel GMA files but I still have no access on tuning the video driver. Is this possible in Ubuntu and possible to be hidden somewhere or I can just forget about it?
I'm not to sure this is the place I should post this, but couldn't find any place for it to fit. So here is the deal..I am running 10.10 with the standard LAMP setup. I am running a drupal 7 site no problems. What I need to do is run a multi site sub directory. (domain.com/newsite). So far the best I can do is get a directory index of the second site (domain.com/newsite), but cant run the installer. (I did the symbolic link to the doc root of the drupal install.)If I type in the url domain.com/newsite/install.php I get not found. I placed an index.html test page and it renders fine. I think I'm close but just not there yet.
Any ideas from anyone? I can get Sobdomains to work fine on a test mache, but sadly I need the domain/site to work due to lack of DNS support at the moment. I tried to get some info from the drupal forum, but everything always points to subdomin setups. I also posted over there, but it seems like the forums have very little support and are a bit on the slow side.
we having more than 5000 users and will have 7 squid proxy servers with high end configuration upto 4gb ram n 320*5 HD in rhel4&5 most of them complaining that at peak hours their browsing speed is slow but we are having 1gbpgs link at peak hours i.e when established connections r flowing more than 550 browsing gets slow how to do fine tuning are squid is only responsible to access upto 600 connections
i need to get gedit to highlight lisp source code as well as provide auto indentation.(because as you may know , lisp programming without auto indentation is IMPOSSIBLE) now so far i've searched the web and tried some "solutions" but didn't work so far , for instance this post here promises syntax highlighting but suggesting to install 2 files , unfortunately it seems to do nothing.
I am using Ubuntu-10.4 and postgresql-8.4.Now I have to change my SHMMAX variable for performance tuning.I have 16 GB.change it permanently and what is the suitable value for the DATABASE Server.
I've been trying to set-up/tweek these param's in Apache to a setting suitable to the server for the amount of memory. When i look around some people say, hey.. just look at the memory used per process and then divide that by the amount of memory available and you get the number of processes that can be handled by Apache in one go before it starts swapping.
Well, for this i'd done this calculation and for me it turned out to be 200 approx concurrent connections. Well funny thing is, out MySQL server had a slow down so the Apache servers were running at approx 450 concurrent connections and weren't swapping in memory etc (still had 600MB free not including what was available in Buffers/Cache - 'free -m')... Thus if i had have set the limits to 200 then people would have been not getting to the site, so i'm kind of pleased that i happened to not have the time to set this yet.
My intention is to have EngineX on the frontend handling all static files, and Apache + mod_php in charge of handling PHP requests. I have optimized nginx to be as efficient as possible in handling static files, but have very little experience with Apache. Since Apache would only be processing PHP requests, would the standard Apache optimization guides suffice or would it best to configure it differently?
PS: this is a dedicated file server, the database is hosted separately.
I've just installed Fedora 13 and I have a question. How do I tune my tablet? I've tried to set threshold and aspect in xorg.conf just like in Fedora 11, but it doesn't work in the current release.
Here's a part of my xorg.conf:
I also tried 'xsetwacom' command, but I get errors.
I have an enormous quadcore machine with 16gb ram and dual gigabit NICs. It used to be for MySQL but we have upgraded the whole database infrastructure so now this server is left floating. I had the great idea of turning this into a reverse-proxy (using apache mod_proxy) and it really handles a ton of requests. But I have a feeling that we are not getting the most use out of what it can offer.
Our traffic consists of a few thousand very small (less than 10 byte) ajax calls per second, and frequently I find we are running out of kernel allocated network stack to handle all the requests. Often we get the kern.log warning "possible SYN flooding on port 80. Sending cookies." and other things like this. Obviously we are not getting SYN flooded, we just have very high demand.
So far I have found a few kernel tuning guides to tell the kernel to allocate more of the base system memory for networking but every guide I have found has been for the purpose of increasing the performance between WAN links (direct backbones between offices etc) and usually with very large file sizes being the priority. One such example (and great) write up is here:
cyberciti.biz/faq/linux-tcp-tuning/
I was hoping some people could provide further input, such as along the lines of disabling nf_conntrack (to speed up socket set up/tear down time) or anything that will speed up a high throughput proxy like mine. Any links to studies or benchmarks between different configurations or hardware gets extra points!
I recently got myself a new hard drive and I want to use it as my Samba share. I just want the hard drive itself to store the files.I know once I get it set up it should be easy to tell Samba that's where I want it to store and look for files.Problem is I need to make it so the computer can use the hard drive first. I have already installed the drive. I just don't know how to get Ubuntu to recognize the drive.I also need to create a partition that uses the whole drive and format it to ext3, then I need to mount it somewhere for Samba to use.This would be easy to do with Ubuntu desktop, but I am using Ubuntu server and I don't know how to do it. I have read that I will need to use fdisk, but the post wasn't to clear on what to do.
this is my first post ever, so sorry if i'm not very descriptive. I just installed Ubuntu Server 9.10 x86 and I cannot use the net command that comes with Samba