Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-16-2012, 10:47 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
Question How to change default file permissions for CIFS (Samba)?


I have a Synology NAS server. When I connect from my Linux PC using SSH and create a file, its permissions are 666, but when I create a file through CIFS (Samba), the permissions are 644. How can I make this 666 by default?

Old 10-16-2012, 11:33 AM   #2
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled

Yes ,You can define the permission for newly created file using ACL


cifs, file permissions, samba, smb

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
What are the steps to change the default permissions of the whole file system linuxFreshMan Linux - General 3 11-21-2009 11:46 AM
File Permissions Masking with Mount.CIFS ThePowerTool Linux - Newbie 4 06-02-2008 07:12 PM
[SOLVED] Need to change file shares to cifs from smbfs New2Linux2 Linux - Networking 1 12-01-2006 08:02 PM
Change default file permissions bmorel Linux - Newbie 4 05-08-2005 08:06 PM
Samba default File Permissions Nelleh Linux - Networking 6 06-06-2002 09:09 AM

All times are GMT -5. The time now is 03:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration