openSUSE Forums > Network/Internet » windows mount permissions

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-Aug-2008, 17:59
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 1
gaucho1234 hasn't been rated much yet
Default windows mount permissions

Hi !

Im having some troubles with write permissions on a mounted windows share using this shell command:

mount -t cifs -w //server/share /home/user/test -o username=user,password=pass

All current files in the share have -rwxrwxr-- permissions by default, but when I create a new file it is created with -rw-r--r--
How can I create files with -rwxrwxr-- ?

thanks !
Reply With Quote
  #2 (permalink)  
Old 27-Aug-2008, 02:14
Explorer Penguin
 
Join Date: Jul 2008
Location: Voorhout, Netherlands
Posts: 231
LittleRedRooster is on a distinguished reputation roadLittleRedRooster is on a distinguished reputation road
Default Re: windows mount permissions

gaucho1234 wrote:
> Hi !
>
> Im having some troubles with write permissions on a mounted windows
> share using this shell command:
>
> mount -t cifs -w //server/share /home/user/test -o
> username=user,password=pass
>
> All current files in the share have -rwxrwxr-- permissions by default,
> but when I create a new file it is created with -rw-r--r--
> How can I create files with -rwxrwxr-- ?


You can on a Samba, Linux fs type of share I think, but not on a Windows
NTFS/FAT share.
Windows just doesn't have a clue about Unix permissions.
Reply With Quote
Reply

Bookmarks


Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2