Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd December 2009, 03:12 PM
pfanwick Offline
Registered User
 
Join Date: Apr 2006
Posts: 23
linuxfedorafirefox
cifs file permissions

I have two Fedora computers. One is running 11 and one is newly upgraded to 12. I have a simple fstab line to mount a file with type cifs and no other options except for username and password. When mounted on the Fedora 11 computer the directories have permission drwxrwxrwx and the files have permissions -rwxrwxSrwx. In Fedora 12 the perrmissions are drwxr-xr-x and files are -rwxr-xr-x. I can change these by putting file_mode and dir_mode in fstab. However, the files do not pick up the S attribute. The files are all on a computer running Windows XP. If I mount it to a different mount point using the mount command without fstab I get the same result.

While things work fine in the terminal not all is well. The problem is that I am running a program that checks to see if a file is a directory. In Fedora 11 everything works fine. However, in 12 the program does not see the directories as directory files.

Several questions.

1. Why did the file permissions change? They worked fine on the upgraded computer when it ran Fedora 11.

2. How do I make programs see the cifs directories correctly?

3. Is this a problem in Fedora or in Windows? If so how do I change Windows?

Any help will be greatly appreciated.

---------- Post added at 10:12 AM CST ---------- Previous post was at 09:35 AM CST ----------

I just ran an interesting test. I went to the directory on the Windows computer and created a small python program with xemacs. The program appeared in the directory and ran when I issued python. However, when I went to modify it with xemacs it stated the file did not exist and created a new file. However, emacs was able to open and edit the file.

There appears to be some strange things happening with cifs.
Reply With Quote
Reply

Tags
cifs, file, permissions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Annoyance with plain text files pam_mount/cifs/permissions - longer than it seems PedroLeite Using Fedora 0 11th November 2009 03:42 PM
Strange Permissions on a CIFS mount herr.schnegg Using Fedora 4 11th May 2008 08:08 AM
Permissions problem with cifs t3hl33td4rg0n Using Fedora 1 16th April 2006 02:30 AM
cifs permissions problem t3hl33td4rg0n Hardware & Laptops 0 11th April 2006 05:20 AM
Setting up a SOHO file/printer server & file permissions byw Servers & Networking 3 23rd August 2004 06:53 PM


Current GMT-time: 05:05 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat