Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-30-2005, 02:44 PM   #1
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 550

Rep: Reputation: 32
file permissions not being remembered for SAMBA printer files/directories

Hi fellow Linux users.

I have a server that is running Mandrake MNF operating system. Kernel 2.4.18-8 and I think Samba 2.2.3a, old I know. I will be upgrading my kernel to the latest 2.4 soon.

Anyhow, I have a Lexmark network printer connected via TCP/IP Ethernet. The server uses lprng to print to it. The users, who allhave Windows, use Samba to connect to it via a share driver: \\SERVER\lp.

The problem is that the permissions for the file "/etc/printcap" and directory "/var/spool/lp" keep resetting themselves so that only root can read/write to them. This prevents the Windows users from even being able to connect at all as obviously, the users are not connecting as root. Even the server itself cannot use the printer until I reset the printcap permissions and the spool directory permissions.

-rw------- /etc/printcap
drwx------ /var/spool/samba/lp

They not only seem to reset after a reboot but also after a specific amount of time has passed.

Any ideas?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
set file permissions for 100 directories & its files cevjr Linux - Security 6 01-06-2005 11:23 AM
change file permissions recursivly without changing permission of directories eNTi Linux - Software 8 10-15-2004 04:37 PM
permissions for group files/directories transferred from Netware mweil Linux - Newbie 1 07-01-2004 11:36 PM
file permissions windows directories lfent Linux - General 5 02-17-2004 05:43 PM
How do I change permissions of files/directories? Okashira Linux - Newbie 5 01-12-2004 06:11 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration