LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-30-2005, 01:44 PM   #1
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 532

Rep: Reputation: 30
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?

Thanks.
 
  


Reply


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 10:23 AM
change file permissions recursivly without changing permission of directories eNTi Linux - Software 8 10-15-2004 03:37 PM
permissions for group files/directories transferred from Netware mweil Linux - Newbie 1 07-01-2004 10:36 PM
file permissions windows directories lfent Linux - General 5 02-17-2004 04:43 PM
How do I change permissions of files/directories? Okashira Linux - Newbie 5 01-12-2004 05:11 PM


All times are GMT -5. The time now is 01:45 PM.

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