Software :: Setting Permissions For A Program To Open A Port?

Aug 20, 2010

How do I set permision for a prog. to open a port? I need to permit Bitpim to open a port when I run it.

View 14 Replies


ADVERTISEMENT

Fedora :: Gsoap - Limit Or Disable The Ability Of The Program To Open A Port To Start Communicating On FC15

Jul 18, 2011

I'm running Fedora 15, and am trying to run a program that uses gsoap/soapcpp2 2.7.17 to communicate with different parts of the program. As far as I know everything has compiled correctly and I am using the same versions of the required libraries as several working installations. However, every single time the program tries to open a port, the program is unable to do so. This happens no matter what port I specify.

if there is anything in fedora that would limit or disable the ability of the program to open a port to start communicating. I have tried disabling the firewall with no change to the behaviour.

View 1 Replies View Related

Networking :: How To Open A Port - Failed To Open The TCP Port Number In The License

Jun 20, 2009

I am running lmgrd on CentOS5, but it returns Failed to open the TCP port number in the license. The port is 27000, how can I open that port?

View 5 Replies View Related

Server :: If Forward A Port In Iptables, Does The Port Have To Be Open On The Firewall

Aug 5, 2009

If I forward port 80 to port 3128 for squid with an iptable rule, does port 3128 have to be open on the firewall or is this all routed behind the firewall?

View 4 Replies View Related

Server :: Open SMTP Port On Router (which Connects LAN To Internet) Also Needs To Open?

Apr 14, 2010

I have sendmail running on my centOS 4.6. My lamp server also runs on it. I want to send mail through php mail function. when i execute php page, which fires the mail function, it takes so much long tim1 say even 1 minute, and at last displays that message sent successfully. Suppose, destination address is [URL].... I did not get any mail there. My server is running in LAN. I checked the status of sendmail, it shows me that it ios running. when i issue "nmap localhost" it shows me that SMTP port 25 is open, but when i issue "nmap myserver" (192.168.1.20 myserver ( written in hostfile)), it does not show that SMTP port is open.

I checked the /var/log/maillog, one person in my previous post advice me to see that. There it shows that message is accepted for delivery...but i do not get any mail in my destination, even not in spam folder. One more confusion is that, in my case my server is in LAN and if I am at all enable to open the SMTP port on it, does i need to open SMTP port on my router (which connects my LAN to internet) also needs to open? I think no, because SMTP is application layer protocol, it will wrap my mail in IP packet, which router just need to forward. am i right?

View 1 Replies View Related

Software :: Identify The Status Of Serial Port ("Port Already Opened") From A C Program?

Feb 5, 2010

I am writing some application in C, which will access a serial port device (RS232). My application is working good. But if any other application is already opened the port, I couldn't able to identify that. In windows VB program, while accessing comport through mscomm control, i am receiving an error as "Port Already Opened". But in Linux environment, through C program how can i get that? I am accessing comport 1 as follows

fd = open("/dev/ttyS0", O_RDWR | O_NOCTTY | O_SYNC);

View 3 Replies View Related

Programming :: Create A Message Forwarder Program That Receive A Message On Port A And Pass It On T Port B?

Sep 6, 2010

We are trying to create a message forwarder program that receive a message on Port A and pass it on t Port B. Also receive a message from Port C and Pass it on to Port D as follows.

[Code]...

View 4 Replies View Related

CentOS 5 :: Open Port 7001 But It Doesn't Show That Its Open?

Sep 26, 2010

Ok For some reason I open my ports in security and firewall. I open ssh and other ports and port 7001 for example but when I go to check to see if they are open or try to connect to them. It shows that they are still closed. I am using - [URL] Also yes my ports are open on my router. I know my router works fine with opening ports because I have shoutcast setup on another computer with xp that is currently running. I am willing to pay for who can ever get this fixed for me...

I open the ports in graphical mode.

View 15 Replies View Related

General :: Make A Script To Open A Program Then Operate Within That Program?

May 7, 2010

I am new to linux and am trying out script writing. I am using shell. How can I make a script to open a program then operate within that program?

View 5 Replies View Related

Software :: Open Source Dvd - Cd Copy Program - Burning On The Fly Program?

Dec 14, 2009

Is there anything like burning rom from nero or roxio cd/dvd copier. Do you know of any dvd copying program? like without making the image and then burning with just one process just copy the disc sorta program like roxio dvd copier? I wanted to make copies of movies I made a dvd of but aside from image burn which is a hassle to make the image first. is there something for burning on the fly or dvd/cd copying? infrarecorder and cdburnerxp do not work for me at all.

View 3 Replies View Related

Ubuntu :: Setting Up FTP With Permissions?

Dec 29, 2010

I recently got an old computer to use as a server and I have a whole list of things I want to do on it, but I'm having difficulties.When I installed the server, I installed AMP, FTP, Samba, CUPS, and some other items. I made a user account called 'nessdan' which (currently!) is in these groups:

www-data adm dialout cdrom plugdev lpadmin sambashare admin

The www-data group was added because I wanted to FTP my site files into '/var/www/' . Okay, that ended up working out for me. This is where things got sticky. I installed PHPMyAdmin and the files went to '/usr/share/phpmyadmin/' . I wanted to install a new theme so I downloaded it onto my Laptop, then logged in via FTP but couldn't transfer files into there! It turns out the folder was owned by 'root' and was in the group 'root'. The only thing I could come up with was to change that folders permissions so the owner was 'nessdan' and the group 'admin'. I was going to do that to the entire /usr/share/ folder but I didn't know whether or not I should be changing the permissions in the first place.

But the the trend continues! I have my print server setup and working but I wanted the server to hold the Windows drivers, so I went to '/var/lib/samba/' to do some work but noticed that a lot of the files' permissions were locked down to read only and the owner and group were 'root' . I ended up doing a 'chmod 775' and changing the owner and group to 'nessdan' and 'admin', respectively. Well I transfered over the files but now the service nmbd isn't working. The good news is, I expected to mess something up along the way and had already planned on reinstalling Ubuntu Server 10.10. I've only had the server for 4 days now and I knew from the beginning I'd be wiping it clean. I want to know how to set this thing up proper and the biggest problem is getting access into folders so I can FTP into them.When I do wipe my PC clean and start anew, how should I go about the changes that I did before (PHPMyAdmin, Samba Driver Folder)?

View 2 Replies View Related

Ubuntu :: Sporadic With The Openoffice.org Program - Can't Open Any Open Office Programs Without Rebooting Computer

Jan 28, 2011

I'm having sporadic issues with the openoffice.org program. Sometimes, power point presentations will crash the program and then I can't open any open office programs without rebooting the computer. The problem seems to be just with powerpoint files and I'm not sure what the issue could be.

View 7 Replies View Related

General :: Setting Permissions On Unzip?

Apr 2, 2010

I wanted to assign ownership of my choice to my zip file while unzipping so I am using the command:

unzip yourfile.zip|awk -F": " '{print $2}' | xargs chown user.group

I also want to give 705 permissions to all directories and 777 to all files on unzipping?

View 3 Replies View Related

Ubuntu :: Setting Permissions On A Partition

Nov 29, 2010

I have just formatted a partition that had contained a windows OS, it is now formatted to ext4 and is dev/sda1 dev/sda2 contains my Ubuntu OS and all files although the empty partition shows up in Nautilus I cannot write to it as it is owned by root.I have done some research on changing the permissions on this, but am none the wiser!!

Enabling the root account is rarely necessary. Almost everything you need to do as administrator of an Ubuntu system can be done via sudo or gksudo. If you really need a persistent root login, the best alternative is to simulate a root login shell using the following command.I cannot find gksudo and do not know what commands to use in the terminal to achieve my goal. I am in totally unfamiliar territory here, and need some fairly simple explanation and guidance to be able to claim my empty partition so I can read from and write to it.

View 7 Replies View Related

Red Hat / Fedora :: Setting Group Permissions?

Feb 27, 2010

i am trying to finish up a lab in that i have i have some accounts created under groups called "mgmt" and "pl". I am trying to figure out how i can get the guys in "mgmt" to be able to modify files in a directory called "mgmt-final" but the guys in the group "pl" will only be allowed to read those files.

View 5 Replies View Related

General :: Freenas Setting Up Permissions

May 29, 2010

I have set up freenas with 3 1tb hard drives. I have set up the SMB shares for the drives and can view each shared drive from each of the machines on my network. I can copy files from the hard drives, on the freenas but when I try to copy a file to the Freenas hard drives I get a message that I need permission to do this. I have all my shares set as anonymous how do I change the permissions so that I can save files to the drives.

View 1 Replies View Related

General :: Setting Permissions For UGO In One Command?

May 20, 2011

'the command I would use to change the group permission to write and the user and other to read and execute for the file "generate-report"' Sounds simple enough but I cant get it to work at all, tried doing a search in google and on the forums here to no avail. Is it possible to do in one command or will I need two?

Ive tried:

chmod g+w, uo+rx generate-report

And numerous other variants all with no luck.

View 3 Replies View Related

Security :: Setting Permissions On Different Groups?

Nov 26, 2010

We are a school and we share a samba folder with students and teacher groups. What we are trying to do is:

- Give students group users the permissions to rwx own files in folder

- Students must not be able to do anything with others files. I mean nothing so, at most, they could see the files in folder but not read it.

- Teachers can do anything with files in folder

As you can imagine, the idea is that students deliver their exams in that folder without the ability to read/copy the other students files. With sticky bit we can restrict students permissions to their own files, that is ok, but how to restrict all the permissions on other students files without restricting student access to that folder?

View 1 Replies View Related

Red Hat :: Setting Permissions On Usb Ports In CentOS 5.4?

Feb 24, 2010

I am running VirtualBox on CentOS 5.4 & am not able to connect the usb ports to the guest operating systems. When I click on the device menu & usb, the devices I have plugged in show up, but are greyed out. I had this problem on Mandriva when I first started using VirtualBox & had to put my user account in the USB group. My account is in the vboxusers group but there is no USB group on CentOS & I can't figure out how to give myself permission to the USB ports.

View 6 Replies View Related

SUSE / Novell :: Access Usb Port Properties \set Permissions?

Dec 2, 2008

I have a usb port problem. I am trying to set up printers to usb port. When II have setup printer to connect to usb. When I test connection, it prints. Any other part of printer setup, shows up in the Que, but will not test print.Seem that my usb port does not have permissions set up properly. How do I set up permissions and keep them setup?

View 7 Replies View Related

Programming :: Open Or Run A File/program Through A C++ Program

Jan 15, 2010

Ok so Basically i have 2 questions

1. i know how to create a file with c++ using but is there a way to save it to a specific location on your computer with windows and linux

Code:

2. i need to know how to run/execute/open a file in a c++ program im using and its not working

Code:

View 4 Replies View Related

OpenSUSE :: 10.3 - Setting Permissions On Folder / Subfolders

Mar 18, 2010

I'm running OpenSuse 10.3 and I've tried to set permissions on my folder and subfolders from root:root to wwwrun:www. In the shell it shows all folders and files with the correct permissions, but in the GUI it still says root:root and so my web application can't write to it, until I manually set the subfolders permission in the GUI.

View 9 Replies View Related

OpenSUSE :: Setting Permissions On NTFS Partition?

May 3, 2010

I've recently installed an OpenSuse 11.2 in what I'd like to be a definitive jump from windows environment.I'm not very confident yet with my linux skills, so at this moment I've yet have both systems installed with a data NTFS partition to store music, movies, documents, and general data that I'd like to use in any of the two systems. The NTFS partition has no writting permissions for anybody except root user, so I can't work anything from my personal user without starting an app like su or login as root. I want to change this by making a group (windowsWriters) where my usual user is included wich I pretend to make the group owner of NTFS partition.

I've created the group and inserted my user into it, but I'm unable to change the owner group nor any permission on NTFS partition or any of it's subdirectories. I've tried to made it through opening dolphin as su (Alt+F2 kdesu dolphin) and through chmod in consolemode logged as root, in both cases the action seems to work correctly and no error is spotted, however when I look again at the partition/folder/file permissions/ownership no changes have been made.

View 9 Replies View Related

OpenSUSE :: Setting Permissions For All Subfolders In Nautilus?

May 13, 2010

trying to set permissions on all subfolders by right clicking the top folder, permissions, setting the desired values, and then clicking the "Apply permissions to the enclosed files. It takes on the top Folder but not on any of the subfolders or their files.How can I set the permissions for all files and subfolders under a top level folder?

View 9 Replies View Related

Ubuntu Security :: Setting Permissions For Www User Only?

Mar 19, 2010

I wanna make a small web server for local use , I've installed apache, every thing works fine I'm the root

I wanna protect the folder that contain the htdocs files (www), i don't want any users that not in root group to access (not even read)

I changed the permission of the htdocs folder as next

Owner: www (apache user)
per: creat , delete
group: root
per: creat , delete
other: none

it only works on the main folder that i changed its permissions ! not all sub folders and files ! were my steps right ? and are their anyway to change all folders and files at once ?

View 4 Replies View Related

Ubuntu :: Setting Default File Permissions

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

Ubuntu :: Setting Permissions In File Sharing?

Sep 1, 2011

2 computers, Ubuntu 10.04 and Ubuntu 8.04. I have 2 folders named In and Out. Out I have set up on 10.04 for guest use. I am able to transfer files to 8.04 from that folder. Trying to set up In for a specific user to modify files. This requires a login. Both computers have the same user name and both have the same password. I set the file permissions automatically from 10.04 when electing to share In for allowed modiying. When trying to access In using 8.04, a password request window is generated with the user name already showing, and the domain name filled in as "Workgroup". The user name that shows is my login name, by the way.

View 2 Replies View Related

Server :: Setting Up Samba On Ubuntu - Permissions?

May 20, 2010

I'm attempting to set up a Samba share on my lab's small server (Ubuntu Server Edition, 10.04). It looked easy enough, but the share that I set up didn't allow anyone to actually put anything on it: no uploading stuff, etc. (You can still upload files via the command line, so I implemented the unix extensions = no fix). The share is writeable and visible, and anyone can access it (according to the Samba GUI). According to the smb.conf:

[Share]
path = /home/something/Share
writeable = yes
;browseable = yes
guest ok = yes

The other Windows machines in the lab see the new server and its share automatically, although they can't make changes to it, like create a new folder in the share. Most of my lab uses Snow Leopard (OS X 10.6), and a few others use Windows. I can connect to the server using my MacBook either through the terminal or Finder -> Go -> Connect to server -> smb://blah.someplace.edu without problems.

I can do pretty much anything via the command line, but not through the Finder! If I want to create a new folder, it gives me an old-school error message (stupid blue face): "The operation can't be competed because you don't have the necessary permission." If I want to drag-and-drop a file from my desktop to the Share folder, I get a pop-up window (lock + blue face): "Type your password to allow Finder to make changes." If I do, then I get another pop-up: "One or more items can't be copied to "Share" because you don't have permission to read them. Do you want to copy the items you are allowed to read?"

View 3 Replies View Related

Slackware :: Setting Permissions When USB Devices Plugged In

Jan 25, 2010

When I plug in a USB GPS device, using cypress_m8 module, is creates /dev/ttyUSB0 with read/write permissions for owner,root, and group, dialout. My question is really just where are the rules for setting these permissions and how exactly are the owner and group names set when /dev/ttyUSB0 is created, i.e. a serial USB device is plugged in.

View 3 Replies View Related

Debian :: Terminal Command - Setting Permissions For Directory

Jul 15, 2011

I have a directory '/usr/local/games/quake4'. I want permissions for the directory, along with everything in it set to:
Owner: Create and delete files
Group: Access files
Others: Access files
What would I type in terminal to make this happen?

View 14 Replies View Related







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