LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-17-2003, 06:57 PM   #1
Mr2001
LQ Newbie
 
Registered: Sep 2003
Location: Spokane, WA, USA
Posts: 4

Rep: Reputation: 0
Samba roaming profiles - can't delete folders from desktop


I'm using Samba 2.2.5-SuSE as a PDC and I have a roaming profile on the server. My workstation runs Windows 2000. On my roaming desktop I have a folder "working", and inside that folder I have several others for different projects.

I want to delete some of the old project folders, since they're stored in CVS and I don't need a working copy anymore... but if I delete them, they come back next time I log in! It seems that folders I create are copied from my workstation to the server when I log out, but folders I delete aren't removed from the server at the same time.

Now, I can log into the server and just delete the folders from my stored profile, but that's a pain. I'm also the only one here who knows how to do it. How can I make folders I delete stay deleted the next time I log in?
 
Old 09-17-2003, 08:40 PM   #2
antken
Member
 
Registered: Nov 2000
Posts: 368

Rep: Reputation: Disabled
that may be a windows problem

check the event log on the windows system for errors

failing that check all the permissions on the files in question and everything leading up to them ( i.e. check the directory they are in )

make sure you have right access to them
 
Old 09-17-2003, 11:02 PM   #3
Mr2001
LQ Newbie
 
Registered: Sep 2003
Location: Spokane, WA, USA
Posts: 4

Original Poster
Rep: Reputation: 0
Nope, no errors in the event log. I also have write access - I have no problems adding or changing files, just deleting.
 
Old 10-21-2003, 07:16 PM   #4
Mr2001
LQ Newbie
 
Registered: Sep 2003
Location: Spokane, WA, USA
Posts: 4

Original Poster
Rep: Reputation: 0
Update: I changed the roaming profile directory from \\server\username\profile to \\server\profiles\username as suggested by the Samba FAQ, and that solved the problem... for about a week.

My roaming profile hasn't been updated on the server for two weeks. I have write access to the folder, and I don't see any errors at shutdown or in the event log.
 
Old 10-21-2003, 07:38 PM   #5
antken
Member
 
Registered: Nov 2000
Posts: 368

Rep: Reputation: Disabled
hummmmm...


do the same again, change the directory and unc path, and time exactly how long it works for.

if it goes off again in exactly one week, perhaps you have a weekly cron job ( an application set to go off on a weekly basis )

depending on your distro ( be it mandrake, redhat or suse for example ) your system could search for 'world writeable files', basically this means that these files are writeable by anyone, if the program finds them ( depending how its setup ) the program will change the permissions on the files to non world writeable ( normally accessible only by the user and/or group

one way to tell this is to switch directory's like before, then on you linux box do:

ls -lash

in the directory and on files in question. note down the part that says something like: -rwxrwxrwx

these are the permissions on the file. starting on the right : the the last 3 define others access to the file/directory in question, the middle 3 define the groups access to the file, the next 3 define the users access rights to the file. the last one the - in my above example is normally set to d or l depending if its a directory or a link respectively.

r = read
w = write
x = execute ( to run a program )


but any whoo back on track, i think that could be your problem, permissions and a system script.

try that
 
Old 10-21-2003, 07:58 PM   #6
Mr2001
LQ Newbie
 
Registered: Sep 2003
Location: Spokane, WA, USA
Posts: 4

Original Poster
Rep: Reputation: 0
Well, I definitely have write access to the folder. I can open \\server\profiles\username in Windows and add or delete files, the permissions on the directory are drwx------, and it's owned by me and group 'users'.

My distro is SuSE 8.1.
 
Old 01-10-2004, 05:35 AM   #7
netguy2000
Member
 
Registered: Oct 2003
Location: Karachi, PAKISTAN
Distribution: Redhat, Fedora, Open BSD, FreeBSD, SlackWare
Posts: 115

Rep: Reputation: 15
Dear my samba PCD is working fine but i dont want to store user profiles in samba server bcz profiles cover much space in samba server and i have 10 GB drive what i have to do to stop saving profile folder in samba server i want that user profile save in its own local PC not on server.???????????????????????????
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba PDC and roaming profiles Red Squirrel Linux - Networking 1 07-13-2005 08:09 PM
Samba as a PDC+ Roaming Profiles... tarballed Linux - Networking 22 08-12-2004 07:19 AM
samba, roaming profiles help. mehesque Linux - Networking 0 05-03-2004 08:07 PM
Samba roaming profiles absco Linux - Networking 1 08-25-2003 10:44 AM
samba pdc without roaming profiles 2 hsa Linux - General 4 05-13-2003 08:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration