Fedora Hardware :: Setting Correct Default Permissions On /dev/parport*

Jun 23, 2011

I know - who uses parallel ports any more? People like me with an excellent, but old, HP OfficeJetPro 1150C. This is an old problem marked [SOLVED] in the following link to nowhere:

[URL]

I'm at Fedora 13 - 2.6.34.8-68.fc13.i686.PAE

Problem
1. /dev/parport0 is not found by sane unless you reset permissions after each boot
2. hplip udev rules only seem to support usb devices.
3. there are no/dev/parport[0-9] rules in udev/rules.d anymore
4. Did I read something about these ports being handled by HAL ACLs? If so, how do you do it?

default:
ls -laF /dev/parport0
crw-rw---- 1 root lp 99, 0 Jun 23 07:48 /dev/parport0

must do at each boot: sudo chmod 666 /dev/parport0

View 4 Replies


ADVERTISEMENT

Ubuntu Networking :: Samba Setting Permissions Not Correct

Jun 28, 2011

I am experiencing strange difficulties with Samba. The permissions aren't set correctly, when creating a file or a folder on the mounted samba share.

My smb.conf looks as follows:
Code:
[shareOffice]
path = /home/shareOffice
writable = yes
browseable = yes
create mode = 0777
directory mask = 0777
force create mode = 0777
force directory mode = 0777

Now if I create a regular file on the folder:
Code:
touch testFile; ls -l
The permissions turn out to be:
Code:
-rwxr-xrwx 1 simon share 0 2011-06-28 21:42 testFile

Why the w bit on the group is missing? If I play around with the create mode / force create mode, I get every other possible permission output --- except the write access for group members.

View 3 Replies View Related

OpenSUSE Hardware :: Setting Correct Permissions On HAL Mntd Encrypt. Ext HDD?

Jan 10, 2010

I formatted a external 160 GB HDD (Lacie) with EXT3 and encrypted. The formatting went perfect. When I stick it into the USB slot, it is recognized and mounted by HAL. Hal asks me the password and then everything seems ok. But I have no write access. Only root has. I would like to use it to store my user data, externally, but encrypted. How can I set the write permission to make this possible? Why does HAL attribute the write permissions to root, even if I have given the password as user?

Filesystem EXT3
Opensuse 11.1
KDE 3.5

View 9 Replies View Related

Ubuntu :: Samba - Get The Correct Default Permissions When Users Create Directories Through Windows?

Apr 1, 2010

I've got a small issue that when a Windows user creates a new folder through Windows Explorer (from the menu or by right clicking) the new folder is only accessible to that particular user. Example: user SABKAR (member of the HR group) creates a new folder called MarcTestMenu in a shared Samba directory through Windows Explorer:

[Code]....

At this point user MORAMY cannot copy a file or open the directory MarcTestMenu. MORAMY gets a 'not accessible' error message in Windows. If I su to the Samba box and issue this command:

[Code]...

how I can get the correct default permissions when users create directories through Windows?

View 1 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 :: Permissions For Rsync And BackinTime - Setup 2nd HD With Correct Permissions?

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

Fedora :: System Clock - How To Permanently Setting The Correct Time

Jul 21, 2009

I have adjust the clock to my country current time but after a reboot,all the setting is gone. How to permanently setting the correct time?I have select my country region.

View 2 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

Ubuntu :: Reset Apache 2 Permissions To Default Permissions?

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

Fedora Security :: Default File Permissions In /boot?

May 14, 2010

Does anyone know why files in /boot are world-readable (particularly the initial ram disk)? I'm not an expert, but I would not expect anyone except root or a sudoer to have the ability to read these files.

View 5 Replies View Related

Fedora Networking :: Permissions Changed To Default On Restart?

Aug 12, 2010

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?

View 3 Replies View Related

Fedora :: Setting GDM Back To Default?

Jan 20, 2010

I tried changing my Theme via MAC4LIN and it didnt work i get an error messege that shows:

cp: cannot stat `/etc/gdm/gdm.conf': No such file or directory
sed: can't read /etc/gdm/gdm.conf: No such file or directory
sed: can't read /etc/gdm/gdm.conf: No such file or directory

Previous to this i had tried installing KDM but it didnt appear to do anything (as in change any of the display management settings) The guide that i was reading to install MAC4LIN just uses GDM so i decided not to pursue KDM anymore. I Get the following read out:

[Jason@Echo ~]$ yum info gdm
Loaded plugins: presto, refresh-packagekit
Installed Packages
Name : gdm
Arch : i686

[Code].....

The goal is to set all my GDM settings back to normal so i can have that gdm.conf file. Anyone know a way to set the GDM back and repair any damage ive done?

View 2 Replies View Related

Red Hat / Fedora :: Setting The Xscreensaver As Default?

Feb 6, 2010

how to set xscreensaver as default I just enjoy xscreensaver, but I like to have it as default, when f12 start.

View 1 Replies View Related

General :: Run Scp S Copying To Ubuntu System With Correct Permissions?

Feb 4, 2010

I ssh into a ubuntu box with username "ubuntu" and I can become root without entering a password via "sudo su". How can I scp files onto this box using the ubuntu@ username? It does not allow me to do so using root@. The error is:scp: /etc/: Permission denied.

View 2 Replies View Related

OpenSUSE Hardware :: USB Flash Drives Not Mounted With Correct Permissions

Feb 11, 2011

had trouble writing to a flash drive. checked the permissions, the correct user it there, but the id is root.when logged in as root and attempt to change permissions i get Could not modify the ownership of file /media/disk-3. You have insufficient access to the file to perform the change.

now how as root can not have enough permission? i've been up and down the forums and google to no avail. poked around in the fstab and even mtab as there are two files, one a lock, that seems to come from mtab.

View 9 Replies View Related

Fedora :: Can Computer Be Hacked When The Firewall Is In The Default Setting

Apr 5, 2011

Am I safe when surfing the web with default Firewall setting? Can My Computer be hacked when the firewall is in the default setting? I have no knowledge on configuring Firewalls

View 11 Replies View Related

Fedora :: Setting Default Browser From Terminal Command?

Jul 23, 2011

Anybody know the names for the config for trying to set the default browser in Fedora KDE (from Konqueror to Opera ) ...

Code:

update-alternatives --config (name)

this may be for debian distros only ?

[URL]

i.e what are the group names ?

View 6 Replies View Related

Ubuntu Installation :: Adjust The Default Setting Via /etc/default/grub?

May 29, 2010

I have already had Vista installed on another drive and from what i've read on the webs you get to dualboot if you install ubuntu after vista. when i did install it (i installed on a blank hdd with no partitions, choosing the "erase entire disk" option since for some reason default option was attempting to eat a part of my windows 1 gb drive instead of using disk i specially made for it) and the grub 2 loaded for the first time, there was NO option to run vista. only 2 linux (normal and recovery) and 2 memtests. I've ran linux and went to google this. I found that i should add something to some config files in /etc/grub.d/From reading the readme file i understood i could add my own files that are named like NUMBER_SOMENAME and insert code into them. Because it said:Quote: For example, you can add an entry to boot another OS as01_otheros, 11_otheros, etc, depending on the position you want it to occupy inthe menu; and then adjust the default setting via /etc/default/grub. But then i found a file 40_custom that said:

Code:
#!/bin/sh
exec tail -n +3 $0

[code]....

View 9 Replies View Related

Ubuntu Installation :: Setting Not Correct In MythTV?

Jun 11, 2010

I'm slowly figuring out Mythbuntu. How cool it is! I continue to have this problem...Some channels have trouble locking initially. Some even hang while viewing. Using exactly the same antenna and cabling, my Samsung DTB-H260F has no such issue. All channels are rock solid. Is there some setting not correct in MythTV? Do I need to invest in a better tuner?

View 2 Replies View Related

Ubuntu :: Setting The Correct Time Server?

Sep 13, 2010

I live in India and my computer's time is always a minute ahead. I have selected the option to keep it synchronized with internet time servers but as there does not appear to be a time server for ubuntu in India I am not sure what to do. As of now I tried selecting foreign server but can't see anything happen.

View 1 Replies View Related

Software :: Setting Which Is Not Correct In Cacti Or Apache ?

May 25, 2010

I have apache and Cacti rpms installed and I see this error in the Apache log when accessing various menu items in cacti with this error:-

Does any one know where the setting is stored Rpms installed :-

Where to look for the configuration file which contains the incorrect setting /usr/share/cacti/cacti I suspect it should read /usr/share/cacti

View 2 Replies View Related

Fedora :: Setting Default Sound Device For Firefox / Flash Plugin

Oct 20, 2009

Using an external SoundBlaster USB... set as default in Fedora 11's new sound device manager ( neat btw )...works great... except no sound in Firefox / Flash Player.

View 3 Replies View Related

Debian Installation :: Can't Set Screen Resolution / Get Correct Setting To Stick?

Feb 21, 2011

I installed Squeeze with LXDE on my old 600MHz Celeron, 256MB ram computer. But, every time I boot, the screen resolution is wrong. I can set it right with a few clicks of the mouse, but next time I boot up it has reverted to the wrong setting. I found that this problem has been reported on the LXDE forum, but the official response seems to be that it is not their problem.

How do I get the correct setting to stick?

View 7 Replies View Related

Debian Multimedia :: Setting Correct Screen Resolution With Squeeze

Jun 18, 2011

I just set up my dad's pc with Debian Sqeeze. It runs perfectly fine and after trying a lot of distro's Debian is the only one that will not crash or freeze up X. Now we're forced to using my own 17" monitor instead of his 19" wide screen since the max res is 1280 x 1024 in Sqeeze. What he needs is 1360 x 768. I found out in the wiki that xorg.conf needs to be edited. Since the file does not exist it needs to be created by running "Xorg -configure" in tty after stopping GDM. when running the "Xorg -configure" command this is the output;

" vmware: Please ignore above "FATAL: Module vmwgfx bot found."
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Number of created screens does not match number of detected devices.
Configuration failed. "

It's an Intel Sandy Bridge integrated graphics chip. I've tried running "Xorg:1 -configure" as mentioned in a forum but that simply gives me a "unknown command" answer.

View 3 Replies View Related

Ubuntu Networking :: Can't Navigate .conf And Default Route Are Correct?

May 24, 2010

I ask your help to diagnose a problem. For business reasons I use a broadband internet connection via a mobile phone's connected via bluetooth [rfcomm]. Speed is not the maximum but it is more than sufficient for my work. For configuration of ppp I followed this guide Pon pulls up dialup, but I can't navigate also if resolv.conf and default route are correct. In addition I would like to use the NetworkManager that by default, does not see the device. I worked around the problem this way:

I modified the / etc / rc.local so that launch at boot time: # Rfcomm bind yes

After starting Lucid Lynx, bluetooth connects to the phone but NetworkManager does not see the modem.
When I run the connection manually, by: # Pon BluetoothDialup

NetworkManager sees the device, but can not use it because obviously it is locked by the ppp daemon.
So I close the connection with: # poff

Now NetworkManager sees the broadband modem via / dev/rfcomm0, dialup is performed properly. I can finally surf and just enable vpn with NetworkManager. all start automatically at boot, without the need to manually connect and disconnects the dialup to use, finally, the NetworkManager.

View 1 Replies View Related

Software :: Configuration Default For GNOME Power Manager Not Correct

Oct 26, 2010

After trying to backup my hard drive on my HP Mini 210-1054TU notebook PC, On start up the users menu comes up (A little changed) and when I sign in it comes back with a window flag that say: The configuration defaults for GNOME power manager have not been installed correctly.I can booth with a stick and see my files and directory but, I am not allowed to open any. There is no access to a terminal or anything but, the users menu. It appears to take the password as, if not right, it would say so but, only comes back with same menu and window flag.Ironic, I was trying to backup my files so I would not lose them.

View 1 Replies View Related

Ubuntu :: Stop The Loading Of The Parport And Lp Modules?

May 21, 2011

I am running 11.04 and would like to stop the loading of the parport and lp modules. I put entries in the /etc/modprobe.d/blacklist.conf file and ran update-initramfs -u. After a reboot lsmod shows both modules as being loaded.

View 4 Replies View Related

Programming :: How To Create Virtual Driver For Parport?

May 20, 2010

How can I create virtual driver for parport?My notebook doesn't have LPT and I would like to write virtual driver for LPT (USB to LPT).I wrote driver for USB to microcontroller.I don't know how can I register "static const struct parport_operations" or function like this?static void write_parport(/*data*/){/* send data to USB */

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

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







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